Seperated all config stuff into common nixos modules
This commit is contained in:
1 parent
e2d34c6d1e
commit
cc15d4aaf9
10 files changed
+176
-301
No files matched your search
@@ -0,0 +1,28 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.direnv.enable = true;
|
||||
users.users.chris.shell = pkgs.zsh;
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
autosuggestions.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
interactiveShellInit = "fastfetch";
|
||||
shellAliases = {
|
||||
ll = "ls -l";
|
||||
calc = "kalker";
|
||||
n = "nvim .";
|
||||
};
|
||||
histSize = 10000;
|
||||
histFile = "$HOME/.zsh_history";
|
||||
setOptions = [ "HIST_IGNORE_ALL_DUPS" ];
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
theme = "clean";
|
||||
plugins = [ "git" "sudo" "direnv" ];
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = [ pkgs.kalker ];
|
||||
}
|
||||
Reference in new issue
Block a user