This repository has been archived on 2024-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
my-darwin-nix-configuration/home.nix

80 lines
1.3 KiB
Nix
Raw Normal View History

2023-11-25 07:09:43 +00:00
{ pkgs, ... }: {
2023-06-18 12:41:10 +00:00
home = {
stateVersion = "23.05";
homeDirectory = "/Users/tonychyi";
packages = with pkgs; [
bat
ranger
coreutils
icdiff
podman
coreutils
gnutar
gnused
jdk17
kubectl
2023-09-01 12:10:47 +00:00
krew
kube-capacity
2023-06-18 12:41:10 +00:00
kubernetes-helm
arduino-cli
2023-07-23 02:08:19 +00:00
#obs-studio
2023-09-01 12:10:47 +00:00
#podman-desktop
2023-06-18 12:41:10 +00:00
];
shellAliases = {
cao = "fuck";
nixos-rebuild = "darwin-rebuild";
top = "htop";
pip = "pip3";
cat = "bat -p --paging=never -u";
2023-07-23 02:08:19 +00:00
diff = "icdiff";
2023-06-18 12:41:10 +00:00
};
sessionPath = [
"$HOME/.local/bin"
"$HOME/.cargo/bin"
"$GOPATH/bin"
];
};
2023-07-23 02:08:19 +00:00
2023-06-18 12:41:10 +00:00
programs = {
home-manager.enable = true;
timidity.enable = true;
2023-11-25 07:09:43 +00:00
thefuck.enable = true;
eza = {
enable = true;
enableAliases = true;
git = true;
icons = true;
};
direnv = {
enable = true;
enableZshIntegration = true;
};
2023-06-18 12:41:10 +00:00
vim = {
enable = true;
defaultEditor = true;
};
go = {
enable = true;
goPath = ".gopath";
};
zsh = {
enable = true;
enableSyntaxHighlighting = true;
oh-my-zsh = {
enable = true;
plugins = [ "sudo" "git" "golang" "thefuck" "kubectl" "emoji" "pip" "npm" "yarn" "vscode" ];
theme = "agnoster";
};
};
};
}