summaryrefslogtreecommitdiff
path: root/nixos/packages-gaming.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/packages-gaming.nix')
-rw-r--r--nixos/packages-gaming.nix23
1 files changed, 21 insertions, 2 deletions
diff --git a/nixos/packages-gaming.nix b/nixos/packages-gaming.nix
index 67b9ec3..00cb59e 100644
--- a/nixos/packages-gaming.nix
+++ b/nixos/packages-gaming.nix
@@ -2,7 +2,14 @@
inputs,
pkgs,
...
-}: {
+}: let
+ packetTracer = pkgs.cisco-packet-tracer_8.override {
+ packetTracerSource = pkgs.fetchurl {
+ url = "https://archive.org/download/cisco-packet-tracer-822-amd-64-signed_202405/CiscoPacketTracer822_amd64_signed.deb";
+ hash = "sha256-bNK4iR35LSyti2/cR0gPwIneCFxPP+leuA1UUKKn9y0=";
+ };
+ };
+in {
hardware.graphics = {
enable = true;
enable32Bit = true;
@@ -18,12 +25,24 @@
zulu8
zulu17
zulu21
- zulu25
+ zulu25
];
additionalPrograms = [ ffmpeg ];
})
+ packetTracer
];
+ programs.firejail = {
+ enable = true;
+ wrappedBinaries.packettracer8 = {
+ executable = "${packetTracer}/bin/packettracer8";
+ extraArgs = [
+ "--noprofile"
+ "--net=none"
+ ];
+ };
+ };
+
programs.steam = {
enable = true;
gamescopeSession.enable = true;