From efc80d7d89d40f54b76e0efcf83578c6b074906e Mon Sep 17 00:00:00 2001 From: David Arnold Date: Sat, 5 Nov 2022 15:17:35 -0500 Subject: types: init swap --- module.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'module.nix') diff --git a/module.nix b/module.nix index 9b568be..1a8a000 100644 --- a/module.nix +++ b/module.nix @@ -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))); }; } -- cgit v1.2.3