nix: add systemd units to the right location
Browse files at this commitcd5ac3e5e04bb5a11276d3c755fa25242818e05fParent: 38191821 changed file +1 -1
- flake.nix +1 -1
flake.nixmodified+1 -1
| @@ -135,7 +135,7 @@ | |||
| 135 | '' | 135 | '' |
| 136 | + lib.optionalString withSystemd '' | 136 | + lib.optionalString withSystemd '' |
| 137 | install -Dm755 resources/niri-session $out/bin/niri-session | 137 | install -Dm755 resources/niri-session $out/bin/niri-session |
| 138 | - install -Dm644 resources/niri{.service,-shutdown.target} -t $out/share/systemd/user | 138 | + install -Dm644 resources/niri{.service,-shutdown.target} -t $out/lib/systemd/user |
| 139 | ''; | 139 | ''; |
| 140 | 140 | ||
| 141 | env = { | 141 | env = { |