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