9258f57625
This allows us to set things like dependencies in a way that we can catch typos at eval time. So instead of ```nix systemd.services.foo.wants = [ "bar.service" ]; ``` we can write ```nix systemd.services.foo.wants = [ config.systemd.services.bar.name ]; ``` which will throw an error if no such service has been defined. Not all cases can be done like this (eg template services), but in a lot of cases this will allow to avoid typos. There is a matching option on the unit option (`systemd.units."foo.service".name`) as well. |
||
---|---|---|
.. | ||
coredump.nix | ||
homed.nix | ||
initrd-secrets.nix | ||
initrd.nix | ||
journald-gateway.nix | ||
journald-remote.nix | ||
journald-upload.nix | ||
journald.nix | ||
logind.nix | ||
nspawn.nix | ||
oomd.nix | ||
repart.nix | ||
shutdown.nix | ||
sysupdate.nix | ||
sysusers.nix | ||
tmpfiles.nix | ||
user.nix | ||
userdbd.nix |