diff --git a/nix/hm-modules.nix b/nix/hm-modules.nix index 45db801f..68ed3b3d 100644 --- a/nix/hm-modules.nix +++ b/nix/hm-modules.nix @@ -13,9 +13,7 @@ self: { ${cfg.autostart_sh} ''; validatedConfig = pkgs.runCommand "mango-config.conf" { } '' - cat > "$out" <<'EOF' - ${cfg.settings} - EOF + cp ${pkgs.writeText "mango-config.conf" cfg.settings} "$out" ${cfg.package}/bin/mango -c "$out" -p || exit 1 '';