nixpkgs/nixos/modules/system/activation
Maximilian Bosch fc2bde6d7a
nixos/switch-to-configuration: reload user units
When rebuilding you have to manually run `systemctl --user
daemon-reload`. It gathers all authenticated users using
`loginctl list-user` and runs `daemon-reload` for each of them.

This is a first step towards a `nixos-rebuild` which is able to reload
user units from systemd. The entire task is fairly hard, however I
consider this patch usable as it allows to restart units without running
`daemon-reload` for each authenticated user.
2018-08-14 13:38:18 +02:00
..
activation-script.nix Merge branch 'master' into staging 2018-03-10 20:38:13 +00:00
no-clone.nix Rewrite ‘with pkgs.lib’ -> ‘with lib’ 2014-04-14 16:26:48 +02:00
switch-to-configuration.pl nixos/switch-to-configuration: reload user units 2018-08-14 13:38:18 +02:00
top-level.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00