summaryrefslogtreecommitdiff
path: root/modules/games
diff options
context:
space:
mode:
Diffstat (limited to 'modules/games')
-rw-r--r--modules/games/steam-run.nix13
-rw-r--r--modules/games/steam.nix1
2 files changed, 2 insertions, 12 deletions
diff --git a/modules/games/steam-run.nix b/modules/games/steam-run.nix
index cfee8ae..f6902c0 100644
--- a/modules/games/steam-run.nix
+++ b/modules/games/steam-run.nix
@@ -20,18 +20,7 @@ in
};
config = mkIf cfg.enable {
- nixfiles.modules = {
- common.nix.allowedUnfreePackages = [
- "steam"
- "steam-run"
- ];
-
- games = {
- enable32BitSupport = true;
- gamemode.enable = true;
- mangohud.enable = true;
- };
- };
+ nixfiles.modules.games.steam.enable = true;
hm.home.packages = with pkgs; [
(steam.override {
diff --git a/modules/games/steam.nix b/modules/games/steam.nix
index 5883b0e..23b4f14 100644
--- a/modules/games/steam.nix
+++ b/modules/games/steam.nix
@@ -16,6 +16,7 @@ in
common.nix.allowedUnfreePackages = [
"steam"
"steam-original"
+ "steam-run"
];
games = {