Nix configurations for my personal machines (Linux & macOS)

refactor: split tailscale into own module

ovyerus.com bb5eb9d5 cf995f67

verified
Changed files
+14 -6
modules
-6
modules/networking.nix
··· 39 39 # dnsovertls = "trues"; 40 40 }; 41 41 42 - services.tailscale = { 43 - enable = true; 44 - openFirewall = true; 45 - useRoutingFeatures = "client"; 46 - }; 47 - 48 42 # services.mullvad-vpn.enable = true; 49 43 # services.mullvad-vpn.package = pkgs.mullvad-vpn; 50 44
+14
modules/tailscale.nix
··· 1 + {delib, ...}: 2 + delib.module { 3 + name = "tailscale"; 4 + 5 + options = delib.singleEnableOption true; 6 + 7 + nixos.ifEnabled.services.tailscale = { 8 + enable = true; 9 + openFirewall = true; 10 + useRoutingFeatures = "client"; 11 + }; 12 + 13 + # home.ifEnabled.services.tailscale-systray.enable = true; 14 + }