niri: add systemd units to the right location

They will then be moved to `share` by https://nixos.org/manual/nixpkgs/unstable/#move-systemd-user-units.sh
and a symlink will be put in place.
This commit is contained in:
r-vdp
2024-10-14 00:30:06 +02:00
parent ae891b2c09
commit ba7b53c490
+1 -1
View File
@@ -88,7 +88,7 @@ rustPlatform.buildRustPackage rec {
''
+ lib.optionalString withSystemd ''
install -Dm0755 resources/niri-session -t $out/bin
install -Dm0644 resources/niri{-shutdown.target,.service} -t $out/share/systemd/user
install -Dm0644 resources/niri{-shutdown.target,.service} -t $out/lib/systemd/user
'';
env = {