fix(swap): rename dev to config.device

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
Technofab 2023-07-04 21:40:32 +02:00 committed by GitHub
parent 876969d793
commit 4454622f22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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";
};