diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-05-31 21:40:21 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-05-31 21:40:21 +0200 |
| commit | 8e9175cbea86ea78fa65113529e241414b613bb3 (patch) | |
| tree | ba258e1ac47ac945ffac9d3bb9d46ae3fdabb323 /modules/by-name/di | |
| parent | modules/disks: Use correct notation for 30GB (diff) | |
| download | nixos-config-8e9175cbea86ea78fa65113529e241414b613bb3.zip | |
modules/{disks,boot}: Give up on hacky XBOOTLDR support
We would effectively need a separate partition without LUKS for that to
work. And because we are not working around Windows EFI, it's easier to
just make the real EFI partition bigger.
Diffstat (limited to 'modules/by-name/di')
| -rw-r--r-- | modules/by-name/di/disks/module.nix | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/modules/by-name/di/disks/module.nix b/modules/by-name/di/disks/module.nix index 15549453..ed5c939a 100644 --- a/modules/by-name/di/disks/module.nix +++ b/modules/by-name/di/disks/module.nix @@ -50,7 +50,7 @@ in { services.btrfs.autoScrub = { enable = true; - fileSystems = ["/srv" "/nix" "/boot"]; + fileSystems = ["/srv" "/nix"]; interval = "monthly"; }; @@ -62,15 +62,14 @@ in { type = "gpt"; partitions = { ESP = { - # This can be relatively small, as we store all the big stuff in the - # XBOOTLDR directory. - size = "256M"; + # 2GiB plus 512MiB for tails ISO and normal boot stuff + size = "2600M"; type = "EF00"; content = { type = "filesystem"; format = "vfat"; - mountpoint = "/efi"; + mountpoint = "/boot"; mountOptions = ["umask=0077"]; }; }; @@ -108,10 +107,6 @@ in { mountpoint = "/srv/.snapshots"; mountOptions = defaultMountOptions; }; - "boot" = { - mountpoint = "/boot"; - mountOptions = defaultMountOptions; - }; "swap" = { mountpoint = "/swap"; mountOptions = [ |
