Add zellij agent helpers
This commit is contained in:
@@ -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
4
nixos/flake.lock
generated
@@ -1548,8 +1548,8 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1777078756,
|
||||
"narHash": "sha256-514PXbaRust8FYqpArC2ar1Y2pyBrQOhWrL8EHbhJYs=",
|
||||
"lastModified": 1777148012,
|
||||
"narHash": "sha256-ExYOcgFOu8yTU00ZvZC0QLLuigaest/zhc3ecJsXnfs=",
|
||||
"path": "/home/imalison/Projects/keepbook",
|
||||
"type": "path"
|
||||
},
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user