From 595ab5cfd8bf28c41dfe1bc3ae043c1e407e6d4e Mon Sep 17 00:00:00 2001 From: Soispha Date: Thu, 27 Jul 2023 10:05:04 +0200 Subject: Fix(system/impermanence): Keycloak was actually postgresql --- system/impermanence/default.nix | 2 +- system/impermanence/mods/keycloak.nix | 5 ----- system/impermanence/mods/postgresql.nix | 5 +++++ 3 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 system/impermanence/mods/keycloak.nix create mode 100644 system/impermanence/mods/postgresql.nix diff --git a/system/impermanence/default.nix b/system/impermanence/default.nix index 0595078..b60eb4c 100644 --- a/system/impermanence/default.nix +++ b/system/impermanence/default.nix @@ -2,12 +2,12 @@ # TODO: Only activate them if their module is also active imports = [ ./mods/acme.nix - ./mods/keycloak.nix ./mods/mail.nix ./mods/matrix.nix ./mods/minecraft.nix ./mods/nix-sync.nix ./mods/openssh.nix + ./mods/postgresql.nix ./mods/users.nix ]; diff --git a/system/impermanence/mods/keycloak.nix b/system/impermanence/mods/keycloak.nix deleted file mode 100644 index 63b02f5..0000000 --- a/system/impermanence/mods/keycloak.nix +++ /dev/null @@ -1,5 +0,0 @@ -{...}: { - environment.persistence."/srv".directories = [ - "/var/lib/postgresql" - ]; -} diff --git a/system/impermanence/mods/postgresql.nix b/system/impermanence/mods/postgresql.nix new file mode 100644 index 0000000..63b02f5 --- /dev/null +++ b/system/impermanence/mods/postgresql.nix @@ -0,0 +1,5 @@ +{...}: { + environment.persistence."/srv".directories = [ + "/var/lib/postgresql" + ]; +} -- cgit 1.4.1