fix(homer): add file name to pkgs.writeText
This commit is contained in:
parent
6646e8f99d
commit
6f29e619bf
@ -27,7 +27,7 @@ in {
|
|||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
services.caddy.virtualHosts."${domain}".extraConfig = ''
|
services.caddy.virtualHosts."${domain}".extraConfig = ''
|
||||||
handle_path /assets/config.yml {
|
handle_path /assets/config.yml {
|
||||||
root * ${pkgs.writeText (builtins.toJSON homeConfig)}
|
root * ${pkgs.writeText "homerConfig.yml" (builtins.toJSON homeConfig)}
|
||||||
file_server
|
file_server
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user