fix: slurm and stuff

This commit is contained in:
2025-09-25 12:17:28 +02:00
parent 46cf9da93f
commit 3c0a7f91f5
5 changed files with 24 additions and 8 deletions

View File

@@ -78,7 +78,8 @@ in {
slurm.server = true;
slurm.slurmrestd = true;
slurm.mungeUid = 993;
manage = true;
slurm.dbdHost = "ekman-manage.obx.hs";
manageNode = true;
};
k8s = {
@@ -264,6 +265,15 @@ in {
'';
};
services.dnsmasq.settings = {
domain = [ "hbx.hs" ];
server = [
"8.8.8.8"
"/obx.hs/100.100.100.100" # headscale dns
];
address = [ ];
};
# Use nvd to get package diff before apply
system.activationScripts.system-diff = {
supportsDryActivation = true; # safe: only outputs to stdout
@@ -315,7 +325,7 @@ in {
useRoutingFeatures = "both"; # for exit-node usage
extraUpFlags = [
"--login-server=https://headscale.svc.oceanbox.io"
"--accept-dns=true"
# "--accept-dns=true" # see dnsmasq
"--advertise-exit-node"
"--advertise-routes=172.16.239.0/24,172.16.238.0/24"
];