From b01d2dbeb9d7c3817f87701863c15c9c84dde5d8 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 2 Dec 2023 15:58:10 +0100 Subject: fix(sys/impermanence): Persist the postgresql datebase, if it exists --- sys/impermanence/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/impermanence/default.nix b/sys/impermanence/default.nix index 6f5df893..1ae35761 100644 --- a/sys/impermanence/default.nix +++ b/sys/impermanence/default.nix @@ -15,7 +15,8 @@ ++ lib.optional config.networking.networkmanager.enable "/etc/NetworkManager" ++ lib.optional config.boot.lanzaboote.enable "/etc/secureboot" ++ lib.optional config.hardware.bluetooth.enable "/var/lib/bluetooth" - ++ lib.optional config.virtualisation.waydroid.enable "/var/lib/waydroid"; + ++ lib.optional config.virtualisation.waydroid.enable "/var/lib/waydroid" + ++ lib.optional config.services.postgresql.enable "/var/lib/postgresql"; in { options.soispha.impermanence = { enable = lib.mkOption { -- cgit 1.4.1