Add zellij agent helpers

This commit is contained in:
2026-04-25 13:21:27 -07:00
parent 3a5aaa9351
commit 5ca4d2745e
9 changed files with 127 additions and 8 deletions

View File

@@ -12,6 +12,7 @@ let
++ (map (machineName: "${machineName}.local") machineNames)
++ extraManagedSshHosts;
managedSshHostCasePattern = lib.concatStringsSep "|" managedSshHostPatterns;
multiplexerAliases = import ../shared/multiplexer-aliases.nix;
in
with lib;
{
@@ -81,9 +82,7 @@ with lib;
shellAliases = {
df_ssh = "TERM=xterm-256color ssh -o StrictHostKeyChecking=no";
fix_nix = "LD_LIBRARY_PATH='' nix";
ta = "tmux attach";
za = "zellij attach";
};
} // multiplexerAliases;
variables = {
ROFI_SYSTEMD_TERM = "ghostty -e";
NIXPKGS_GIT_REV = "${inputs.nixpkgs.rev}";

4
nixos/flake.lock generated
View File

@@ -1548,8 +1548,8 @@
]
},
"locked": {
"lastModified": 1777078756,
"narHash": "sha256-514PXbaRust8FYqpArC2ar1Y2pyBrQOhWrL8EHbhJYs=",
"lastModified": 1777148012,
"narHash": "sha256-ExYOcgFOu8yTU00ZvZC0QLLuigaest/zhc3ecJsXnfs=",
"path": "/home/imalison/Projects/keepbook",
"type": "path"
},

View File

@@ -27,6 +27,10 @@ in {
static_history = []
'';
xdg.configFile."zellij/config.kdl".source =
config.lib.file.mkOutOfStoreSymlink
"${config.home.homeDirectory}/dotfiles/dotfiles/config/zellij/config.kdl";
xdg.mimeApps = lib.mkIf nixos.config.myModules.desktop.enable (
let
browser = "google-chrome.desktop";