diff --git a/configuration.nix b/configuration.nix index e6d7a09..76df818 100755 --- a/configuration.nix +++ b/configuration.nix @@ -6,6 +6,7 @@ ./system-modules/auto-mount.nix ./system-modules/hardware-configuration.nix ./system-modules/fuse.nix + ./system-modules/games.nix ./system-modules/nvidia.nix ./system-modules/users.nix ./system-modules/sound.nix diff --git a/home-modules/games.nix b/home-modules/games.nix index 5569d77..ac87b19 100755 --- a/home-modules/games.nix +++ b/home-modules/games.nix @@ -1,7 +1,18 @@ -{ pkgs, lib, host, ... }: -lib.mkIf (host != "NxACE") +{ pkgs-unstable, lib, host, ... }: +lib.mkIf (host == "NxNORTH") { - home.packages = with pkgs; [ - mindustry-wayland - ]; + home = { + packages = with pkgs-unstable; [ + protonup + mangohud + + heroic + + mindustry-wayland + ]; + sessionVariables = { + STEAM_EXTRA_COMPAT_TOOLS_PATHS = "\${HOME}/.steam/root/compatibilitytools.d"; + }; + }; } + diff --git a/system-modules/games.nix b/system-modules/games.nix new file mode 100644 index 0000000..78ec3ed --- /dev/null +++ b/system-modules/games.nix @@ -0,0 +1,12 @@ +{ lib, host, ... }: +lib.mkIf (host == "NxNORTH") +{ + programs = { + gamemode = { + enable = true; + }; + gamescope = { + enable = true; + }; + }; +}