diff --git a/flake.nix b/flake.nix index 59108a1..6a53a2e 100644 --- a/flake.nix +++ b/flake.nix @@ -16,10 +16,11 @@ outputs = inputs @ { self, nixpkgs, impermanence, agenix, ... }: let inputs.secrets = ./secrets; + inputs.persist-dir = "/nix/persist"; defaults = { config = { environment.persistence = { - "/nix/persist" = { + "${inputs.persist-dir}" = { hideMounts = true; directories = [ "/var/lib"