summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorVincent Haupert <vincent@yaxi.tech>2023-01-08 01:42:01 +0100
committerVincent Haupert <vincent@yaxi.tech>2023-01-09 09:36:04 +0100
commit66dbf9b1990ce531ac3dfce48318c1c13ece2714 (patch)
tree64e258447d8fc1a53ac4317e314b70d9215912b7 /pkgs/development/python-modules/rangehttpserver
parentaca6ac32695a6d5f69df066175fbd8b770197179 (diff)
nixos/github-runners: use `mkMerge` for `serviceConfig`
The `serviceOverrides` module option is commonly used to loosen the systemd unit's hardening. This commit merges the `serviceConfig` with `mkMerge` instead of using the update operator `//` which discards all existing values on conflict. To avoid a breaking change which requires defining each option with a higher priority (e.g., through `mkForce`), this commit prefixes hardening values with `mkDefault`. Notable exceptions are list hardening options which use `mkBefore` instead of `mkDefault`. This allows for easy extension of the existing settings. Resetting redefinitions are still possible through `mkForce`.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions