Compare commits

...

2 Commits

Author SHA1 Message Date
Noah Masur
203bb6a13a increase generation cleanup limit
just in case it fails from one upgrade week to the next
2024-02-19 14:28:50 +00:00
Noah Masur
4bfd65acb3 fix: new disko format of disks wouldn't boot 2024-02-19 14:28:13 +00:00
2 changed files with 9 additions and 5 deletions

View File

@ -7,24 +7,28 @@
type = "gpt";
partitions = {
# Boot partition
ESP = {
ESP = rec {
size = "512MiB";
type = "EF00";
label = "boot";
device = "/dev/disk/by-label/${label}";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
extraArgs = [ "-n boot" ];
extraArgs = [ "-n ${label}" ];
};
};
# Root partition ext4
root = {
root = rec {
size = "100%";
label = "nixos";
device = "/dev/disk/by-label/${label}";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
extraArgs = [ "-L nixos" ];
extraArgs = [ "-L ${label}" ];
};
};
};

View File

@ -123,7 +123,7 @@
gc = {
automatic = true;
options = "--delete-older-than 7d";
options = "--delete-older-than 10d";
};
settings = {