[NixOS] Enable k3s on biskcomp nixquick and railbird-sf
This commit is contained in:
parent
de27a133e7
commit
32755e1411
@ -22,7 +22,6 @@ in {
|
|||||||
};
|
};
|
||||||
services.k3s = {
|
services.k3s = {
|
||||||
enable = true;
|
enable = true;
|
||||||
role = "server";
|
|
||||||
clusterInit = cfg.serverAddr == "";
|
clusterInit = cfg.serverAddr == "";
|
||||||
serverAddr = cfg.serverAddr;
|
serverAddr = cfg.serverAddr;
|
||||||
tokenFile = config.age.secrets."1896Folsom-k3s-token.age".path;
|
tokenFile = config.age.secrets."1896Folsom-k3s-token.age".path;
|
||||||
|
@ -33,6 +33,12 @@ in
|
|||||||
myModules.gitea.enable = true;
|
myModules.gitea.enable = true;
|
||||||
myModules.gitea-runner.enable = false;
|
myModules.gitea-runner.enable = false;
|
||||||
|
|
||||||
|
myModules.railbird-k3s = {
|
||||||
|
enable = true;
|
||||||
|
serverAddr = "https://dev.railbird.ai:6443";
|
||||||
|
};
|
||||||
|
services.k3s.disableAgent = true;
|
||||||
|
|
||||||
services.vaultwarden = {
|
services.vaultwarden = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config = {
|
config = {
|
||||||
|
@ -19,6 +19,10 @@
|
|||||||
myModules.vscode.enable = true;
|
myModules.vscode.enable = true;
|
||||||
myModules.kat.enable = true;
|
myModules.kat.enable = true;
|
||||||
myModules.nvidia.enable = true;
|
myModules.nvidia.enable = true;
|
||||||
|
myModules.railbird-k3s = {
|
||||||
|
enable = true;
|
||||||
|
serverAddr = "https://dev.railbird.ai:6443";
|
||||||
|
};
|
||||||
|
|
||||||
networking.hostName = "nixquick";
|
networking.hostName = "nixquick";
|
||||||
|
|
||||||
|
@ -41,6 +41,10 @@
|
|||||||
myModules.plasma.enable = true;
|
myModules.plasma.enable = true;
|
||||||
myModules.nvidia.enable = true;
|
myModules.nvidia.enable = true;
|
||||||
myModules.gitea-runner.enable = true;
|
myModules.gitea-runner.enable = true;
|
||||||
|
myModules.railbird-k3s = {
|
||||||
|
enable = true;
|
||||||
|
serverAddr = "https://dev.railbird.ai:6443";
|
||||||
|
};
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/a317d456-6f84-41ee-a149-8e466e414aae";
|
{ device = "/dev/disk/by-uuid/a317d456-6f84-41ee-a149-8e466e414aae";
|
||||||
|
Loading…
Reference in New Issue
Block a user