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

discocss: only generate css when provided

No need to generate a file with empty contents.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2025-10-05 16:25:19 -05:00
parent aa10fe094b
commit f72f660976

View file

@ -50,6 +50,8 @@ in
)) ))
]; ];
xdg.configFile."discocss/custom.css".text = cfg.css; xdg.configFile."discocss/custom.css" = lib.mkIf (cfg.css != "") {
text = cfg.css;
};
}; };
} }