diff --git a/nixos/hosts/usconfig/configuration.nix b/nixos/hosts/usconfig/configuration.nix index e5c6a35..13e5cd2 100644 --- a/nixos/hosts/usconfig/configuration.nix +++ b/nixos/hosts/usconfig/configuration.nix @@ -9,9 +9,7 @@ ./pockets.nix ./hardware-configuration.nix ./models/bluetooth.nix - #./services/thingsboard.nix - #./services/node-red.nix - #./services/postgresql.nix + ./models/gamemode.nix ]; #home.packages = [ pkgs.callPackage ./pockets/thingsboard.nix {} ]; diff --git a/nixos/hosts/usconfig/models/gamemode.nix b/nixos/hosts/usconfig/models/gamemode.nix new file mode 100644 index 0000000..2659602 --- /dev/null +++ b/nixos/hosts/usconfig/models/gamemode.nix @@ -0,0 +1,17 @@ +{pkgs, ...}: { + programs.steam.enable = true; + programs.steam.gamescopeSession.enable = true; + programs.gamemode.enable = true; + + environment.systemPackages = with pkgs; [ + mangohud + protonup + bottles + heroic + ]; + + environment.sessionVariables = { + STEAM_EXTRA_COMPAT_TOOLS_PATHS = + "\${HOME}/.steam/root/compatibilitytools.d"; + }; +} diff --git a/nixos/hosts/usconfig/pockets.nix b/nixos/hosts/usconfig/pockets.nix index 536a5fd..36a7be2 100644 --- a/nixos/hosts/usconfig/pockets.nix +++ b/nixos/hosts/usconfig/pockets.nix @@ -15,11 +15,10 @@ home-manager pkgs.opera pkgs.git - pkgs.telegram-desktop #terminals kitty - pkgs.alacritty + alacritty pkgs.wofi pkgs.google-chrome