diff --git a/flake.lock b/flake.lock index 8f2e9b9..c8c2ae7 100644 --- a/flake.lock +++ b/flake.lock @@ -1690,7 +1690,8 @@ "nixpkgs-unstable": "nixpkgs-unstable", "noctalia": "noctalia", "stylix": "stylix", - "systems": "systems_6" + "systems": "systems_6", + "tether": "tether" } }, "rust-analyzer-src": { @@ -1834,6 +1835,26 @@ "type": "github" } }, + "tether": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1788494641, + "narHash": "sha256-3AV6UCAPw3A2bYXvxHN2xfcOk0Ch/OzYKCuaVCgg83g=", + "owner": "zackb", + "repo": "tether", + "rev": "530d219dcbea42cbea116cc307f6a7b751bafbbc", + "type": "github" + }, + "original": { + "owner": "zackb", + "repo": "tether", + "type": "github" + } + }, "tinted-kitty": { "flake": false, "locked": { diff --git a/flake.nix b/flake.nix index 3c592a8..8ab85e6 100644 --- a/flake.nix +++ b/flake.nix @@ -59,6 +59,11 @@ url = "github:patrickjaja/claude-desktop-extra"; inputs.nixpkgs.follows = "nixpkgs"; }; + # Tether — iPhone ↔ Linux Wayland bridge + tether = { + url = "github:zackb/tether"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = { self @@ -81,6 +86,7 @@ , agenix , hermes-agent , claude-desktop + , tether }: let # Libs @@ -116,6 +122,7 @@ claude-desktop flox determinate + tether ; }; } diff --git a/hosts/fwbook.nix b/hosts/fwbook.nix index ab57fd1..c28b292 100644 --- a/hosts/fwbook.nix +++ b/hosts/fwbook.nix @@ -234,6 +234,18 @@ in ]); services.usbmuxd.enable = true; + # Tether — iPhone ↔ Linux Wayland bridge + programs.tether = { + enable = true; + wifi = { + enable = true; + openFirewall = true; + }; + bluetooth = { + enable = true; + adapters = [ "hci0" ]; + }; + }; services.flatpak.packages = [ "com.cassidyjames.butler" "io.dbeaver.DBeaverCommunity" diff --git a/modules/ABOUTME.md b/modules/ABOUTME.md index d34219e..920b3ac 100644 --- a/modules/ABOUTME.md +++ b/modules/ABOUTME.md @@ -8,6 +8,7 @@ All reusable NixOS and Home Manager modules. Every host gets the full module tre ``` modules/ ├── lib.nix # makeNixOs / makeIso / makeHomeManagerUsers / makeDarwinModule / eachSystem +│ # (registers the `tether` flake input's NixOS module → programs.tether.*) ├── main.nix # Base module imported by every host: core/ + nixos/ + network-drives.nix ├── skyg-utils.nix # makeHyperlinkScriptToConfigs (symlinks configs/ → ~/.config/) ├── macos.nix # macOS / nix-darwin module diff --git a/modules/lib.nix b/modules/lib.nix index 7bc4a32..0ad9d29 100644 --- a/modules/lib.nix +++ b/modules/lib.nix @@ -47,6 +47,7 @@ let specialArgs.dms.nixosModules.greeter specialArgs.nix-index-database.nixosModules.nix-index specialArgs.hermes-agent.nixosModules.default + specialArgs.tether.nixosModules.default { programs.nix-index-database.comma.enable = true; } ]; diff --git a/secrets/glmain.json.age b/secrets/glmain.json.age index dbac892..cb45fb4 100644 Binary files a/secrets/glmain.json.age and b/secrets/glmain.json.age differ