about summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--system/disks/default.nix3
-rw-r--r--system/services/steam/default.nix2
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";
     };
   };