feat(storage): add enable option
This commit is contained in:
@@ -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