feat(storage): add enable option
This commit is contained in:
@@ -1,4 +1,10 @@
|
|||||||
|
{ lib, config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.udisks2.enable = true;
|
options.storage.enable = lib.mkEnableOption "storage";
|
||||||
boot.zfs.forceImportRoot = false;
|
|
||||||
|
config = lib.mkIf config.storage.enable {
|
||||||
|
services.udisks2.enable = true;
|
||||||
|
boot.zfs.forceImportRoot = false;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user