···13331333 restartTriggers = optionals cfg.enableReload [ configFile ];
13341334 # Block reloading if not all certs exist yet.
13351335 # Happens when config changes add new vhosts/certs.
13361336- unitConfig.ConditionPathExists = optionals (sslServices != []) (map (certName: certs.${certName}.directory + "/fullchain.pem") vhostCertNames);
13361336+ unitConfig = {
13371337+ ConditionPathExists = optionals (sslServices != []) (map (certName: certs.${certName}.directory + "/fullchain.pem") vhostCertNames);
13381338+ # Disable rate limiting for this, because it may be triggered quickly a bunch of times
13391339+ # if a lot of certificates are renewed in quick succession. The reload itself is cheap,
13401340+ # so even doing a lot of them in a short burst is fine.
13411341+ # FIXME: there's probably a better way to do this.
13421342+ StartLimitIntervalSec = 0;
13431343+ };
13371344 serviceConfig = {
13381345 Type = "oneshot";
13391346 TimeoutSec = 60;
+4-1
nixos/tests/headscale.nix
···1313 in
1414 {
1515 name = "headscale";
1616- meta.maintainers = with lib.maintainers; [ misterio77 ];
1616+ meta.maintainers = with lib.maintainers; [
1717+ kradalby
1818+ misterio77
1919+ ];
17201821 nodes =
1922 let
···2323 # certain plugins need a custom configuration (available in passthru.initLua)
2424 # to work with nix.
2525 # if true, the wrapper automatically appends those snippets when necessary
2626- , autoconfigure ? false
2626+ , autoconfigure ? true
27272828 # append to PATH runtime deps of plugins
2929- , autowrapRuntimeDeps ? false
2929+ , autowrapRuntimeDeps ? true
30303131 # should contain all args but the binary. Can be either a string or list
3232 , wrapperArgs ? []
···57575858 updateScript = ./update-vscodium.sh;
59596060+ # Editing the `codium` binary (and shell scripts) within the app bundle causes the bundle's signature
6161+ # to be invalidated, which prevents launching starting with macOS Ventura, because VSCodium is notarized.
6262+ # See https://eclecticlight.co/2022/06/17/app-security-changes-coming-in-ventura/ for more information.
6363+ dontFixup = stdenv.hostPlatform.isDarwin;
6464+6065 meta = with lib; {
6166 description = ''
6267 Open source source code editor developed by Microsoft for Windows,
···3838 libvpx,
3939 nettools,
4040 dbus,
4141- substituteAll,
4141+ replaceVars,
4242 gsoap,
4343 zlib,
4444 xz,
···235235 # these issues by patching the code to set QT_PLUGIN_PATH to the necessary paths,
236236 # after the code that unsets it. Note that qtsvg is included so that SVG icons from
237237 # the user's icon theme can be loaded.
238238- ++ optional (!headless && enableHardening) (substituteAll {
239239- src = ./qt-env-vars.patch;
240240- qtPluginPath = "${qtbase}/bin/${qtbase.qtPluginPrefix}:${qtsvg}/bin/${qtbase.qtPluginPrefix}:${qtwayland}/bin/${qtbase.qtPluginPrefix}";
241241- })
238238+ ++ optional (!headless && enableHardening) (
239239+ replaceVars ./qt-env-vars.patch {
240240+ qtPluginPath = "${qtbase}/bin/${qtbase.qtPluginPrefix}:${qtsvg}/bin/${qtbase.qtPluginPrefix}:${qtwayland}/bin/${qtbase.qtPluginPrefix}";
241241+ }
242242+ )
242243 # While the KVM patch should not break any other behavior if --with-kvm is not specified,
243244 # we don't take any chances and only apply it if people actually want to use KVM support.
244245 ++ optional enableKvm (