Fix formatting in Zitadel and PostgreSQL Nix modules
This commit is contained in:
parent
625e79f042
commit
e1614dc3f7
2 changed files with 10 additions and 6 deletions
|
|
@ -1,14 +1,19 @@
|
|||
{ config, lib, pkgs, namespace, ... }:
|
||||
let
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
namespace,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
|
||||
cfg = config.${namespace}.services.persistance.postgresql;
|
||||
in
|
||||
{
|
||||
in {
|
||||
options.${namespace}.services.persistance.postgresql = {
|
||||
enable = mkEnableOption "Postgresql";
|
||||
};
|
||||
|
||||
# Access db with `psql -U postgres`
|
||||
config = mkIf cfg.enable {
|
||||
services = {
|
||||
postgresql = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue