diff --git a/nixos/hosts/warsaw-ovh-01/disks.nix b/nixos/hosts/warsaw-ovh-01/disks.nix index 59cdac89..48847fb9 100644 --- a/nixos/hosts/warsaw-ovh-01/disks.nix +++ b/nixos/hosts/warsaw-ovh-01/disks.nix @@ -70,29 +70,19 @@ type = "filesystem"; format = "vfat"; mountpoint = "/boot"; - mountOptions = [ "umask=0077" ]; }; }; raid1 = { type = "mdadm"; level = 1; content = { - type = "gpt"; - partitions = { - LUKS-ROOT = { - start = "550MiB"; - end = "100%"; - content = { - type = "luks"; - name = "ROOT"; - extraOpenArgs = [ "--allow-discards" ]; - content = { - type = "filesystem"; - format = "ext4"; - mountpoint = "/"; - }; # content.content - }; # content - }; # partition 2 (/ BTRFS) + type = "luks"; + name = "ROOT"; + extraOpenArgs = [ "--allow-discards" ]; + content = { + type = "filesystem"; + format = "ext4"; + mountpoint = "/"; }; }; };