sodiboo / niri-flake

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

add a NixOS module to nixpkgs #325

Open Schweber opened 2 weeks ago

Schweber commented 2 weeks ago

First of all, thank you for your work and effort on this!

So far i haven't used flakes and am thus a bit hesitant about it. That's why i am wondering why you havent't added a niri module to NixOS (like the one for hyprland for example)?

I understand that using your flake provides more flexibility but i don't need that and would be happy with a "vanilla" module.

Would you consider adding one (while continuing your flake of course)?

sodiboo commented 2 weeks ago

honestly there's no real reason i haven't done that. i just never got around to it because i didn't need it, using my own repo for the module.

if you want something right now, you could just copy the relevant options into your configuration. just replace cfg.package with pkgs.niri and you'll be good to go.

i'll see what i can do about adding a niri module to nixpkgs, it is some sort of long-term goal, but as i said, i just never got around to it. but with someone wanting that now, there is at least a good reason to stop procrastinating on it

Schweber commented 2 weeks ago

Thanks! No need to hurry because of me though, i need to wait for niri 0.1.7 anyway because i depend on fractional scaling and it has just been commited to master. A NixOS Module would then make the switch easier for me 🙂.

jonvemo commented 1 week ago

Please Add It! I'm waiting for :smile_cat: