From d16c7baa4a37189aae7d2755faba0513fbfc4eac Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Fri, 23 Feb 2024 21:59:04 +0100 Subject: [PATCH] set `neededForBoot` on persistent volumes. This is recommended by the impermanence module and required by agenix. --- hosts/mu/hardware.nix | 1 + hosts/omega/hardware.nix | 1 + hosts/tor/hardware.nix | 1 + hosts/zeta/hardware.nix | 1 + 4 files changed, 4 insertions(+) diff --git a/hosts/mu/hardware.nix b/hosts/mu/hardware.nix index 501e6d3..f3f5e85 100644 --- a/hosts/mu/hardware.nix +++ b/hosts/mu/hardware.nix @@ -27,6 +27,7 @@ }; fileSystems."/nix" = { device = "/dev/disk/by-label/nix"; + neededForBoot = true; fsType = "ext4"; }; diff --git a/hosts/omega/hardware.nix b/hosts/omega/hardware.nix index 832f36c..3df3ad7 100644 --- a/hosts/omega/hardware.nix +++ b/hosts/omega/hardware.nix @@ -26,6 +26,7 @@ }; fileSystems."/nix" = { device = "/dev/disk/by-label/nix"; + neededForBoot = true; fsType = "ext4"; }; diff --git a/hosts/tor/hardware.nix b/hosts/tor/hardware.nix index 719848b..6ce4b26 100644 --- a/hosts/tor/hardware.nix +++ b/hosts/tor/hardware.nix @@ -20,6 +20,7 @@ }; fileSystems."/nix" = { device = "/dev/disk/by-label/nix"; + neededForBoot = true; fsType = "ext4"; }; diff --git a/hosts/zeta/hardware.nix b/hosts/zeta/hardware.nix index 1fa24a9..9de621d 100644 --- a/hosts/zeta/hardware.nix +++ b/hosts/zeta/hardware.nix @@ -26,6 +26,7 @@ }; fileSystems."/nix" = { device = "/dev/disk/by-label/nix"; + neededForBoot = true; fsType = "ext4"; };