diff --git a/home/desktop/default.nix b/home/desktop/default.nix index abc7036..c2f9b5f 100644 --- a/home/desktop/default.nix +++ b/home/desktop/default.nix @@ -1,6 +1,5 @@ _: { imports = [ ../common - ./gaming ]; } diff --git a/home/desktop/gaming/default.nix b/home/desktop/gaming/default.nix deleted file mode 100644 index 90b0f18..0000000 --- a/home/desktop/gaming/default.nix +++ /dev/null @@ -1,15 +0,0 @@ -{pkgs, ...}: { - home.packages = with pkgs; [ - protonup-qt - bottles - lutris - path-of-building - # steamtinkerlaunch dependencies - unzip - xdotool - xorg.xwininfo - yad - r2modman - ]; - programs.mangohud.enable = true; -} diff --git a/modules/other/gaming.nix b/modules/other/gaming.nix index e644a93..95665cd 100644 --- a/modules/other/gaming.nix +++ b/modules/other/gaming.nix @@ -2,6 +2,7 @@ lib, config, pkgs, + username, ... }: let cfg = config.modules.gaming; @@ -18,7 +19,6 @@ in { enable = true; gamescopeSession.enable = true; }; - gamemode.enable = true; coolercontrol = { enable = true; @@ -31,5 +31,22 @@ in { via ]; services.udev.packages = [pkgs.via]; + + home-manager.users.${username} = { + home.packages = with pkgs; [ + protonup-qt + bottles + lutris + path-of-building + r2modman + + # steamtinkerlaunch dependencies + unzip + xdotool + xorg.xwininfo + yad + ]; + programs.mangohud.enable = true; + }; }; }