run immich-ml from ytnix and add tailscale0 to trustedInterfaces

This commit is contained in:
cy 2025-03-09 22:23:58 -04:00
parent 59de12e892
commit 553a07f0a9
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts
5 changed files with 50 additions and 23 deletions

View file

@ -10,6 +10,7 @@
../common.nix
../zsh.nix
./tailscale.nix
./containers.nix
];
sops.age.keyFile = "/root/.config/sops/age/keys.txt";
@ -86,10 +87,12 @@
resolvconf.enable = true;
firewall = {
enable = true;
allowedTCPPorts = [
8080 # mitmproxy
22000 # syncthing
];
trustedInterfaces = [ "tailscale0" ];
# allowedTCPPorts = [
# 8080 # mitmproxy
# 22000 # syncthing
# 3003 # immich-ml
# ];
};
};
programs.nm-applet.enable = true;
@ -252,7 +255,6 @@
xdg.mime.defaultApplications = {
"application/pdf" = "okular.desktop";
"image/*" = "gwenview.desktop";
"*/html" = "chromium-browser.desktop";
};
virtualisation = {