From aa4550dab23fe98773c95c4c4bb73c7029fac256 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Wed, 29 Apr 2020 11:00:10 +0100 Subject: [PATCH] port skinny config over --- nixos/boxes/skinnyv.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/nixos/boxes/skinnyv.nix b/nixos/boxes/skinnyv.nix index 26b3dd3d..150bd479 100644 --- a/nixos/boxes/skinnyv.nix +++ b/nixos/boxes/skinnyv.nix @@ -4,13 +4,14 @@ boot = { kernelPackages = pkgs.linuxPackagesFor pkgs.linux_latest_hardened; - initrd.luks.devices = [ - { - name = "root"; - device = "/dev/disk/by-uuid/ef6e91d9-c477-4ab7-ae39-4a0ee413cebe"; - preLVM = true; - allowDiscards = true; - }]; + initrd.luks.devices = { + root = + { + device = "/dev/disk/by-uuid/ef6e91d9-c477-4ab7-ae39-4a0ee413cebe"; + preLVM = true; + allowDiscards = true; + }; + }; loader.grub = { device = "nodev"; efiSupport = true;