Regenerated

This commit is contained in:
2026-03-26 18:36:52 +00:00
parent 5da1502f8f
commit 1471b4efa5
20 changed files with 2761 additions and 1971 deletions
@@ -1,10 +1,17 @@
{ config, pkgs, lib, ... }:
{ config, pkgs, lib, flakeRoot, ... }:
let
username = config.defaultUser or "henrov";
generatedZsh = "${flakeRoot}/generated/.config/zsh/.zshrc";
in
{
programs.zsh = {
enable = true;
enableCompletion = true;
# autocd = true;
# dotDir = "${config.xdg.configHome}/zsh";
# Set Zsh dotfiles location
dotDir = "${config.xdg.configHome}/zsh";
ohMyZsh = {
enable = true;
theme = "";
@@ -19,7 +26,15 @@
"kubectl"
];
};
autosuggestions.enable = true;
syntaxHighlighting.enable = true;
# Load your generated .zshrc if it exists
extraConfig = ''
if [ -f "${generatedZsh}" ]; then
source "${generatedZsh}"
fi
'';
};
}