~ruther/nixos-config

468bbde3fd20b533f1d2905d6a9752df05027103 — Frantisek Bohacek 1 year, 6 months ago f58d90c
feat: add luks to laptop configuration
1 files changed, 8 insertions(+), 8 deletions(-)

M hosts/laptop/default.nix
M hosts/laptop/default.nix => hosts/laptop/default.nix +8 -8
@@ 31,17 31,17 @@
    loader = {                              # EFI Boot
      efi = {
        canTouchEfiVariables = true;
        efiSysMountPoint = "/boot";
      };
      grub = {                              # Most of grub is set up for dual boot
        enable = true;
        devices = [ "nodev" ];
        efiSupport = true;
        useOSProber = true;                 # Find all boot options
        configurationLimit = 2;
      };
      systemd-boot.enable = true;
      timeout = 1;                          # Grub auto select time
    };

    initrd.luks.devices = {
      crypted = {
        device = "/dev/disk/by-label/root";
        preLVM = true;
      }
    }
  };

  environment = {

Do not follow this link