diff --git a/decoysnail.nix b/decoysnail.nix index ee9ddac..55f278b 100644 --- a/decoysnail.nix +++ b/decoysnail.nix @@ -15,14 +15,13 @@ issue_discards = 1 } ''; - boot.initrd.luks.devices = [ - { - name = "sda_crypt"; + boot.initrd.luks.devices = { + sda_crypt = { device = "/dev/disk/by-partuuid/00292928-0088-4887-9e5d-2f2eccb4816f"; preLVM = true; allowDiscards = true; - } - ]; + }; + }; networking = { hostName = "decoysnail";