commit 10f33bee051d845945521395f805a8d108db29e6
parent e1faf3164fa838253c30baed16801ed6d2636a25
Author: Milutin Popovic <milutin@popovic.xyz>
Date: Sat, 3 Jan 2026 19:44:48 +0000
fix zsh startup
Diffstat:
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/lib/dotfiles.nix b/lib/dotfiles.nix
@@ -2,6 +2,6 @@
dotfiles = builtins.fetchGit {
url = "git://popovic.xyz/dots.git";
ref = "master";
- rev = "160a7aca5464b9fac781ca2ea531e013283e1747";
+ rev = "115f33302bf01129625bedaf04c33836cc863d9b";
};
}
diff --git a/system/host/host-frame.nix b/system/host/host-frame.nix
@@ -62,6 +62,7 @@
# programs
programs = {
+ zsh.enable = true;
dconf.enable = true;
gnupg.agent = {
enable = true;
@@ -69,6 +70,11 @@
};
};
+ environment.variables = {
+ __ETC_ZSHRC_SOURCED = "1";
+ __ETC_ZSHENV_SOURCED = "1";
+ };
+
# users
users = {
users = {
@@ -77,11 +83,9 @@
extraGroups = [ "wheel" ];
initialPassword = "123";
shell = pkgs.zsh;
- ignoreShellProgramCheck = true;
};
root = {
shell = pkgs.zsh;
- ignoreShellProgramCheck = true;
};
};
};
@@ -147,6 +151,7 @@
acpilight
];
+
# fonts
fonts.packages = with pkgs; [
terminus_font