diff options
Diffstat (limited to 'modules/by-name/po/postgresql/module.nix')
-rw-r--r-- | modules/by-name/po/postgresql/module.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/by-name/po/postgresql/module.nix b/modules/by-name/po/postgresql/module.nix new file mode 100644 index 00000000..c47a235c --- /dev/null +++ b/modules/by-name/po/postgresql/module.nix @@ -0,0 +1,17 @@ +{ + config, + lib, + ... +}: let + cfg = config.soispha.services.postgresql; +in { + options.soispha.services.postgresql = { + enable = lib.mkEnableOption "postgresql"; + }; + + config = lib.mkIf cfg.enable { + services.postgresql = { + enable = true; + }; + }; +} |