diff options
Diffstat (limited to '')
-rw-r--r-- | modules/games/default.nix | 6 | ||||
-rw-r--r-- | modules/games/steam.nix | 14 |
2 files changed, 11 insertions, 9 deletions
diff --git a/modules/games/default.nix b/modules/games/default.nix index 4f474b4..b70b94b 100644 --- a/modules/games/default.nix +++ b/modules/games/default.nix @@ -14,12 +14,10 @@ in services = { jack.alsa.support32Bit = config.services.jack.alsa.enable; pipewire.alsa.support32Bit = config.services.pipewire.alsa.enable; + pulseaudio.support32Bit = config.services.pulseaudio.enable; }; - hardware = { - graphics.enable32Bit = true; - pulseaudio.support32Bit = config.hardware.pulseaudio.enable; - }; + hardware.graphics.enable32Bit = true; }) ]; } diff --git a/modules/games/steam.nix b/modules/games/steam.nix index d1da8ee..d8c6964 100644 --- a/modules/games/steam.nix +++ b/modules/games/steam.nix @@ -13,11 +13,15 @@ in config = mkIf cfg.enable { nixfiles.modules = { - common.nix.allowedUnfreePackages = [ - "steam" - "steam-run" - "steam-unwrapped" - ]; + common = { + nix.allowedUnfreePackages = [ + "steam" + "steam-run" + "steam-unwrapped" + ]; + + xdg.defaultApplications.steam = [ "x-scheme-handler/steam" ]; + }; games = { enable32BitSupport = true; |