From b212b16a14ea12384c4b19ad453076502855a738 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Thu, 27 Jun 2024 18:10:21 +0300 Subject: 2024-06-27 --- modules/games/steam-run.nix | 13 +------------ modules/games/steam.nix | 1 + 2 files changed, 2 insertions(+), 12 deletions(-) (limited to 'modules/games') 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 = { -- cgit v1.2.3