feat(storage): add enable option

This commit is contained in:
2026-05-22 20:20:25 +02:00
parent a7ad2b141e
commit 6f98f066a0

View File

@@ -1,4 +1,10 @@
{ lib, config, ... }:
{
services.udisks2.enable = true;
boot.zfs.forceImportRoot = false;
options.storage.enable = lib.mkEnableOption "storage";
config = lib.mkIf config.storage.enable {
services.udisks2.enable = true;
boot.zfs.forceImportRoot = false;
};
}