summaryrefslogtreecommitdiff
path: root/machines/x220-aji.nix
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2020-01-18 15:09:55 -0500
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2020-01-18 15:09:55 -0500
commitd4729149665833906a11a105adb1be68d5ff4374 (patch)
tree24f8d70a958bfb41b001747afd1e3fd0a3a3a6ed /machines/x220-aji.nix
parent125f8c1778d3a263b8fc18b9b8e154479dca3f47 (diff)
fix config
Diffstat (limited to 'machines/x220-aji.nix')
-rw-r--r--machines/x220-aji.nix9
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 ];