diff --git a/nixos/k3s.nix b/nixos/k3s.nix index 0b22550d..7c79aabc 100644 --- a/nixos/k3s.nix +++ b/nixos/k3s.nix @@ -22,7 +22,6 @@ in { }; services.k3s = { enable = true; - role = "server"; clusterInit = cfg.serverAddr == ""; serverAddr = cfg.serverAddr; tokenFile = config.age.secrets."1896Folsom-k3s-token.age".path; diff --git a/nixos/machines/biskcomp.nix b/nixos/machines/biskcomp.nix index f8e19162..90603629 100644 --- a/nixos/machines/biskcomp.nix +++ b/nixos/machines/biskcomp.nix @@ -33,6 +33,12 @@ in myModules.gitea.enable = true; myModules.gitea-runner.enable = false; + myModules.railbird-k3s = { + enable = true; + serverAddr = "https://dev.railbird.ai:6443"; + }; + services.k3s.disableAgent = true; + services.vaultwarden = { enable = true; config = { diff --git a/nixos/machines/nixquick.nix b/nixos/machines/nixquick.nix index 49595c07..25bf2da7 100644 --- a/nixos/machines/nixquick.nix +++ b/nixos/machines/nixquick.nix @@ -19,6 +19,10 @@ myModules.vscode.enable = true; myModules.kat.enable = true; myModules.nvidia.enable = true; + myModules.railbird-k3s = { + enable = true; + serverAddr = "https://dev.railbird.ai:6443"; + }; networking.hostName = "nixquick"; diff --git a/nixos/machines/railbird-sf.nix b/nixos/machines/railbird-sf.nix index faccfd94..252e3d7e 100644 --- a/nixos/machines/railbird-sf.nix +++ b/nixos/machines/railbird-sf.nix @@ -41,6 +41,10 @@ myModules.plasma.enable = true; myModules.nvidia.enable = true; myModules.gitea-runner.enable = true; + myModules.railbird-k3s = { + enable = true; + serverAddr = "https://dev.railbird.ai:6443"; + }; fileSystems."/" = { device = "/dev/disk/by-uuid/a317d456-6f84-41ee-a149-8e466e414aae";