From 8ed337d9a165ff0bfd21831f4b4284ff03689a7c Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Thu, 7 Sep 2023 09:25:41 +0200 Subject: [PATCH] change luks --- hosts/nb-01.cloonar.com/hardware-configuration.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hosts/nb-01.cloonar.com/hardware-configuration.nix b/hosts/nb-01.cloonar.com/hardware-configuration.nix index e9ff179..2b70117 100644 --- a/hosts/nb-01.cloonar.com/hardware-configuration.nix +++ b/hosts/nb-01.cloonar.com/hardware-configuration.nix @@ -24,8 +24,7 @@ boot.initrd.luks = { yubikeySupport = true; - devices = [ { - name = "nixos-enc"; + devices."nixos-enc" = { device = "/dev/disk/by-uuid/7435d48f-f942-485b-9817-328ad3fc0b93"; yubikey = { slot = 2; @@ -34,7 +33,7 @@ device = "/dev/nvme0n1p1"; }; }; - } ]; + }; }; fileSystems."/home" =