From 4f8bdc1219c6feb0db810b7b698d3fb7067c8e22 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Sun, 12 Nov 2023 19:35:41 +0100 Subject: [PATCH] nixos/tmproot: Persist rasdaemon DB --- nixos/modules/tmproot.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/modules/tmproot.nix b/nixos/modules/tmproot.nix index 1f62230..7aa4003 100644 --- a/nixos/modules/tmproot.nix +++ b/nixos/modules/tmproot.nix @@ -436,6 +436,9 @@ in "/var/lib/samba" ]; }) + (mkIf config.hardware.rasdaemon.enable { + my.tmproot.persistence.config.directories = [ "/var/lib/rasdaemon" ]; + }) ])) ]);