add homelab, nc
This commit is contained in:
parent
ab7d7e6b81
commit
e179c6e9d5
10 changed files with 206 additions and 40 deletions
16
nixos/nc/k3s.nix
Normal file
16
nixos/nc/k3s.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
k3s
|
||||
];
|
||||
services.k3s = {
|
||||
enable = true;
|
||||
role = "server";
|
||||
extraFlags = toString [
|
||||
"--disable traefik"
|
||||
"--tls-san nc.tailc353f.ts.net"
|
||||
"--node-ip 100.67.112.98"
|
||||
"--advertise-address 100.67.112.98"
|
||||
"--node-external-ip 94.16.113.7"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue