Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
30d2f29e7b | ||
|
|
c8ac0bb8d0 | ||
|
|
da805e15c6 | ||
|
|
6cc9c8f5e3 | ||
|
|
90628cf036 | ||
|
|
a7664be021 |
@@ -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 = [
|
||||||
|
|||||||
@@ -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
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
@@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user