added more shell configs

This commit is contained in:
Aria Nolan 2023-10-09 10:33:10 -04:00
parent cad626b5a6
commit 5cb36f9e8d

View file

@ -5,6 +5,9 @@
username = "tacocat"; username = "tacocat";
homeDirectory = "/home/tacocat"; homeDirectory = "/home/tacocat";
stateVersion = "23.11"; stateVersion = "23.11";
sessionVariables = {
EDITOR = "lvim";
};
packages = with pkgs; [ packages = with pkgs; [
wineWowPackages.unstable wineWowPackages.unstable
gcc-arm-embedded gcc-arm-embedded
@ -20,7 +23,7 @@
"/mnt/nixos/etc/nixos/" "/mnt/nixos/etc/nixos/"
"/mnt/stuff/school/" "/mnt/stuff/school/"
]; ];
defaultKeymap = "vicmd"; defaultKeymap = null; # was "vicmd"
dotDir = ".config/zsh"; dotDir = ".config/zsh";
history = { history = {
ignoreSpace = true; ignoreSpace = true;
@ -30,6 +33,24 @@
historySubstringSearch.enable = true; historySubstringSearch.enable = true;
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
plugins = [
"z"
"git"
"vi-mode"
"thefuck"
];
theme = "bira"; # TODO: figure out how to source custom theme
# other cool themes:
# duellj
# simonoff
# strug
# bira
};
sessionVariables = {
};
shellAliases = {
ls = "eza";
}; };
}; };
@ -43,9 +64,22 @@ if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH" PATH="$HOME/.local/bin:$PATH"
fi fi
''; # this should be changed to use home.sessionVariables
profileExtra = ''
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/git_school
ssh-add ~/.ssh/git_personal
ssh-add ~/.ssh/id_ed25519
''; '';
}; };
# programs.kitty = {
# enable = true;
# };
# gtk = { # gtk = {
# enable = true; # enable = true;
# theme.package = pkgs.adw-gtk3; # theme.package = pkgs.adw-gtk3;