chore: move postgresql config to own file
This commit is contained in:
parent
8099b6bf9c
commit
d69c19a94c
3 changed files with 4 additions and 2 deletions
|
|
@ -9,6 +9,7 @@ in
|
|||
(import ./acme.nix { inherit base-domain; })
|
||||
(import ./nginx.nix { inherit base-domain; })
|
||||
(import ./sourcehut.nix { inherit base-domain; })
|
||||
./postgresql.nix
|
||||
./userprogs.nix
|
||||
];
|
||||
|
||||
|
|
|
|||
3
postgresql.nix
Normal file
3
postgresql.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
services.postgresql.enable = true;
|
||||
}
|
||||
|
|
@ -42,6 +42,4 @@ in
|
|||
webhooks.private-key = "/etc/nixos/secrets/sourcehut/webhook.key";
|
||||
};
|
||||
};
|
||||
|
||||
services.postgresql.enable = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue