Seperated all config stuff into common nixos modules

This commit is contained in:
chrisbell committed 2026-10-03 12:39:10 -05:00
1 parent e2d34c6d1e
commit cc15d4aaf9
10 files changed
+176 -301

No files matched your search

+28
View File
@@ -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 ];
}