Here’s a corrected version that avoids absolute paths and ensures

compatibility with pure evaluation:
This commit is contained in:
2026-03-08 10:41:36 +01:00
parent 72b8c79b1e
commit 2ba00478d4
+1 -12
View File
@@ -1116,9 +1116,8 @@ in
};
# Kitty config (main + theme)
xdg.configFile."kitty/kitty.conf".source = "${flakeRoot}/assets/common/conf/kitty/kitty.conf";
xdg.configFile."kitty/kitty.conf".source = "${flakeRoot}/assets/conf/kitty/kitty.conf";
/*
# Starship (with your custom config)
programs.starship = {
enable = true;
@@ -1127,18 +1126,8 @@ in
configFile = "${flakeRoot}/assets/conf/starship.toml";
};
};
*/
# Ensure Kitty's shell starts Starship
xdg.configFile."kitty/kitty.conf".text = lib.concatStringsSep "\n" [
(builtins.readFile "${flakeRoot}/assets/common/conf/kitty/kitty.conf")
""
"# Ensure Starship is loaded in Kitty's shell"
"shell ${pkgs.zsh}/bin/zsh -c \"${pkgs.starship}/bin/starship init zsh | source\""
];
};
}
#+END_SRC
** =generated/system/applications/terminal_shell/starship.nix=