diff options
author | Robert Helgesson <robert@rycee.net> | 2019-08-19 16:05:44 +0200 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2020-09-12 18:29:46 +0200 |
commit | fbc5093649b17b65a5db6caa252f7d3aa99f94d0 (patch) | |
tree | 0122881b77666528b463bf25f585f7e073aaaec7 /nixos | |
parent | 37d29394ecba3ccff2083119ec49fc3eaf36db8c (diff) |
hooks: add moveSystemdUserUnitsHook
This hook moves systemd user service file from `lib/systemd/user` to `share/systemd/user`. This is to allow systemd to find the user services when installed into a user profile. The `lib/systemd/user` path does not work since `lib` is not in `XDG_DATA_DIRS`.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/config/system-path.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/config/system-path.nix b/nixos/modules/config/system-path.nix index 67305e8499cb5..c46937f800815 100644 --- a/nixos/modules/config/system-path.nix +++ b/nixos/modules/config/system-path.nix @@ -142,6 +142,7 @@ in "/share/kservices5" "/share/kservicetypes5" "/share/kxmlgui5" + "/share/systemd" ]; system.path = pkgs.buildEnv { |