diff options
author | Soispha <soispha@vhack.eu> | 2023-07-29 16:15:19 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-07-29 16:15:19 +0200 |
commit | 2e46123cb14b7a4160fff501087b79541df2731e (patch) | |
tree | 92c86ea5a9eb1df50d30d0630b8f49c3237ae169 /system | |
parent | Fix(hm/conf/gpg): Add config for isimud (diff) | |
download | nixos-config-2e46123cb14b7a4160fff501087b79541df2731e.tar.gz nixos-config-2e46123cb14b7a4160fff501087b79541df2731e.zip |
Fix(hosts/isimud): Import the whole system configuration
Diffstat (limited to '')
-rw-r--r-- | system/disks/default.nix | 3 | ||||
-rw-r--r-- | system/services/steam/default.nix | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/system/disks/default.nix b/system/disks/default.nix index 56260c7a..56fb550d 100644 --- a/system/disks/default.nix +++ b/system/disks/default.nix @@ -12,6 +12,7 @@ ]; in { options.soispha.disks = { + enable = lib.mkEnableOption "disk setup with disko"; disk = lib.mkOption { type = lib.types.path; example = lib.literalExpression "/dev/disk/by-uuid/0442cb6d-f13a-4635-b487-fa76189774c5"; @@ -37,7 +38,7 @@ in { }; }; - config = { + config = lib.mkIf cfg.enable { systemd = lib.recursiveUpdate (import ./hibernate.nix {inherit pkgs;}) (import ./fstrim.nix {inherit pkgs lib cfg;}); disko.devices = { diff --git a/system/services/steam/default.nix b/system/services/steam/default.nix index 53a7d214..d5eede9e 100644 --- a/system/services/steam/default.nix +++ b/system/services/steam/default.nix @@ -7,7 +7,7 @@ in { options.soispha.services.steam = { enable = lib.mkOption { - default = true; + default = false; description = lib.mdDoc "Enable Steam"; }; }; |