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;