This repository has been archived on 2024-01-17. You can view files and clone it, but cannot push or open issues or pull requests.
code-server-configurations/programs.nix

48 lines
904 B
Nix
Raw Normal View History

2023-07-04 09:31:01 +00:00
{
programs = {
2023-07-04 10:41:54 +00:00
ssh.enable = true;
2023-07-04 09:31:01 +00:00
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;
2023-07-04 10:12:49 +00:00
syntaxHighlighting.enable = true;
2023-07-04 09:31:01 +00:00
enableVteIntegration = true;
oh-my-zsh = {
enable = true;
2023-07-04 10:12:49 +00:00
plugins = [ "sudo" "git" "golang" "thefuck" "kubectl" "pip" "npm" "yarn" "vscode" ];
2023-07-04 09:31:01 +00:00
theme = "fishy";
};
2023-07-04 10:23:34 +00:00
profileExtra = ''
# added by Nix installer
if [ -e /home/coder/.nix-profile/etc/profile.d/nix.sh ]; then
. /home/coder/.nix-profile/etc/profile.d/nix.sh
fi
'';
2023-07-04 09:31:01 +00:00
};
};
}