fix(swap): rename dev to config.device

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
TechnofabandJörg Thalheim authored and mergify[bot] committed 2023-07-04 21:35:38 +00:00
1 parent 57622c4a68
commit 3200614b9f
1 file changed
+1 -1
+1 -1
View File
@@ -56,7 +56,7 @@
device = config.device;
randomEncryption = config.randomEncryption;
}];
boot.resumeDevice = lib.mkIf config.resumeDevice dev;
boot.resumeDevice = lib.mkIf config.resumeDevice config.device;
}];
description = "NixOS configuration";
};