52 lines
918 B
Nix
52 lines
918 B
Nix
{ lib, config, ... }: {
|
|
programs = {
|
|
ssh = {
|
|
enable = true;
|
|
matchBlocks = {
|
|
"git-ssh.sense-t.eu.org" = {
|
|
hostname = "gitea.default";
|
|
};
|
|
};
|
|
};
|
|
|
|
go = {
|
|
enable = true;
|
|
goPath = ".local/go";
|
|
};
|
|
|
|
git = {
|
|
enable = true;
|
|
userName = "Sense T";
|
|
userEmail = "me@sense-t.eu.org";
|
|
|
|
ignores = [
|
|
".DS_Store"
|
|
"*~"
|
|
"*.swp"
|
|
];
|
|
};
|
|
|
|
vim = {
|
|
enable = true;
|
|
defaultEditor = true;
|
|
};
|
|
|
|
zsh = {
|
|
enable = true;
|
|
enableAutosuggestions = true;
|
|
syntaxHighlighting.enable = true;
|
|
enableVteIntegration = true;
|
|
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
plugins = [ "sudo" "git" "golang" "thefuck" "kubectl" "pip" "npm" "yarn" "vscode" "rust" ];
|
|
theme = "fishy";
|
|
};
|
|
|
|
profileExtra = ''
|
|
source .profile
|
|
'';
|
|
};
|
|
};
|
|
}
|