diff options
author | Azat Bahawi <azat@bahawi.net> | 2024-06-27 18:10:21 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2024-06-27 18:10:21 +0300 |
commit | b212b16a14ea12384c4b19ad453076502855a738 (patch) | |
tree | defd42780c334342e82d59ac927ae070e9af5fd7 /modules/games | |
parent | 2024-06-24 (diff) |
2024-06-27
Diffstat (limited to '')
-rw-r--r-- | modules/games/steam-run.nix | 13 | ||||
-rw-r--r-- | modules/games/steam.nix | 1 |
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 = { |