From a140b4d9ec3d1a988cc6d6e65529e55d49beb4bb Mon Sep 17 00:00:00 2001 From: Gonne Kretschmer Date: Mon, 30 Oct 2023 17:24:45 +0100 Subject: [PATCH] Impermanence and white space --- nixos/modules/impermanence.nix | 1 + nixos/roles/default.nix | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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; }; }; - }; +}; }