From ba7b53c49003a17933c896da9b4d45c0614e36be Mon Sep 17 00:00:00 2001 From: r-vdp Date: Mon, 14 Oct 2024 00:30:06 +0200 Subject: [PATCH] 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. --- pkgs/by-name/ni/niri/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/ni/niri/package.nix b/pkgs/by-name/ni/niri/package.nix index c41c04dd5dd8..e854c1a4fcc7 100644 --- a/pkgs/by-name/ni/niri/package.nix +++ b/pkgs/by-name/ni/niri/package.nix @@ -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 = {