From e1f1aa64967392b99ada35d9acc7c7841feb5c6a Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 24 Dec 2024 01:18:59 +0100 Subject: fix(modules/disko): Actually honor `cfg.enable` --- modules/by-name/di/disko/module.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') 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"; -- cgit 1.4.1