aboutsummaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-05-22 10:23:58 -0500
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-05-22 10:24:06 -0500
commit35af4bab99da94845ebd6e9b2efae6a544d39b35 (patch)
tree47c6f76b47f1012932729c9f693316df1512197a /modules/system
parent2e0c6ccbbc76cc36e92128aea44e4bdd4e5c3d0a (diff)
LOTS OF TEMP STUFF
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/nixos/networking/tailscale.nix33
-rw-r--r--modules/system/options.nix2
2 files changed, 0 insertions, 35 deletions
diff --git a/modules/system/nixos/networking/tailscale.nix b/modules/system/nixos/networking/tailscale.nix
deleted file mode 100644
index 552ec8b..0000000
--- a/modules/system/nixos/networking/tailscale.nix
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- config,
- pkgs,
- lib,
- ...
-}: let
- cfg = config.collinux.system.network.tailscale;
-in
- lib.mkIf cfg.enable {
- services.tailscale = {
- enable = true;
- useRoutingFeatures = "both";
- };
-
- networking.firewall = {
- trustedInterfaces = ["tailscale0"];
- allowedUDPPorts = [config.services.tailscale.port];
- };
-
- systemd.services."tailscaled" =
- if config.collinux.services.selfhost.headscale.enable
- then {
- # don't start tailscale until after headscale starts
- wants = lib.mkForce ["network.target" "headscale.target"];
- after = lib.mkForce ["network.target" "headscale.target"];
- }
- else {
- wants = lib.mkForce ["network.target"];
- after = lib.mkForce ["network.target"];
- };
-
- environment.systemPackages = [pkgs.tailscale];
- }
diff --git a/modules/system/options.nix b/modules/system/options.nix
index 8126b6a..a6db575 100644
--- a/modules/system/options.nix
+++ b/modules/system/options.nix
@@ -64,8 +64,6 @@ in {
};
dynamic = lib.mkEnableOption "Enable dynamically joining wireless networks with iwd";
};
-
- tailscale.enable = mkEnableOption "tailscale";
};
audio.enable = mkEnableOption "pipewire and wireplumber";