diff options
author | lassulus <lass@lassul.us> | 2017-01-22 23:40:38 +0100 |
---|---|---|
committer | lassulus <lass@lassul.us> | 2017-01-22 23:40:38 +0100 |
commit | 705bf2c5e3f5a903a705cad70e9f8df5e904580d (patch) | |
tree | 5a872f591eec72b0bc6b214b0c8ddff904de7dec /lass/1systems | |
parent | 57be590db640eac4a1c34e5ccca3990f9ddfbb74 (diff) |
l 1 icarus: use grubs crytpodisk & remove /boot
Diffstat (limited to 'lass/1systems')
-rw-r--r-- | lass/1systems/icarus.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lass/1systems/icarus.nix b/lass/1systems/icarus.nix index 7f632e9bf..b869a67a7 100644 --- a/lass/1systems/icarus.nix +++ b/lass/1systems/icarus.nix @@ -22,8 +22,9 @@ with import <stockholm/lib>; loader.grub.enable = true; loader.grub.version = 2; loader.grub.device = "/dev/sda"; + loader.grub.enableCryptodisk = true; - initrd.luks.devices = [ { name = "luksroot"; device = "/dev/sda3"; } ]; + initrd.luks.devices = [ { name = "luksroot"; device = "/dev/sda2"; } ]; initrd.luks.cryptoModules = [ "aes" "sha512" "sha1" "xts" ]; initrd.availableKernelModules = [ "xhci_hcd" "ehci_pci" "ahci" "usb_storage" ]; }; @@ -43,9 +44,6 @@ with import <stockholm/lib>; fsType = "btrfs"; options = ["defaults" "noatime" "ssd" "compress=lzo"]; }; - "/boot" = { - device = "/dev/sda2"; - }; "/tmp" = { device = "tmpfs"; fsType = "tmpfs"; |