added nh
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
{
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
clean.enable = true;
|
||||
clean.extraArgs = "--keep-since 4d --keep 3";
|
||||
flake = "/home/lukas/nixos"; # sets NH_OS_FLAKE variable for you
|
||||
};
|
||||
}
|
||||
+42
-11
@@ -6,33 +6,64 @@
|
||||
dotDir = config.home.homeDirectory;
|
||||
enableCompletion = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
autosuggestion.enable = true;
|
||||
|
||||
autosuggestion = {
|
||||
enable = true;
|
||||
|
||||
strategy = [
|
||||
"history"
|
||||
"completion"
|
||||
];
|
||||
};
|
||||
|
||||
historySubstringSearch.enable = true;
|
||||
|
||||
history = {
|
||||
size = 100000;
|
||||
save = 100000;
|
||||
|
||||
ignoreDups = true;
|
||||
ignoreAllDups = true;
|
||||
saveNoDups = true;
|
||||
findNoDups = true;
|
||||
|
||||
# Make new commands visible in other open terminals.
|
||||
share = true;
|
||||
|
||||
# Store timestamps and durations.
|
||||
extended = true;
|
||||
};
|
||||
|
||||
initContent = "source /etc/nixos/home/lukas/common/p10k.zsh";
|
||||
sessionVariables = {
|
||||
POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD = "true";
|
||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE = "fg=8";
|
||||
ZSH_AUTOSUGGEST_STRATEGY = "history completion";
|
||||
};
|
||||
|
||||
|
||||
|
||||
zplug = {
|
||||
enable = true;
|
||||
plugins = [
|
||||
{ name = "romkatv/powerlevel10k"; tags = [ as:theme depth:1 ]; }
|
||||
{
|
||||
name = "romkatv/powerlevel10k";
|
||||
tags = [
|
||||
"as:theme"
|
||||
"depth:1"
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
shellAliases = {
|
||||
".." = "cd ..";
|
||||
ls = "eza --icons"; # plain directory listing
|
||||
ll = "eza --icons -alh --git"; # long list, all, human, git status
|
||||
la = "eza --icons -a"; # show all dot-files, short
|
||||
lt = "eza -T --icons --git-ignore --level=4"; # pretty tree, two levels deep
|
||||
ls = "eza --icons"; # plain directory listing
|
||||
ll = "eza --icons -alh --git"; # long list, all, human, git status
|
||||
la = "eza --icons -a"; # show all dot-files, short
|
||||
lt = "eza -T --icons --git-ignore --level=4"; # pretty tree, two levels deep
|
||||
|
||||
cat ="bat --style=plain --pager=cat"; # pretty ‘cat’
|
||||
less ="bat --style=plain --pager=less"; # pretty ‘less’
|
||||
cat = "bat --style=plain --pager=cat"; # pretty ‘cat’
|
||||
less = "bat --style=plain --pager=less"; # pretty ‘less’
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -9,11 +9,12 @@
|
||||
../common/alacritty.nix
|
||||
../common/tmux.nix
|
||||
../common/xgd.nix
|
||||
../common/nh.nix
|
||||
../common/libreoffice.nix
|
||||
];
|
||||
|
||||
home.username = "lukas";
|
||||
home.homeDirectory = "/home/lukas";
|
||||
home.stateVersion = "25.05";
|
||||
home.stateVersion = "26.05";
|
||||
}
|
||||
|
||||
|
||||
@@ -8,12 +8,13 @@
|
||||
../common/shell.nix
|
||||
../common/alacritty.nix
|
||||
../common/tmux.nix
|
||||
../common/nh.nix
|
||||
../common/xgd.nix
|
||||
../common/libreoffice.nix
|
||||
];
|
||||
|
||||
home.username = "lukas";
|
||||
home.homeDirectory = "/home/lukas";
|
||||
home.stateVersion = "25.05";
|
||||
home.stateVersion = "26.05";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user