fix: slurm and stuff
This commit is contained in:
@@ -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"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user