update backup timers; remove hel1b
This commit is contained in:
parent
0e8edd0d5f
commit
5283f9f423
@ -11,7 +11,6 @@ let
|
|||||||
ips = {
|
ips = {
|
||||||
vno1 = "88.223.107.21";
|
vno1 = "88.223.107.21";
|
||||||
hel1a = "65.21.7.119";
|
hel1a = "65.21.7.119";
|
||||||
hel1b = "95.217.10.210";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
ssh_pubkeys = {
|
ssh_pubkeys = {
|
||||||
@ -28,7 +27,7 @@ let
|
|||||||
"/var/lib/.snapshot-latest/headscale"
|
"/var/lib/.snapshot-latest/headscale"
|
||||||
"/var/lib/.snapshot-latest/matrix-synapse"
|
"/var/lib/.snapshot-latest/matrix-synapse"
|
||||||
];
|
];
|
||||||
backup_at = "*-*-* 01:01:00";
|
backup_at = "*-*-* 00:11:00";
|
||||||
};
|
};
|
||||||
var_log = {
|
var_log = {
|
||||||
mountpoint = "/var/log";
|
mountpoint = "/var/log";
|
||||||
@ -38,7 +37,7 @@ let
|
|||||||
"+ /var/log/.snapshot-latest/caddy/access-jakstys.lt.log-*.zst"
|
"+ /var/log/.snapshot-latest/caddy/access-jakstys.lt.log-*.zst"
|
||||||
"- *"
|
"- *"
|
||||||
];
|
];
|
||||||
backup_at = "*-*-* 00:01:00";
|
backup_at = "*-*-* 00:10:00";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -148,6 +147,7 @@ in {
|
|||||||
headscale
|
headscale
|
||||||
mailutils
|
mailutils
|
||||||
nixos-option
|
nixos-option
|
||||||
|
unixtools.xxd
|
||||||
graphicsmagick
|
graphicsmagick
|
||||||
];
|
];
|
||||||
variables = {
|
variables = {
|
||||||
@ -519,8 +519,8 @@ in {
|
|||||||
@ SOA ns1.jakstys.lt. motiejus.jakstys.lt. (2023032100 86400 86400 86400 86400)
|
@ SOA ns1.jakstys.lt. motiejus.jakstys.lt. (2023032100 86400 86400 86400 86400)
|
||||||
@ NS ns1.jakstys.lt.
|
@ NS ns1.jakstys.lt.
|
||||||
@ NS ns2.jakstys.lt.
|
@ NS ns2.jakstys.lt.
|
||||||
@ 600 A ${ips.hel1a}
|
@ A ${ips.hel1a}
|
||||||
www 600 A ${ips.hel1a}
|
www A ${ips.hel1a}
|
||||||
ns1 A ${ips.vno1}
|
ns1 A ${ips.vno1}
|
||||||
ns2 A ${ips.hel1a}
|
ns2 A ${ips.hel1a}
|
||||||
beta A ${ips.hel1a}
|
beta A ${ips.hel1a}
|
||||||
@ -530,9 +530,7 @@ in {
|
|||||||
auth A ${ips.hel1a}
|
auth A ${ips.hel1a}
|
||||||
dl A ${ips.vno1}
|
dl A ${ips.vno1}
|
||||||
hel1-a A ${ips.hel1a}
|
hel1-a A ${ips.hel1a}
|
||||||
hel1-b A ${ips.hel1b}
|
|
||||||
vno1 A ${ips.vno1}
|
vno1 A ${ips.vno1}
|
||||||
resolver 10 A ${ips.hel1b}
|
|
||||||
@ MX 10 aspmx.l.google.com.
|
@ MX 10 aspmx.l.google.com.
|
||||||
@ MX 20 alt1.aspmx.l.google.com.
|
@ MX 20 alt1.aspmx.l.google.com.
|
||||||
@ MX 20 alt2.aspmx.l.google.com.
|
@ MX 20 alt2.aspmx.l.google.com.
|
||||||
@ -578,12 +576,13 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
system = {
|
system = {
|
||||||
|
# TODO: run the upgrades after the backup service is complete
|
||||||
autoUpgrade.enable = true;
|
autoUpgrade.enable = true;
|
||||||
autoUpgrade = {
|
autoUpgrade = {
|
||||||
allowReboot = true;
|
allowReboot = true;
|
||||||
dates = "23:30";
|
dates = "01:00";
|
||||||
rebootWindow = {
|
rebootWindow = {
|
||||||
lower = "23:30";
|
lower = "01:00";
|
||||||
upper = "03:00";
|
upper = "03:00";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user