diff --git a/nixos/modules/services/networking/shout.nix b/nixos/modules/services/networking/shout.nix index f55b87a96140..fe3cba8f1492 100644 --- a/nixos/modules/services/networking/shout.nix +++ b/nixos/modules/services/networking/shout.nix @@ -57,7 +57,7 @@ in { wantedBy = [ "multi-user.target" ]; wants = [ "network-online.target" ]; after = [ "network-online.target" ]; - preStart = if isNull cfg.configFile then null + preStart = if isNull cfg.configFile then "" else '' ln -sf ${pkgs.writeText "config.js" cfg.configFile} \ ${shoutHome}/config.js