From 7d990ceb9bac2c2fb4acfa9875e1717c8e9a383a Mon Sep 17 00:00:00 2001 From: Ashhhleyyy Date: Sun, 12 Nov 2023 18:58:34 +0000 Subject: [PATCH] fix: new syntax --- hosts/alex/configuration.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/hosts/alex/configuration.nix b/hosts/alex/configuration.nix index b99f685..7ef15f4 100644 --- a/hosts/alex/configuration.nix +++ b/hosts/alex/configuration.nix @@ -9,14 +9,11 @@ ./hardware-config.nix ]; - boot.initrd.luks.devices = [ - { - name = "root"; - device = "/dev/disk/by-uuid/00f32b39-dfcb-4459-bf8e-aa68e2198466"; - preLVM = true; - allowDiscards = true; - } - ]; + boot.initrd.luks.devices.root = { + device = "/dev/disk/by-uuid/00f32b39-dfcb-4459-bf8e-aa68e2198466"; + preLVM = true; + allowDiscards = true; + }; networking.hostName = "alex"; networking.firewall.enable = false;