feat: are you feeling encrypted yet?
This commit is contained in:
parent
913e75cc33
commit
121da064eb
1 changed files with 9 additions and 4 deletions
|
|
@ -22,7 +22,12 @@
|
|||
"usb_storage"
|
||||
"sd_mod"
|
||||
];
|
||||
kernelModules = [ ];
|
||||
kernelModules = [
|
||||
"dm-snapshot"
|
||||
"cryptd"
|
||||
];
|
||||
|
||||
luks.devices."cryptroot".device = "/dev/disk/by-label/nixos";
|
||||
};
|
||||
|
||||
kernelModules = [ "kvm-amd" ];
|
||||
|
|
@ -31,12 +36,12 @@
|
|||
};
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-label/nix-root";
|
||||
device = "/dev/disk/by-label/nixos-root";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-label/EFI";
|
||||
device = "/dev/disk/by-label/nixos-boot";
|
||||
fsType = "vfat";
|
||||
options = [
|
||||
"fmask=0077"
|
||||
|
|
@ -44,7 +49,7 @@
|
|||
];
|
||||
};
|
||||
|
||||
swapDevices = [ { device = "/dev/disk/by-label/swap"; } ];
|
||||
swapDevices = [ { device = "/dev/disk/by-label/nixos-swap"; } ];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
|
|
|||
Loading…
Reference in a new issue