Added configuration-common.nix

This commit is contained in:
2025-08-21 11:34:23 -04:00
parent f63f0f897a
commit be99293472
4 changed files with 77 additions and 27 deletions

View File

@@ -177,6 +177,28 @@ bind F3 send-keys 'igrep .' C-m
enableBashIntegration = true;
enableZshIntegration = true;
};
programs.ssh = {
enable = true;
extraConfig = ''
Host *
ServerAliveInterval 30
ServerAliveCountMax 3
AddKeysToAgent yes
'';
matchBlocks = {
samphone = {
host = "10.0.0.153";
user = "u0_a771";
port = 8022;
identityFile = "~/.ssh/id_ed25519";
};
git.local = {
host = "10.0.0.125";
user = "git";
identityFile = "~/.ssh/id_ed25519";
};
};
};
programs.starship = {
enable = true;
# custom settings