mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 16:16:50 +01:00
feat: last bits of server setup
This commit is contained in:
parent
9ef90f8dba
commit
db85aeb044
12 changed files with 157 additions and 24 deletions
8
hosts/homelab/postgres.nix
Normal file
8
hosts/homelab/postgres.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{config, ...}: {
|
||||
services = {
|
||||
restic.backups.homelab.paths = [config.services.postgresqlBackup.location];
|
||||
|
||||
postgresql.enable = true;
|
||||
postgresqlBackup.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue