6 Commits
Author SHA1 Message Date
jmug 2df0a3a2f9 fix(macbook): Don't clean homebrew. 2026-09-28 15:31:16 -07:00
jmugandjmug 89fec69f3e devbox: select Home Manager target by architecture (#2)
Co-authored-by: jmug <u.g.a.mariano@gmail.com>
Reviewed-on: #2
2026-09-25 20:42:20 +00:00
jmugandMariano Uvalle da805e15c6 feat: Refactor neovim to a more modern stack. (#1)
Co-authored-by: Mariano Uvalle <u.g.a.mariano@gmail.com>
Reviewed-on: #1
2026-09-25 19:52:00 +00:00
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 6 deletions
+2
View File
@@ -228,6 +228,7 @@
devbox = home-manager.lib.homeManagerConfiguration { devbox = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages."x86_64-linux"; pkgs = nixpkgs.legacyPackages."x86_64-linux";
extraSpecialArgs = { extraSpecialArgs = {
homeConfigurationName = "devbox";
pkgs-unstable = pkgs-unstable_x86_64-linux; pkgs-unstable = pkgs-unstable_x86_64-linux;
}; };
modules = [ modules = [
@@ -237,6 +238,7 @@
armdevbox = home-manager.lib.homeManagerConfiguration { armdevbox = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages."aarch64-linux"; pkgs = nixpkgs.legacyPackages."aarch64-linux";
extraSpecialArgs = { extraSpecialArgs = {
homeConfigurationName = "armdevbox";
pkgs-unstable = pkgs-unstable_aarch64-linux; pkgs-unstable = pkgs-unstable_aarch64-linux;
}; };
modules = [ modules = [
+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
'';
};
}
+2 -3
View File
@@ -30,7 +30,7 @@
enable = true; enable = true;
onActivation = { onActivation = {
autoUpdate = true; autoUpdate = true;
cleanup = "uninstall"; # cleanup = "uninstall";
upgrade = true; upgrade = true;
}; };
@@ -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 -2
View File
@@ -24,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
]; ];
@@ -116,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";
+2 -1
View File
@@ -1,4 +1,5 @@
{ {
homeConfigurationName,
pkgs, pkgs,
pkgs-unstable, pkgs-unstable,
... ...
@@ -28,7 +29,7 @@
programs.zsh = { programs.zsh = {
shellAliases = { shellAliases = {
homesw = "home-manager --flake /home/jmug/nixos#devbox --extra-experimental-features nix-command --extra-experimental-features flakes switch"; homesw = "home-manager --flake /home/jmug/nixos#${homeConfigurationName} --extra-experimental-features nix-command --extra-experimental-features flakes switch";
}; };
}; };