Compare commits

3 Commits
Author SHA1 Message Date
jmug 6cc9c8f5e3 Add herdr config. 2026-09-07 16:58:44 -07:00
jmug 90628cf036 [macbook] Add handmade-gitea ssh target. 2026-09-07 16:58:44 -07:00
jmug a7664be021 [macbook] Install github cli. 2026-09-07 16:58:44 -07:00
5 changed files with 51 additions and 74 deletions
Generated
+5 -62
View File
@@ -193,25 +193,6 @@
"type": "github" "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": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@@ -390,22 +371,6 @@
} }
}, },
"nixpkgs_3": { "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": { "locked": {
"lastModified": 1768323494, "lastModified": 1768323494,
"narHash": "sha256-yBXJLE6WCtrGo7LKiB6NOt6nisBEEkguC/lq/rP3zRQ=", "narHash": "sha256-yBXJLE6WCtrGo7LKiB6NOt6nisBEEkguC/lq/rP3zRQ=",
@@ -421,7 +386,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_5": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1749086602, "lastModified": 1749086602,
"narHash": "sha256-DJcgJMekoxVesl9kKjfLPix2Nbr42i7cpEHJiTnBUwU=", "narHash": "sha256-DJcgJMekoxVesl9kKjfLPix2Nbr42i7cpEHJiTnBUwU=",
@@ -437,7 +402,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_6": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1747542820, "lastModified": 1747542820,
"narHash": "sha256-GaOZntlJ6gPPbbkTLjbd8BMWaDYafhuuYRNrxCGnPJw=", "narHash": "sha256-GaOZntlJ6gPPbbkTLjbd8BMWaDYafhuuYRNrxCGnPJw=",
@@ -480,12 +445,11 @@
"apple-silicon": "apple-silicon", "apple-silicon": "apple-silicon",
"ghostty": "ghostty", "ghostty": "ghostty",
"godig": "godig", "godig": "godig",
"herdr": "herdr",
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"nix-darwin": "nix-darwin", "nix-darwin": "nix-darwin",
"nixgl": "nixgl", "nixgl": "nixgl",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_4", "nixpkgs": "nixpkgs_3",
"nixpkgs-darwin": "nixpkgs-darwin", "nixpkgs-darwin": "nixpkgs-darwin",
"nixpkgs-electron-32": "nixpkgs-electron-32", "nixpkgs-electron-32": "nixpkgs-electron-32",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
@@ -496,27 +460,6 @@
"zen-browser": "zen-browser" "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": { "sops-nix": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@@ -540,7 +483,7 @@
"ssh-agent-switcher": { "ssh-agent-switcher": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_5", "flake-utils": "flake-utils_5",
"nixpkgs": "nixpkgs_5" "nixpkgs": "nixpkgs_4"
}, },
"locked": { "locked": {
"lastModified": 1749108251, "lastModified": 1749108251,
@@ -649,7 +592,7 @@
}, },
"walker": { "walker": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_6", "nixpkgs": "nixpkgs_5",
"systems": "systems_6" "systems": "systems_6"
}, },
"locked": { "locked": {
-6
View File
@@ -51,11 +51,6 @@
inputs.nixpkgs.follows = "nixpkgs-unstable"; # Use same nixpkgs inputs.nixpkgs.follows = "nixpkgs-unstable"; # Use same nixpkgs
}; };
# Terminal workspace manager for AI coding agents.
herdr = {
url = "github:ogulcancelik/herdr";
};
# Zen browser. # Zen browser.
zen-browser = { zen-browser = {
url = "github:0xc000022070/zen-browser-flake"; url = "github:0xc000022070/zen-browser-flake";
@@ -200,7 +195,6 @@
inherit (config) user; inherit (config) user;
inherit opencode-tunneler; inherit opencode-tunneler;
inherit godig; inherit godig;
inherit (inputs) herdr;
}; };
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
+41
View File
@@ -0,0 +1,41 @@
{ ... }: {
home.file.".config/herdr/config.toml" = {
text = ''
[keys]
prefix = "ctrl+a"
# Use tmux-style session selection for workspace navigation.
workspace_picker = "prefix+s"
settings = "prefix+shift+s"
# Side-by-side panes (tmux's "|" / "\" split -h).
# NOTE: "backslash" as a key name is inferred, not confirmed in the docs.
# Verify against `herdr --default-config` and adjust if it doesn't bind.
split_vertical = "prefix+backslash"
# Stacked panes (tmux's "-" / "_" split -v).
split_horizontal = "prefix+minus"
detach = "prefix+d"
# Kept "f" for next-tab like the old tmux config; herdr's
# previous_tab default (prefix+p) already matched.
next_tab = "prefix+f"
close_pane = "prefix+w"
close_tab = "prefix+shift+w"
# Kept "," for rename-tab like the old tmux default.
rename_tab = "prefix+,"
[ui]
mouse_capture = true
[session]
# Replaces tmux-resurrect/continuum: agents and panes come back on reattach.
resume_agents_on_restore = true
'';
};
}
+1 -2
View File
@@ -39,9 +39,9 @@
}; };
taps = [ taps = [
# "agavra/tap"
]; ];
brews = [ brews = [
"gh"
"watchman" "watchman"
"vite" "vite"
"pipx" "pipx"
@@ -49,7 +49,6 @@
"glow" "glow"
"chromaprint" "chromaprint"
"libiconv" "libiconv"
# "agavra/tap/tuicr"
"automake" "automake"
"autoconf" "autoconf"
"pkg-config" "pkg-config"
+4 -4
View File
@@ -4,7 +4,6 @@
pkgs-unstable, pkgs-unstable,
opencode-tunneler, opencode-tunneler,
godig, godig,
herdr,
user, user,
... ...
} : } :
@@ -25,6 +24,7 @@ in {
../../home-modules/secretive.nix ../../home-modules/secretive.nix
../../home-modules/starship.nix ../../home-modules/starship.nix
../../home-modules/tmux.nix ../../home-modules/tmux.nix
../../home-modules/herdr.nix
../../home-modules/opencode-config.nix ../../home-modules/opencode-config.nix
../../home-modules/zsh.nix ../../home-modules/zsh.nix
]; ];
@@ -83,7 +83,6 @@ in {
opencode-tunneler.packages.aarch64-darwin.default opencode-tunneler.packages.aarch64-darwin.default
godig.packages.aarch64-darwin.service godig.packages.aarch64-darwin.service
herdr.packages.aarch64-darwin.default
]; ];
stateVersion = "24.11"; stateVersion = "24.11";
@@ -118,9 +117,10 @@ in {
hostname = "82.180.160.149"; hostname = "82.180.160.149";
forwardAgent = true; forwardAgent = true;
}; };
handmaderunner = { handmade-gitea = {
user = "jmug"; user = "jmug";
hostname = "2.25.209.218"; hostname = "40.160.241.66";
forwardAgent = true;
}; };
racknerd = { racknerd = {
user = "jmug"; user = "jmug";