blob: 00cb59ebf258c239f14e977e5f71f932b5898f5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
{
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;
};
environment.systemPackages = with pkgs; [
inputs.nix-gaming.packages.${pkgs.stdenv.hostPlatform.system}.osu-lazer-bin
gamescope
pulseaudio
inputs.serpantinum.packages.${pkgs.stdenv.hostPlatform.system}.default
(prismlauncher.override {
jdks = [
zulu8
zulu17
zulu21
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;
extraCompatPackages = with pkgs; [
proton-ge-bin
];
};
}
|