Compare commits

..

2 Commits

Author SHA1 Message Date
Lennart J. Kurzweg (Nx2)
37eb70db63 Merge branch 'master' of ssh://ssh.nx2.site:20022/nx2/dotfiles 2024-11-14 01:21:42 +01:00
Lennart J. Kurzweg (Nx2)
77e9aa4ddd games 2024-11-14 01:21:34 +01:00
3 changed files with 29 additions and 5 deletions

View File

@@ -6,6 +6,7 @@
./system-modules/auto-mount.nix ./system-modules/auto-mount.nix
./system-modules/hardware-configuration.nix ./system-modules/hardware-configuration.nix
./system-modules/fuse.nix ./system-modules/fuse.nix
./system-modules/games.nix
./system-modules/nvidia.nix ./system-modules/nvidia.nix
./system-modules/users.nix ./system-modules/users.nix
./system-modules/sound.nix ./system-modules/sound.nix

View File

@@ -1,7 +1,18 @@
{ pkgs, lib, host, ... }: { pkgs-unstable, lib, host, ... }:
lib.mkIf (host != "NxACE") lib.mkIf (host == "NxNORTH")
{ {
home.packages = with pkgs; [ home = {
packages = with pkgs-unstable; [
protonup
mangohud
heroic
mindustry-wayland mindustry-wayland
]; ];
sessionVariables = {
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "\${HOME}/.steam/root/compatibilitytools.d";
};
};
} }

12
system-modules/games.nix Normal file
View File

@@ -0,0 +1,12 @@
{ lib, host, ... }:
lib.mkIf (host == "NxNORTH")
{
programs = {
gamemode = {
enable = true;
};
gamescope = {
enable = true;
};
};
}