eww: fix confDir config using missing attribute "types.isNull"

This commit is contained in:
Christoffer Hald Christensen
2025-02-12 12:31:39 +01:00
committed by Austin Horstman
parent 83bd3a26ac
commit f8729b11ee

View File

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