added more shell configs
This commit is contained in:
parent
cad626b5a6
commit
5cb36f9e8d
38
home.nix
38
home.nix
|
@ -5,6 +5,9 @@
|
|||
username = "tacocat";
|
||||
homeDirectory = "/home/tacocat";
|
||||
stateVersion = "23.11";
|
||||
sessionVariables = {
|
||||
EDITOR = "lvim";
|
||||
};
|
||||
packages = with pkgs; [
|
||||
wineWowPackages.unstable
|
||||
gcc-arm-embedded
|
||||
|
@ -20,7 +23,7 @@
|
|||
"/mnt/nixos/etc/nixos/"
|
||||
"/mnt/stuff/school/"
|
||||
];
|
||||
defaultKeymap = "vicmd";
|
||||
defaultKeymap = null; # was "vicmd"
|
||||
dotDir = ".config/zsh";
|
||||
history = {
|
||||
ignoreSpace = true;
|
||||
|
@ -30,6 +33,24 @@
|
|||
historySubstringSearch.enable = true;
|
||||
oh-my-zsh = {
|
||||
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"
|
||||
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 = {
|
||||
# enable = true;
|
||||
# theme.package = pkgs.adw-gtk3;
|
||||
|
|
Loading…
Reference in a new issue