set neededForBoot on persistent volumes.

This is recommended by the impermanence module and required by agenix.
This commit is contained in:
Casper V. Kristensen 2024-02-23 21:59:04 +01:00
parent 676bcbece8
commit d16c7baa4a
4 changed files with 4 additions and 0 deletions

View file

@ -27,6 +27,7 @@
}; };
fileSystems."/nix" = { fileSystems."/nix" = {
device = "/dev/disk/by-label/nix"; device = "/dev/disk/by-label/nix";
neededForBoot = true;
fsType = "ext4"; fsType = "ext4";
}; };

View file

@ -26,6 +26,7 @@
}; };
fileSystems."/nix" = { fileSystems."/nix" = {
device = "/dev/disk/by-label/nix"; device = "/dev/disk/by-label/nix";
neededForBoot = true;
fsType = "ext4"; fsType = "ext4";
}; };

View file

@ -20,6 +20,7 @@
}; };
fileSystems."/nix" = { fileSystems."/nix" = {
device = "/dev/disk/by-label/nix"; device = "/dev/disk/by-label/nix";
neededForBoot = true;
fsType = "ext4"; fsType = "ext4";
}; };

View file

@ -26,6 +26,7 @@
}; };
fileSystems."/nix" = { fileSystems."/nix" = {
device = "/dev/disk/by-label/nix"; device = "/dev/disk/by-label/nix";
neededForBoot = true;
fsType = "ext4"; fsType = "ext4";
}; };