Compare commits

...

5 Commits

Author SHA1 Message Date
634022d717 Add manuela to Wireguard peers 2021-07-31 21:49:57 +01:00
b3b590dbf3 Replace deprecated OnCalendar option with startAt 2021-07-30 21:53:58 +01:00
7083d475db Update README 2021-07-30 21:41:43 +01:00
2cf9053ca9 Revert "Deploy a mail server"
This reverts commit 6d9a883361.
2021-07-24 18:01:20 +02:00
6d9a883361 Deploy a mail server 2021-06-25 15:09:57 +02:00
3 changed files with 20 additions and 1 deletions

View File

@@ -1,3 +1,17 @@
* Unit * Unit
Declarative configuration for the main server, using [[https://nixos.org][NixOS]] Declarative configuration for the main server, using [[https://nixos.org][NixOS]]
** Modules
The configuration is sliced into different files, per category:
- ZFS pool configuration: hardware-configuration.nix
- Network configuration: networking.nix
- Synchronization and backup services: datasync.nix
- Web services and reverse proxy: webstack.nix
- Smartd: monitoring.nix
- Systemd services and timers: periodic.nix
- Virtual machines: virtualization.nix
All the modules are imported in *configuration.nix*

View File

@@ -103,6 +103,11 @@ in {
publicKey = "5DU9ipxJcut2wKrUr3yQux9crzXMSW4ZeKWFLRpUc1I="; publicKey = "5DU9ipxJcut2wKrUr3yQux9crzXMSW4ZeKWFLRpUc1I=";
allowedIPs = [ "10.9.0.4/32" ]; allowedIPs = [ "10.9.0.4/32" ];
} }
# manuela
{
publicKey = "V+DaOya2hLuV6C9BeCkDyFqXpPAFq9jMAeg1dvQw/FI=";
allowedIPs = [ "10.9.0.5/32" ];
}
]; ];
}; };
}; };

View File

@@ -16,7 +16,7 @@ in {
ls | xargs -P10 -I{} git -C {} pull --rebase ls | xargs -P10 -I{} git -C {} pull --rebase
''; '';
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
OnCalendar = "22:00:00"; startAt = "22:00:00";
}; };
# PostgreSQL daily backups # PostgreSQL daily backups