diff options
author | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2020-01-18 15:09:55 -0500 |
---|---|---|
committer | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2020-01-18 15:09:55 -0500 |
commit | d4729149665833906a11a105adb1be68d5ff4374 (patch) | |
tree | 24f8d70a958bfb41b001747afd1e3fd0a3a3a6ed | |
parent | 125f8c1778d3a263b8fc18b9b8e154479dca3f47 (diff) |
fix config
-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 ]; |