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

95 lines
1.6 KiB
Nix
Raw Normal View History

2023-10-10 08:43:43 +00:00
{ pkgs, ... }: {
programs = {
2023-10-27 06:11:06 +00:00
command-not-found.enable = true;
2023-10-10 08:43:43 +00:00
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;
};
2023-07-04 10:46:36 +00:00
ssh = {
enable = true;
2023-10-10 08:43:43 +00:00
package = pkgs.openssh;
2023-07-04 10:46:36 +00:00
matchBlocks = {
"git-ssh.sense-t.eu.org" = {
hostname = "gitea.default";
};
2023-09-28 05:36:53 +00:00
"nas" = {
hostname = "192.168.1.25";
user = "rouji";
port = 2334;
};
2024-01-12 00:02:41 +00:00
"vps" = {
hostname = "wetofu.me";
user = "login";
};
2023-07-04 10:46:36 +00:00
};
};
2023-07-04 09:31:01 +00:00
go = {
2023-10-27 06:11:06 +00:00
enable = true;
2023-07-04 09:31:01 +00:00
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-07 05:04:37 +00:00
plugins = [ "sudo" "git" "golang" "thefuck" "kubectl" "pip" "npm" "yarn" "vscode" "rust" ];
2023-07-04 09:31:01 +00:00
theme = "fishy";
};
2023-07-04 10:23:34 +00:00
2023-07-07 06:05:49 +00:00
profileExtra = ''
source .profile
2023-07-04 10:23:34 +00:00
'';
2023-07-04 09:31:01 +00:00
};
};
}