mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-11 23:50:05 +01:00
fix(swap): rename dev to config.device
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
parent
876969d793
commit
4454622f22
1 changed files with 1 additions and 1 deletions
|
|
@ -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";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue