[macbook] Add opencode-tunneler.

This commit is contained in:
Mariano Uvalle 2025-08-24 00:03:26 -07:00
parent f77c41dc8d
commit d622e62d68
3 changed files with 76 additions and 6 deletions

71
flake.lock generated
View file

@ -86,7 +86,28 @@
}, },
"flake-utils_3": { "flake-utils_3": {
"inputs": { "inputs": {
"systems": "systems_2" "systems": [
"opencode-tunneler",
"systems"
]
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_4": {
"inputs": {
"systems": "systems_3"
}, },
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1731533236,
@ -302,11 +323,11 @@
}, },
"nixpkgs-unstable_2": { "nixpkgs-unstable_2": {
"locked": { "locked": {
"lastModified": 1753429684, "lastModified": 1755615617,
"narHash": "sha256-9h7+4/53cSfQ/uA3pSvCaBepmZaz/dLlLVJnbQ+SJjk=", "narHash": "sha256-HMwfAJBdrr8wXAkbGhtcby1zGFvs+StOp19xNsbqdOg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "7fd36ee82c0275fb545775cc5e4d30542899511d", "rev": "20075955deac2583bb12f07151c2df830ef346b4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -364,6 +385,28 @@
"type": "github" "type": "github"
} }
}, },
"opencode-tunneler": {
"inputs": {
"flake-utils": "flake-utils_3",
"nixpkgs": [
"nixpkgs-unstable"
],
"systems": "systems_2"
},
"locked": {
"lastModified": 1756017009,
"narHash": "sha256-93UEbdl3XqilBp2wI09XDv4lLT135eawBRb41aObwLI=",
"owner": "AYM1607",
"repo": "opencode-tunneler",
"rev": "9c91f30ecf4a610bc4e48dc221c000dc1f3297f7",
"type": "github"
},
"original": {
"owner": "AYM1607",
"repo": "opencode-tunneler",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"apple-silicon": "apple-silicon", "apple-silicon": "apple-silicon",
@ -377,6 +420,7 @@
"nixpkgs-electron-32": "nixpkgs-electron-32", "nixpkgs-electron-32": "nixpkgs-electron-32",
"nixpkgs-msft-go": "nixpkgs-msft-go", "nixpkgs-msft-go": "nixpkgs-msft-go",
"nixpkgs-unstable": "nixpkgs-unstable_2", "nixpkgs-unstable": "nixpkgs-unstable_2",
"opencode-tunneler": "opencode-tunneler",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
"ssh-agent-switcher": "ssh-agent-switcher", "ssh-agent-switcher": "ssh-agent-switcher",
"walker": "walker" "walker": "walker"
@ -404,7 +448,7 @@
}, },
"ssh-agent-switcher": { "ssh-agent-switcher": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_3", "flake-utils": "flake-utils_4",
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
@ -453,6 +497,21 @@
} }
}, },
"systems_3": { "systems_3": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_4": {
"locked": { "locked": {
"lastModified": 1689347949, "lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
@ -470,7 +529,7 @@
"walker": { "walker": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_4", "nixpkgs": "nixpkgs_4",
"systems": "systems_3" "systems": "systems_4"
}, },
"locked": { "locked": {
"lastModified": 1748171996, "lastModified": 1748171996,

View file

@ -43,6 +43,11 @@
ssh-agent-switcher = { ssh-agent-switcher = {
url = "github:AYM1607/ssh-agent-switcher/6cd7ce973cf08656d42e475945216d8c0f0b0c7b"; url = "github:AYM1607/ssh-agent-switcher/6cd7ce973cf08656d42e475945216d8c0f0b0c7b";
}; };
opencode-tunneler = {
url = "github:AYM1607/opencode-tunneler";
inputs.nixpkgs.follows = "nixpkgs-unstable"; # Use same nixpkgs
};
}; };
outputs = { outputs = {
@ -57,6 +62,7 @@
ghostty, ghostty,
nixgl, nixgl,
ssh-agent-switcher, ssh-agent-switcher,
opencode-tunneler,
... ...
}@inputs: { }@inputs: {
nixosConfigurations = { nixosConfigurations = {
@ -145,6 +151,7 @@
home-manager.extraSpecialArgs = { home-manager.extraSpecialArgs = {
pkgs-unstable = pkgs-unstable_aarch64-darwin; pkgs-unstable = pkgs-unstable_aarch64-darwin;
inherit (config) user; inherit (config) user;
inherit opencode-tunneler;
}; };
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;

View file

@ -2,6 +2,7 @@
config, config,
pkgs, pkgs,
pkgs-unstable, pkgs-unstable,
opencode-tunneler,
user, user,
... ...
} : } :
@ -60,6 +61,7 @@ in {
}; };
})) }))
pkgs-unstable.vscode pkgs-unstable.vscode
pkgs-unstable.ngrok
pkgs-unstable.go pkgs-unstable.go
pkgs-unstable.gopls pkgs-unstable.gopls
@ -68,6 +70,8 @@ in {
# Expo. # Expo.
pkgs-unstable.nodejs_24 pkgs-unstable.nodejs_24
pkgs-unstable.eas-cli pkgs-unstable.eas-cli
opencode-tunneler.packages.aarch64-darwin.default
]; ];
stateVersion = "24.11"; stateVersion = "24.11";