From b287488a0b668b3a1ed4b039537716bd8015a566 Mon Sep 17 00:00:00 2001 From: jmug Date: Fri, 4 Sep 2026 23:34:17 -0700 Subject: [PATCH] [macbook] Add herdr. --- flake.lock | 67 ++++++++++++++++++++++++++++++++++++++---- flake.nix | 6 ++++ hosts/macbook/home.nix | 2 ++ 3 files changed, 70 insertions(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index e45c2e7..2e507b8 100644 --- a/flake.lock +++ b/flake.lock @@ -193,6 +193,25 @@ "type": "github" } }, + "herdr": { + "inputs": { + "nixpkgs": "nixpkgs_3", + "rust-overlay": "rust-overlay" + }, + "locked": { + "lastModified": 1784213830, + "narHash": "sha256-51752gcxLf+W1cFw9u8aCJ+78h8/wQYhsnMX4NkNnYU=", + "owner": "ogulcancelik", + "repo": "herdr", + "rev": "6e4768a7ccb172b96c30eabe745747fbde31f777", + "type": "github" + }, + "original": { + "owner": "ogulcancelik", + "repo": "herdr", + "type": "github" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -371,6 +390,22 @@ } }, "nixpkgs_3": { + "locked": { + "lastModified": 1779357205, + "narHash": "sha256-cCO8aTqss5x9Ky8GWkpY0Hy5fyTZEbtifSUV8QjSzic=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "f83fc3c307e74bc5fd5adb7eb6b8b13ffd2a36e1", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_4": { "locked": { "lastModified": 1768323494, "narHash": "sha256-yBXJLE6WCtrGo7LKiB6NOt6nisBEEkguC/lq/rP3zRQ=", @@ -386,7 +421,7 @@ "type": "github" } }, - "nixpkgs_4": { + "nixpkgs_5": { "locked": { "lastModified": 1749086602, "narHash": "sha256-DJcgJMekoxVesl9kKjfLPix2Nbr42i7cpEHJiTnBUwU=", @@ -402,7 +437,7 @@ "type": "github" } }, - "nixpkgs_5": { + "nixpkgs_6": { "locked": { "lastModified": 1747542820, "narHash": "sha256-GaOZntlJ6gPPbbkTLjbd8BMWaDYafhuuYRNrxCGnPJw=", @@ -445,11 +480,12 @@ "apple-silicon": "apple-silicon", "ghostty": "ghostty", "godig": "godig", + "herdr": "herdr", "home-manager": "home-manager_2", "nix-darwin": "nix-darwin", "nixgl": "nixgl", "nixos-hardware": "nixos-hardware", - "nixpkgs": "nixpkgs_3", + "nixpkgs": "nixpkgs_4", "nixpkgs-darwin": "nixpkgs-darwin", "nixpkgs-electron-32": "nixpkgs-electron-32", "nixpkgs-unstable": "nixpkgs-unstable", @@ -460,6 +496,27 @@ "zen-browser": "zen-browser" } }, + "rust-overlay": { + "inputs": { + "nixpkgs": [ + "herdr", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1783577481, + "narHash": "sha256-EWMxOWrJ031f8f/lrcEmhTRs4npw1/5N3Hcjin846c8=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "4cdea398dc491b082dccdce0fad1ed0b75fa3394", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, "sops-nix": { "inputs": { "nixpkgs": [ @@ -483,7 +540,7 @@ "ssh-agent-switcher": { "inputs": { "flake-utils": "flake-utils_5", - "nixpkgs": "nixpkgs_4" + "nixpkgs": "nixpkgs_5" }, "locked": { "lastModified": 1749108251, @@ -592,7 +649,7 @@ }, "walker": { "inputs": { - "nixpkgs": "nixpkgs_5", + "nixpkgs": "nixpkgs_6", "systems": "systems_6" }, "locked": { diff --git a/flake.nix b/flake.nix index 30c4cf8..4d3f053 100644 --- a/flake.nix +++ b/flake.nix @@ -51,6 +51,11 @@ inputs.nixpkgs.follows = "nixpkgs-unstable"; # Use same nixpkgs }; + # Terminal workspace manager for AI coding agents. + herdr = { + url = "github:ogulcancelik/herdr"; + }; + # Zen browser. zen-browser = { url = "github:0xc000022070/zen-browser-flake"; @@ -195,6 +200,7 @@ inherit (config) user; inherit opencode-tunneler; inherit godig; + inherit (inputs) herdr; }; home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; diff --git a/hosts/macbook/home.nix b/hosts/macbook/home.nix index 657f8c0..cb865a4 100644 --- a/hosts/macbook/home.nix +++ b/hosts/macbook/home.nix @@ -4,6 +4,7 @@ pkgs-unstable, opencode-tunneler, godig, + herdr, user, ... } : @@ -82,6 +83,7 @@ in { opencode-tunneler.packages.aarch64-darwin.default godig.packages.aarch64-darwin.service + herdr.packages.aarch64-darwin.default ]; stateVersion = "24.11";