mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 05:23:28 +01:00
types: init swap
This commit is contained in:
1 parent
aca927667a
commit
efc80d7d89
4 files changed
+131
-3
No files matched your search
@@ -42,5 +42,6 @@ in {
|
||||
# Remember to add config keys here if they are added to types
|
||||
fileSystems = lib.mkIf cfg.enableConfig (lib.mkMerge (lib.catAttrs "fileSystems" (types.diskoLib.config cfg.devices)));
|
||||
boot = lib.mkIf cfg.enableConfig (lib.mkMerge (lib.catAttrs "boot" (types.diskoLib.config cfg.devices)));
|
||||
swapDevices = lib.mkIf cfg.enableConfig (lib.mkMerge (lib.catAttrs "swapDevices" (types.diskoLib.config cfg.devices)));
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user