feat(servers): setup borgbackup repos

This commit is contained in:
matt1432 2024-03-02 22:04:23 -05:00
parent 8b902e9c00
commit 21c94df25a
8 changed files with 294 additions and 102 deletions

View file

@ -18,7 +18,6 @@ in {
# Custom DNS
local-zone = [
"pve.nelim.org redirect"
"headscale.nelim.org redirect"
"git.nelim.org redirect"
"mc.nelim.org transparent"
@ -34,8 +33,6 @@ in {
then "100.64.0.8"
else "100.64.0.9";
in [
"\"pve.nelim.org IN A 100.64.0.4\""
"\"headscale.nelim.org. IN A ${wanIP}\""
"\"git.nelim.org. IN A ${wanIP}\""

View file

@ -26,6 +26,7 @@ in {
extraGroups = [
"wheel"
"adm"
"borg"
];
};

View file

@ -42,13 +42,6 @@
};
};
swapDevices = [
{
device = "/var/lib/swapfile";
size = 16 * 1024;
}
];
zramSwap.enable = true;
hardware.cpu.intel.updateMicrocode = config.hardware.enableRedistributableFirmware;

View file

@ -29,8 +29,8 @@ in {
rwDataDir = configPath;
};
#services.borgbackup.configs.arion = {
# paths = [configPath];
# exclude = ["**/lineageos*"];
#};
services.borgbackup.configs.arion = {
paths = [configPath];
exclude = ["**/lineageos*"];
};
}