all repos — dotfiles @ dcd495a6a7f358f1f0d1f4dcd961e3cf6d9b7b63

my *nix dotfiles

nix/sini: k3s: use tailscale ip as node ip
Anirudh Oppiliappan x@icyphox.sh
Wed, 03 Jul 2024 22:16:09 +0300
commit

dcd495a6a7f358f1f0d1f4dcd961e3cf6d9b7b63

parent

31b862cd094cc7dc027409ef044c462bce261430

1 files changed, 20 insertions(+), 19 deletions(-)

jump to
M hosts/sini/configuration.nixhosts/sini/configuration.nix

@@ -77,29 +77,30 @@

services.pixelfed = { enable = true; domain = "ani.place"; - secretFile = "/home/icy/svc/pixelfed/.env" - nginx.listen = [ - { addr = "0.0.0.0"; - port = "3535"; - } + secretFile = "/home/icy/svc/pixelfed/.env"; + nginx.listen = [ + { + addr = "0.0.0.0"; + port = 3535; + } ]; -}; + }; -# building only -virtualisation.docker.enable = true; + # building only + virtualisation.docker.enable = true; -services.k3s = { -enable = true; -extraFlags = "--disable=traefik --disable=servicelb --disable=metrics-server --bind-address=100.85.88.64"; -}; + services.k3s = { + enable = true; + extraFlags = "--disable=traefik --disable=servicelb --disable=metrics-server --bind-address=100.85.88.64 --node-ip=100.85.88.64 --node-external-ip=100.85.88.64"; + }; -services.dockerRegistry = { -enable = true; -listenAddress = "0.0.0.0"; -port = 5000; -}; + services.dockerRegistry = { + enable = true; + listenAddress = "0.0.0.0"; + port = 5000; + }; -nix.settings.experimental-features = [ "nix-command" "flakes" ]; -system.stateVersion = "24.05"; + nix.settings.experimental-features = [ "nix-command" "flakes" ]; + system.stateVersion = "24.05"; }