diff --git a/hosts/common/configs/system/impermanence/default.nix b/hosts/common/configs/system/impermanence/default.nix index f55a139..e2c0a7f 100644 --- a/hosts/common/configs/system/impermanence/default.nix +++ b/hosts/common/configs/system/impermanence/default.nix @@ -33,6 +33,8 @@ # https://git.eisfunke.com/config/nixos/-/blob/e65e1dc21d06d07b454005762b177ef151f8bfb6/nixos/machine-id.nix sops.secrets."machineId".mode = "0444"; + fileSystems."/persist".neededForBoot = true; + environment = { etc."machine-id".source = pkgs.runCommandLocal "machine-id-link" { } '' ln -s ${config.sops.secrets."machineId".path} $out