Trying to get LUKS to work
This commit is contained in:
parent
8c6cfa275a
commit
0bd101e1a2
@ -23,10 +23,6 @@
|
|||||||
kernelParams = [ "root=/dev/mapper/root" "cryptdevice=/dev/sda1:root" ]; # Required for LUKS support
|
kernelParams = [ "root=/dev/mapper/root" "cryptdevice=/dev/sda1:root" ]; # Required for LUKS support
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
cryptsetup
|
|
||||||
];
|
|
||||||
|
|
||||||
# File systems
|
# File systems
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "/dev/mapper/root"; # LUKS unlocked device
|
device = "/dev/mapper/root"; # LUKS unlocked device
|
||||||
|
Loading…
x
Reference in New Issue
Block a user