diff --git a/nixos/hosts/warsaw-ovh-01/disks.nix b/nixos/hosts/warsaw-ovh-01/disks.nix index 46eff9ac..809a5c06 100644 --- a/nixos/hosts/warsaw-ovh-01/disks.nix +++ b/nixos/hosts/warsaw-ovh-01/disks.nix @@ -22,7 +22,6 @@ type = "luks"; name = "crypted"; settings.allowDiscards = true; - passwordFile = "/tmp/secret.key"; content = { type = "filesystem"; format = "ext4"; @@ -40,13 +39,16 @@ type = "gpt"; partitions = { Storage = { - type = "luks"; - name = "storage-crypted"; - settings.allowDiscards = true; + size = "100%"; content = { - type = "filesystem"; - format = "ext4"; - mountpoint = "/Storage"; + type = "luks"; + name = "storage-crypted"; + settings.allowDiscards = true; + content = { + type = "filesystem"; + format = "ext4"; + mountpoint = "/Storage"; + }; }; }; };