[NixOS] Try to add a taint to ryzen-shine k3s
This commit is contained in:
@@ -16,6 +16,10 @@ in {
|
|||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
default = "";
|
default = "";
|
||||||
};
|
};
|
||||||
|
extraFlags = mkOption {
|
||||||
|
type = lib.types.listOf lib.types.str;
|
||||||
|
default = [];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
@@ -72,7 +76,7 @@ in {
|
|||||||
"--tls-san jimi-hendnix.local"
|
"--tls-san jimi-hendnix.local"
|
||||||
"--tls-san dev.railbird.ai"
|
"--tls-san dev.railbird.ai"
|
||||||
"--node-label nixos-nvidia-cdi=enabled"
|
"--node-label nixos-nvidia-cdi=enabled"
|
||||||
];
|
] ++ cfg.extraFlags;
|
||||||
containerdConfigTemplate = ''
|
containerdConfigTemplate = ''
|
||||||
{{ template "base" . }}
|
{{ template "base" . }}
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,10 @@
|
|||||||
};
|
};
|
||||||
myModules.gitea-runner.enable = true;
|
myModules.gitea-runner.enable = true;
|
||||||
myModules.postgres.enable = true;
|
myModules.postgres.enable = true;
|
||||||
myModules.railbird-k3s.enable = true;
|
myModules.railbird-k3s = {
|
||||||
|
enable = true;
|
||||||
|
extraFlags = ["--node-taint preferNoSchedule=true:NoSchedule"];
|
||||||
|
};
|
||||||
|
|
||||||
boot.loader.systemd-boot.configurationLimit = 5;
|
boot.loader.systemd-boot.configurationLimit = 5;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user