this repo has no description

modules/tailscale: init

Changed files
+31
modules
systems
leopard
tardigrade
+1
modules/nixos/default.nix
··· 7 7 ./nginx.nix 8 8 ./pocket-id.nix 9 9 ./system 10 + ./tailscale.nix 10 11 ]; 11 12 12 13 config = {
+24
modules/nixos/tailscale.nix
··· 1 + { 2 + config, 3 + lib, 4 + ... 5 + }: 6 + let 7 + inherit (lib) 8 + mkEnableOption 9 + mkIf 10 + ; 11 + cfg = config.pica.services.tailscale; 12 + in 13 + { 14 + options.pica.services = { 15 + tailscale.enable = mkEnableOption "tailscale"; 16 + }; 17 + 18 + config = mkIf cfg.enable { 19 + services.tailscale = { 20 + enable = true; 21 + extraSetFlags = [ "--ssh" ]; 22 + }; 23 + }; 24 + }
+4
systems/leopard/default.nix
··· 20 20 graphical.enable = true; 21 21 }; 22 22 23 + services = { 24 + tailscale.enable = true; 25 + }; 26 + 23 27 printing.enable = true; 24 28 networking.enable = true; 25 29 fprintd = {
+2
systems/tardigrade/default.nix
··· 29 29 domain = "login.${config.networking.domain}"; 30 30 webfinger.enable = true; 31 31 }; 32 + 33 + tailscale.enable = true; 32 34 }; 33 35 34 36 metrics = {