nixpkgs/nixos/modules/system/boot
aszlig 0e7c945e15
nixos/systemd: Allow to override serviceConfig
This has been reported by @qknight in his Stack Overflow question:

https://stackoverflow.com/q/50678639

The correct way to override a single value would be to use something
like this:

systemd.services.nagios.serviceConfig.Restart = lib.mkForce "no";

However, this doesn't work because the check is applied for the attrsOf
type and thus the attribute values might still contain the attribute set
created by mkOverride.

The unitOption type however did already account for this, but at this
stage it's already too late.

So now the actual value is unpacked while checking the values of the
attribute set, which should allow us to override values in
serviceConfig.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @edolstra, @qknight
2018-06-04 15:34:21 +02:00
..
loader nixos/grub: Implements use of file format for splashImage. 2018-05-13 19:51:50 -04:00
binfmt.nix nixos/binfmt: Initial binfmt_msc support. 2018-02-18 12:42:17 -05:00
coredump.nix manual: Clarify that limits.conf doesn't apply to systemd services. (#40267) 2018-05-12 17:44:57 +02:00
emergency-mode.nix
grow-partition.nix Fix kernel crash caused by absent root device 2018-05-12 02:55:33 +03:00
initrd-network.nix nixos/initrd-network: add udhcpc.extraArgs option (#36305) 2018-03-05 15:53:59 +00:00
initrd-ssh.nix initrd-ssh: Fix for new dropbear version. 2018-03-01 21:21:27 -05:00
kernel.nix kernel: fix boot.consoleLogLevel description 2018-04-17 10:45:30 +09:00
kexec.nix kexectools: Disable only on RISC-V if Linux. 2018-03-27 08:15:07 -04:00
luksroot.nix modules/system/boot/luksroot: remove comment about input_leds for caps lock 2018-05-07 01:42:37 +02:00
modprobe.nix modprobe activation: Order after specialfs 2018-02-05 21:04:40 +01:00
networkd.nix Merge pull request #39340 from xeji/interim-fix-39069 2018-04-29 20:45:09 +02:00
pbkdf2-sha512.c
plymouth.nix nixos/plymouth: multi-user.target wants plymouth-quit-wait.service 2018-05-04 16:06:57 +02:00
resolved.nix systemd: 234 -> 237 2018-02-13 01:24:24 +01:00
shutdown.nix
stage-1-init.sh stage-1: remove tuxonice handling 2018-05-13 06:28:37 +03:00
stage-1.nix nixos: Fix initrd dependency detection when cross-compiling. 2018-03-01 13:31:36 -05:00
stage-2-init.sh mkdir -> install -d 2018-04-04 13:04:35 +02:00
stage-2.nix stage-2-init: Use the host bash as SHELL 2018-03-01 14:03:41 -05:00
systemd-lib.nix nixos/systemd: Allow to override serviceConfig 2018-06-04 15:34:21 +02:00
systemd-nspawn.nix systemd.nspawn: fix missing suffix 2017-07-04 21:12:47 +08:00
systemd-unit-options.nix nixos: systemd.services.*.environment: fix type 2018-05-13 01:15:37 +00:00
systemd.nix Merge pull request #38356 from Infinisil/fix/environment 2018-04-20 22:22:05 +02:00
timesyncd.nix nixos/systemd-timesyncd: use the correct server list (#40919) 2018-05-24 22:44:04 +00:00
tmp.nix