home/zsh: precreate compinit directory with systemd-tmpfiles

This commit is contained in:
2025-05-27 16:24:52 +02:00
parent e55a4a4093
commit 7100852dde

View File

@@ -1,4 +1,4 @@
{ pkgs, lib, config, ... }:
{ config, pkgs, lib, ... }:
let
cfg = config.programs.zsh;
in
@@ -16,8 +16,12 @@ in
})}
'';
programs.zsh = {
systemd.user.tmpfiles.settings."10-zsh"."${config.xdg.cacheHome}/zsh".d = {
mode = "0770";
user = config.home.username;
};
programs.zsh = {
enable = true;
dotDir = ".config/zsh";
# enableSyntaxHighlighting = true;