diff options
author | Freya Murphy <freya@freyacat.org> | 2025-09-17 22:07:16 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-09-17 22:07:16 -0400 |
commit | 68d03fe362b7e0df11662d8d6a1e01eac0bfae77 (patch) | |
tree | a76abd05f662f73b4083ddb0d8bf0d72c29e5a74 /system/gaming | |
parent | update commits (diff) | |
download | dotfiles-nix-68d03fe362b7e0df11662d8d6a1e01eac0bfae77.tar.gz dotfiles-nix-68d03fe362b7e0df11662d8d6a1e01eac0bfae77.tar.bz2 dotfiles-nix-68d03fe362b7e0df11662d8d6a1e01eac0bfae77.zip |
refactor: remove modules folder, fully split home and system modules
Diffstat (limited to '')
-rw-r--r-- | system/gaming/default.nix | 5 | ||||
-rw-r--r-- | system/gaming/steam.nix (renamed from modules/gaming/steam.nix) | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/system/gaming/default.nix b/system/gaming/default.nix new file mode 100644 index 0000000..acb0a1f --- /dev/null +++ b/system/gaming/default.nix @@ -0,0 +1,5 @@ +{...}: { + imports = [ + ./steam.nix + ]; +} diff --git a/modules/gaming/steam.nix b/system/gaming/steam.nix index 53ab252..cd243e5 100644 --- a/modules/gaming/steam.nix +++ b/system/gaming/steam.nix @@ -4,9 +4,9 @@ ... }: let inherit (lib) mkIf; - cfg = config.gaming; + cfg = config.gaming.steam; in { - config = mkIf cfg.steam { + config = mkIf cfg.enable { nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "steam" |