From 7620350eba2080d2b2e80fcdba793fd809d3ac68 Mon Sep 17 00:00:00 2001 From: albert Date: Sun, 14 Jul 2024 21:18:18 +0900 Subject: [PATCH] update disks for warsaw --- nixos/hosts/warsaw-ovh-01/disks.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) 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"; + }; }; }; };