From 2e46123cb14b7a4160fff501087b79541df2731e Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 29 Jul 2023 16:15:19 +0200 Subject: Fix(hosts/isimud): Import the whole system configuration --- system/disks/default.nix | 3 ++- system/services/steam/default.nix | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'system') 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"; }; }; -- cgit 1.4.1