This commit is contained in:
John Lancaster
2025-06-30 22:45:04 -05:00
parent c954124c13
commit 57d59a9dea
5 changed files with 53 additions and 23 deletions

View File

@@ -86,5 +86,39 @@
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
# programs.ssh.enable = true;
programs.zsh = lib.mkIf config.shell {
enable = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
oh-my-zsh = {
enable = true;
theme = "risto";
plugins = [
"sudo"
"dotenv"
"git"
"ssh"
"ssh-agent"
];
};
shellAliases.ls = "${pkgs.eza}/bin/eza -lgos type --no-time";
};
programs.ssh = lib.mkIf config.ssh {
enable = true;
extraConfig = ''
SetEnv TERM="xterm-256color"
'';
matchBlocks = lib.mkIf (config.profile == "personal") {
"panoptes" = {
hostname = "192.168.1.107";
user = "panoptes";
};
"pve5070" = {
hostname = "192.168.1.130";
user = "root";
};
};
};
}