diff --git a/hosts/nixos/nfss/home.nix b/hosts/nixos/nfss/home.nix index f3dc4d3..e303847 100644 --- a/hosts/nixos/nfss/home.nix +++ b/hosts/nixos/nfss/home.nix @@ -4,6 +4,7 @@ imports = [ ../home-default.nix ../../../modules/tex.nix + ../../../modules/syncthing.nix ../../../modules/schedule.nix ]; diff --git a/hosts/nixos/nfss/system.nix b/hosts/nixos/nfss/system.nix index 3bd4d81..4f07007 100644 --- a/hosts/nixos/nfss/system.nix +++ b/hosts/nixos/nfss/system.nix @@ -2,6 +2,7 @@ imports = [ ./hardware-configuration.nix ../system-default.nix + ../../../modules/tailscale.nix ../../../modules/login-display.nix ]; @@ -119,4 +120,9 @@ diskUsagePaths = [ "/" "/home/" ]; }; + services.tailscale-custom = { + exitNode = true; + subnetRoutes = [ "10.1.1.0/24" ]; + }; + } diff --git a/modules/syncthing.nix b/modules/syncthing.nix index 4c80267..0a8c703 100644 --- a/modules/syncthing.nix +++ b/modules/syncthing.nix @@ -22,7 +22,7 @@ let stignoreContent = lib.concatStringsSep "\n" commonIgnores; # Device groupings - pcDevices = [ "macbook" "imac" "thinkpad" ]; + pcDevices = [ "macbook" "imac" "thinkpad" "nfss" ]; touchDevices = [ "iphone" "ipad" ]; allDevices = pcDevices ++ touchDevices; @@ -81,6 +81,9 @@ in "imac" = { id = "2ST6EEF-KN3R2E6-PN64WAS-XGJ22NV-BAWAQX6-OCZLYE3-V5IM2SE-S22REAA"; }; + "nfss" = { + id = "S4QZW76-BOLIOW7-DVP326F-JIGW5DW-3PAD47L-OA456LB-2L6JZW7-YUGJRA6"; + }; }; # Define shared folders (only enabled ones)