housekeeping

This commit is contained in:
2025-07-22 10:58:27 +02:00
parent 272d7c5580
commit 2187a22eee
8 changed files with 8 additions and 50 deletions

View File

@@ -29,4 +29,4 @@
};
};
};
}
}

View File

@@ -14,4 +14,3 @@
};
}

View File

@@ -24,4 +24,4 @@
# intel-compute-runtime-legacy1
];
};
}
}

View File

@@ -24,4 +24,4 @@
};
};
};
}
}

View File

@@ -20,4 +20,4 @@
where = config.vars.nfs_mount;
}];
}
}

View File

@@ -1,41 +0,0 @@
{ config, pkgs, ... }:
{
services.zrepl = {
enable = true;
settings = {
global = {
logging = [{
# use syslog instead of stdout because it makes journald happy
type = "syslog";
format = "human";
level = "info";
}];
};
jobs = [{
type = "source";
name = "pullsource";
send = {
encrypted = true;
};
serve = {
type = "stdinserver";
client_identities = [ "siredward" ];
};
filesystems = {
"SERVICE/volumes" = true;
};
snapshotting = {
type = "periodic";
prefix = "SN_";
interval = "1h";
};
}];
};
};
environment.systemPackages = [ pkgs.zrepl ];
services.nfs.server.enable = true;
}

View File

@@ -21,4 +21,4 @@
# tree
# ];
};
}
}

View File

@@ -43,8 +43,8 @@ with lib;
type = types.str;
};
interfaces = mkOption {
type = listOf types.str;
};
type = types.listOf types.str;
};
# KEEPALIVED
ka_addr_v4 = mkOption {
@@ -75,4 +75,4 @@ with lib;
type = types.str;
};
};
}
}