Guanran Wang
89f91afa4e
- moved nvidia prime `xxxBusId` to machines specific configuration - moved hostname config to flake.nix - added per-machine configuration (example usage: multiple machines with same model)
14 lines
No EOL
375 B
Nix
14 lines
No EOL
375 B
Nix
{ ... }:
|
|
|
|
# I have no idea what are those options
|
|
# and I dont use LUKS on my main machine...
|
|
# Assuming those are LUKS stuff :P
|
|
#
|
|
# it just works(tm)
|
|
{
|
|
# Setup keyfile
|
|
boot.initrd.secrets = {
|
|
"/crypto_keyfile.bin" = null;
|
|
};
|
|
boot.initrd.luks.devices."luks-998ea901-91c0-4c20-82f4-5dbcce1e1877".device = "/dev/disk/by-uuid/998ea901-91c0-4c20-82f4-5dbcce1e1877";
|
|
} |