[NixOS] Enable k3s on biskcomp nixquick and railbird-sf

This commit is contained in:
Your Name 2024-09-30 20:47:12 -06:00
parent de27a133e7
commit 32755e1411
4 changed files with 14 additions and 1 deletions

View File

@ -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;

View File

@ -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 = {

View File

@ -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";

View File

@ -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";