reinstallation on different SSD
TODO: split hw-specific config
This commit is contained in:
parent
67c5bd07d0
commit
ad8df0fae4
2 changed files with 12 additions and 15 deletions
|
@ -12,15 +12,14 @@ in {
|
|||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
./packages.nix
|
||||
/home/spiollinux/src/nixos-hardware/lenovo/thinkpad/t440s
|
||||
../../home/spiollinux/src/nixos-hardware/lenovo/thinkpad/t440s
|
||||
];
|
||||
|
||||
# encrypted partitions
|
||||
boot.initrd.luks =
|
||||
{ devices =
|
||||
{ "systemA".device = "/dev/disk/by-uuid/1d57fb8c-301b-4d8c-8652-dcda39910404";
|
||||
"systemB".device = "/dev/disk/by-uuid/d68d217b-5443-49ca-af1b-9f2eacb73d8b";
|
||||
"cryptswap".device = "/dev/disk/by-uuid/472d5c58-d834-4ff8-82f1-f98d627e9163";
|
||||
{ "system".device = "/dev/disk/by-uuid/85154131-b2a8-4ef5-9d74-47429cb267ef";
|
||||
"cryptswap".device = "/dev/disk/by-uuid/ac586df6-6332-4809-beb1-f51906a2adaa";
|
||||
};
|
||||
reusePassphrases = true;
|
||||
};
|
||||
|
@ -138,6 +137,6 @@ boot.kernel.sysctl."vm.overcommit_memory" = "1";
|
|||
# compatible, in order to avoid breaking some software such as database
|
||||
# servers. You should change this only after NixOS release notes say you
|
||||
# should.
|
||||
system.stateVersion = "18.03"; # Did you read the comment?
|
||||
system.stateVersion = "18.09"; # Did you read the comment?
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue