summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/by-name/di/disko/module.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/by-name/di/disko/module.nix b/modules/by-name/di/disko/module.nix
index 0aff93f..b4fc3c8 100644
--- a/modules/by-name/di/disko/module.nix
+++ b/modules/by-name/di/disko/module.nix
@@ -3,7 +3,7 @@
   lib,
   ...
 }: let
-  cfg = config.system.disko;
+  cfg = config.vhack.disko;
 
   defaultMountOptions = ["compress-force=zstd:15" "noatime"];
 in {
@@ -17,7 +17,7 @@ in {
     };
   };
 
-  config = {
+  config = lib.mkIf cfg.enable {
     disko.devices = {
       disk.main = {
         type = "disk";