diff options
-rw-r--r-- | machines/x220-aji.nix | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/machines/x220-aji.nix b/machines/x220-aji.nix index 39e37d4..2e99bec 100644 --- a/machines/x220-aji.nix +++ b/machines/x220-aji.nix @@ -24,13 +24,12 @@ }; boot = { - initrd.luks.devices = [ - { + initrd.luks.devices = { + cryptroot = { device = "/dev/disk/by-id/ata-INTEL_SSDSC2BW240H6_CVTR609508W0240CGN-part2"; - name = "cryptroot"; allowDiscards = true; - } - ]; + }; + }; extraModulePackages = [ config.boot.kernelPackages.tp_smapi ]; |