summaryrefslogtreecommitdiff
path: root/modules/games
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-06-27 18:10:21 +0300
committerAzat Bahawi <azat@bahawi.net>2024-06-27 18:10:21 +0300
commitb212b16a14ea12384c4b19ad453076502855a738 (patch)
treedefd42780c334342e82d59ac927ae070e9af5fd7 /modules/games
parent75918debfd7245d90478f882b0323a705ab3c7be (diff)
2024-06-27
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 = {