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`.
This commit is contained in:
@@ -142,6 +142,7 @@ in
|
||||
"/share/kservices5"
|
||||
"/share/kservicetypes5"
|
||||
"/share/kxmlgui5"
|
||||
"/share/systemd"
|
||||
];
|
||||
|
||||
system.path = pkgs.buildEnv {
|
||||
|
||||
Reference in New Issue
Block a user