nixpkgs/nixos/modules
Maximilian Bosch 56a7bc05e1
nixos/treewide: drop dependencies to keys.target
The `keys.target` is used to indicate whether all NixOps keys were
successfully uploaded on an unattended reboot. However this can cause
startup issues e.g. with NixOS containers (see #67265) and can block
boots even though this might not be needed (e.g. with a dovecot2
instance running that doesn't need any of the NixOps keys).

As described in the NixOps manual[1], dependencies to keys should be
defined like this now:

``` nix
{
  systemd.services.myservice = {
    after = [ "secret-key.service" ];
    wants = [ "secret-key.service" ];
  };
}
```

However I'd leave the issue open until it's discussed whether or not to
keep `keys.target` in `nixpkgs`.

[1] https://nixos.org/nixops/manual/#idm140737322342384
2019-08-27 18:55:55 +02:00
..
config nixos/update-users-groups.pl: chomp hashedPassword 2019-08-25 23:42:31 -04:00
hardware nixos/hardware.deviceTree: Move things around 2019-08-07 13:51:22 +01:00
i18n/input-method nixos/ibus: do not default-install ibus-qt 2019-08-10 19:37:12 +02:00
installer nixos/sd-image: Increase default firmware partition size 2019-08-18 22:55:39 +02:00
misc mailman: reserve uid & gid in NixOS 2019-08-26 16:17:39 +02:00
profiles Merge pull request #66687 from joachifm/feat/hardened-nixos-revert-graphene-malloc 2019-08-19 20:56:07 +02:00
programs zsh: remove unfunction on TERM=dumb 2019-08-27 11:00:58 -04:00
security nixos/hardened: make pti=on overridable 2019-07-30 02:24:56 +02:00
services nixos/treewide: drop dependencies to keys.target 2019-08-27 18:55:55 +02:00
system nixos/systemd: enable cgroup accounting by default 2019-08-25 22:26:12 +02:00
tasks Merge branch 'master' into flip-map-foreach 2019-08-18 18:00:25 +03:00
testing nixos/test: remove the stateVersion statement from the test-instrumentation 2019-06-03 15:05:24 +02:00
virtualisation libvirtd: add onBoot option 2019-08-23 17:52:12 +02:00
module-list.nix Merge pull request #63634 from aanderse/moodle 2019-08-26 21:12:44 -04:00
rename.nix rmilter: remove deprecated package (and module) 2019-08-24 17:33:48 +03:00