mirror of
https://github.com/nix-community/disko.git
synced 2024-09-19 18:47:16 +03: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
57622c4a68
commit
3200614b9f
@ -56,7 +56,7 @@
|
|||||||
device = config.device;
|
device = config.device;
|
||||||
randomEncryption = config.randomEncryption;
|
randomEncryption = config.randomEncryption;
|
||||||
}];
|
}];
|
||||||
boot.resumeDevice = lib.mkIf config.resumeDevice dev;
|
boot.resumeDevice = lib.mkIf config.resumeDevice config.device;
|
||||||
}];
|
}];
|
||||||
description = "NixOS configuration";
|
description = "NixOS configuration";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user