aboutsummaryrefslogtreecommitdiff
path: root/modules/systemd-activate.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert "systemd: use sd-switch"Robert Helgesson2020-08-041-0/+114
| | | | This reverts commit 9c0fe3957bb91128d5d3599e289fe9344a293ece.
* systemd: use sd-switchRobert Helgesson2020-08-041-114/+0
| | | | | | | | | | | | This makes the systemd module use the sd-switch application to perform the unit switch during a generation activation. Since the closure of sd-switch is relatively lightweight we unconditionally pull it in as a dependency. We simultaneously remove the `systemd.user.startServices` option and perform the switch action automatically. PR #1388
* allow Home Manager to be used as a NixOS moduleRobert Helgesson2018-02-071-0/+114
This is a NixOS module that is intended to be imported into a NixOS system configuration. It allows the system users to be set up directly from the system configuration. The actual profile switch is performed by a oneshot systemd unit per configured user that acts much like the regular `home-manager switch` command. With this implementation, the NixOS module does not work properly with the `nixos-rebuild build-vm` command. This can be solved by using the `users.users.<name?>.packages` option to install packages but this does not work flawlessly with certain Nixpkgs packages. In particular, for programs using the Qt libraries.