nixpkgs/nixos/modules/system
Michael Weiss 7098b0fcdf nixos/switch-to-configuration: Never stop system.slice
Problem: Restarting (stopping) system.slice would not only stop X11 but
also most system units/services. We obviously don't want this happening
to users when they switch from 18.03 to 18.09 or nixos-unstable.

Reason: The following change in systemd:
d8e5a93382

The commit adds system.slice to the perpetual units, which means
removing the unit file and adding it to the source code. This is done so
that system.slice can't be stopped anymore but in our case it ironically
would cause this script to stop system.slice because the unit file was
removed (and an older systemd version is still running).

Related issue: https://github.com/NixOS/nixpkgs/issues/39791
2018-07-17 19:37:36 +02:00
..
activation nixos/switch-to-configuration: Never stop system.slice 2018-07-17 19:37:36 +02:00
boot Merge pull request #43169 from samueldr/fix/stripDirs 2018-07-14 19:07:46 -04:00
etc environment.etc: add user/group option 2017-07-29 23:56:46 +01:00