nixpkgs/nixos/modules
Vincent Haupert 66dbf9b199 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`.
2023-01-09 09:36:04 +01:00
..
config modules: add mkAliasOptionModuleMD 2023-01-05 02:33:13 +01:00
hardware opentabletdriver: remove hardcoded config path 2023-01-05 15:15:08 +00:00
i18n/input-method nixos/*: convert internal option descriptions to MD 2022-08-31 16:32:54 +02:00
installer Merge pull request #199425 from Mikilio/master 2023-01-01 11:15:03 +01:00
misc Merge pull request #209064 from Lassulus/os-release-extra 2023-01-05 14:14:09 +01:00
profiles nixos/misc: add VARIANT_ID in /etc/os-release for identifying nixos installer 2023-01-04 19:11:41 +01:00
programs nixos/iay: use mkPackageOptionMD 2023-01-05 20:01:57 +01:00
security nixos: fix typos 2022-12-17 19:31:14 -05:00
services nixos/github-runners: use mkMerge for serviceConfig 2023-01-09 09:36:04 +01:00
system modules: add mkPackageOptionMD 2023-01-05 02:33:13 +01:00
tasks nixos/bcachefs: fix boot with systemd enabled initrd 2023-01-01 19:58:16 +01:00
testing Merge pull request #207801 from ElvishJerricco/systemd-stage-1-test-instrumentation 2022-12-28 01:43:03 +01:00
virtualisation nixos/amazon-option: Tolerate harmless ec2.hvm for compatibility 2023-01-08 19:01:02 +01:00
module-list.nix Merge pull request #207797 from omasanori/iay-module 2023-01-05 08:22:16 -03:00
rename.nix modules: add mkAliasOptionModuleMD 2023-01-05 02:33:13 +01:00