From d4729149665833906a11a105adb1be68d5ff4374 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sat, 18 Jan 2020 15:09:55 -0500 Subject: fix config --- machines/x220-aji.nix | 9 ++++----- 1 file 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 ]; -- cgit v1.2.3