chore: move postgresql config to own file

This commit is contained in:
Khaïs COLIN 2024-08-22 16:57:30 +00:00
parent 8099b6bf9c
commit d69c19a94c
3 changed files with 4 additions and 2 deletions

View file

@ -9,6 +9,7 @@ in
(import ./acme.nix { inherit base-domain; }) (import ./acme.nix { inherit base-domain; })
(import ./nginx.nix { inherit base-domain; }) (import ./nginx.nix { inherit base-domain; })
(import ./sourcehut.nix { inherit base-domain; }) (import ./sourcehut.nix { inherit base-domain; })
./postgresql.nix
./userprogs.nix ./userprogs.nix
]; ];

3
postgresql.nix Normal file
View file

@ -0,0 +1,3 @@
{
services.postgresql.enable = true;
}

View file

@ -42,6 +42,4 @@ in
webhooks.private-key = "/etc/nixos/secrets/sourcehut/webhook.key"; webhooks.private-key = "/etc/nixos/secrets/sourcehut/webhook.key";
}; };
}; };
services.postgresql.enable = true;
} }