nixos/regreet: fix extraCss store paths written as literal text (#487771)

This commit is contained in:
Austin Horstman
2026-04-14 02:47:51 +00:00
committed by GitHub
+4 -1
View File
@@ -159,7 +159,10 @@ in
environment.etc = {
"greetd/regreet.css" =
if lib.isPath cfg.extraCss then { source = cfg.extraCss; } else { text = cfg.extraCss; };
if lib.isPath cfg.extraCss || lib.isStorePath cfg.extraCss then
{ source = cfg.extraCss; }
else
{ text = cfg.extraCss; };
"greetd/regreet.toml".source =
if lib.isPath cfg.settings then