sodiboo / niri-flake

Nix packages and modules for niri
https://github.com/YaLTeR/niri
MIT License
116 stars 13 forks source link

Desktop Session #287

Closed rawkode closed 4 months ago

rawkode commented 4 months ago

I've got the flake working and I can launch niri manually, but I was wondering if there's a magic trick to get niri as an option with gdm or sddm?

rawkode commented 4 months ago

Nevermind. Session wasn't added via home-manager module, but works great when used as nixos module.

sodiboo commented 4 months ago

As far as i'm aware, it's not possible to add from the home module. I guess this is because the greeter doesn't run as your user, so it can't read your own user's home directory. It can only see system-wide files, and as such the sessions is can autodetect must be system-wide ones.