Compare commits
2 Commits
4be986e43e
...
62fc685a66
Author | SHA1 | Date | |
---|---|---|---|
62fc685a66 | |||
c4fb78d2aa |
@ -3,9 +3,6 @@
|
|||||||
let password = builtins.readFile /var/lib/ddclient/token;
|
let password = builtins.readFile /var/lib/ddclient/token;
|
||||||
|
|
||||||
in {
|
in {
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ mbuffer ];
|
|
||||||
|
|
||||||
# Enable zeroconf
|
# Enable zeroconf
|
||||||
services.avahi = {
|
services.avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -5,6 +5,14 @@ let
|
|||||||
blocklist = "${stateDir}/dnsmasq.blacklist.txt";
|
blocklist = "${stateDir}/dnsmasq.blacklist.txt";
|
||||||
|
|
||||||
in {
|
in {
|
||||||
|
# PostgreSQL daily backups
|
||||||
|
services.postgresqlBackup = {
|
||||||
|
enable = true;
|
||||||
|
backupAll = true;
|
||||||
|
location = "/vault/backups/zion/databases";
|
||||||
|
startAt = "*-*-* 05:15:00";
|
||||||
|
};
|
||||||
|
|
||||||
# Fetch hosts-blocklists daily
|
# Fetch hosts-blocklists daily
|
||||||
systemd.services.download-dns-blocklist = {
|
systemd.services.download-dns-blocklist = {
|
||||||
description = "Download hosts-blocklists";
|
description = "Download hosts-blocklists";
|
||||||
|
@ -158,14 +158,6 @@
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
# PostgreSQL daily backups
|
|
||||||
services.postgresqlBackup = {
|
|
||||||
enable = true;
|
|
||||||
backupAll = true;
|
|
||||||
location = "/vault/backups/zion/databases";
|
|
||||||
startAt = "*-*-* 05:15:00";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Miniflux configuration
|
# Miniflux configuration
|
||||||
services.miniflux = {
|
services.miniflux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user