diff --git a/nixos/modules/impermanence.nix b/nixos/modules/impermanence.nix index 267c9d1..5c6142e 100644 --- a/nixos/modules/impermanence.nix +++ b/nixos/modules/impermanence.nix @@ -39,6 +39,7 @@ config = mkIf cfg.enable { "/etc/ssh/ssh_host_ed25519_key.pub" "/etc/ssh/ssh_host_rsa_key" "/etc/ssh/ssh_host_rsa_key.pub" + "/var/lib/${config.services.prometheus.stateDir}" ]; }; environment.etc.machine-id.source = "${cfg.storagePath}/machine-id"; diff --git a/nixos/roles/default.nix b/nixos/roles/default.nix index bc94eff..b536d28 100644 --- a/nixos/roles/default.nix +++ b/nixos/roles/default.nix @@ -56,5 +56,5 @@ services = { PasswordAuthentication = false; }; }; - }; +}; }