summaryrefslogtreecommitdiffstats
path: root/modules/by-name/po/postgresql/module.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/by-name/po/postgresql/module.nix')
-rw-r--r--modules/by-name/po/postgresql/module.nix19
1 files changed, 4 insertions, 15 deletions
diff --git a/modules/by-name/po/postgresql/module.nix b/modules/by-name/po/postgresql/module.nix
index 5cdf6c77..319c3ac5 100644
--- a/modules/by-name/po/postgresql/module.nix
+++ b/modules/by-name/po/postgresql/module.nix
@@ -1,30 +1,19 @@
-# nixos-config - My current NixOS configuration
-#
-# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
-# SPDX-License-Identifier: GPL-3.0-or-later
-#
-# This file is part of my nixos-config.
-#
-# You should have received a copy of the License along with this program.
-# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
{
config,
lib,
...
}: let
- cfg = config.soispha.services.postgresql;
+ cfg = config.vhack.postgresql;
in {
- options.soispha.services.postgresql = {
+ options.vhack.postgresql = {
enable = lib.mkEnableOption "postgresql";
};
config = lib.mkIf cfg.enable {
- soispha.impermanence.directories = [
+ vhack.persist.directories = [
"/var/lib/postgresql"
];
- services.postgresql = {
- enable = true;
- };
+ services.postgresql.enable = true;
};
}