mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
eww: fix confDir config using missing attribute "types.isNull"
This commit is contained in:
committed by
Austin Horstman
parent
83bd3a26ac
commit
f8729b11ee
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user