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
2023-10-27 14:11:06 +08:00

91 lines
1.5 KiB
Nix

{ pkgs, ... }: {
programs = {
command-not-found.enable = true;
home-manager.enable = true;
bat = {
enable = true;
};
less = {
enable = true;
};
direnv = {
enable = true;
enableZshIntegration = true;
};
thefuck = {
enable = true;
enableZshIntegration = true;
};
eza = {
enable = true;
enableAliases = true;
git = true;
icons = true;
};
yazi = {
enable = true;
enableZshIntegration = true;
};
ssh = {
enable = true;
package = pkgs.openssh;
matchBlocks = {
"git-ssh.sense-t.eu.org" = {
hostname = "gitea.default";
};
"nas" = {
hostname = "192.168.1.25";
user = "rouji";
port = 2334;
};
};
};
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
'';
};
};
}