1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

eww: fix eww source creation

Source can't be accessed without being defined, need to move condition
earlier.
This commit is contained in:
Austin Horstman 2025-02-12 10:12:01 -06:00
parent d303453b13
commit 15b59d4191

View file

@ -45,7 +45,8 @@ in {
config = mkIf cfg.enable {
home.packages = [ cfg.package ];
xdg.configFile."eww".source = mkIf (cfg.configDir != null) cfg.configDir;
xdg =
mkIf (cfg.configDir != null) { configFile."eww".source = cfg.configDir; };
programs.bash.initExtra = mkIf cfg.enableBashIntegration ''
if [[ $TERM != "dumb" ]]; then