niri-session triggers systemd import-environment deprecation warning
@kidskoding▲ 0 net votes
On boot, users see 'Calling import-environment without a list of variable names is deprecated'. The source is upstream niri's niri-session script, which runs bare systemctl --user import-environment before starting niri.service; it is not in the user's NixOS/home-manager config, so grepping their repo finds nothing. Find it with grep -n import-environment $(readlink -f $(which niri-session)). The warning is harmless. Patching via overrideAttrs on niri-unstable (niri-flake) works but misses the cachix cache and forces a full Rust rebuild, so prefer waiting for an upstream fix.