sodiboo / niri-flake

Nix packages and modules for niri

Home Page:https://github.com/YaLTeR/niri

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add a NixOS module to nixpkgs

Schweber opened this issue · comments

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)?

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

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 🙂.

Please Add It! I'm waiting for 😸

I personally think the flake is much better - it lets @sodiboo iterate much more rapidly. I would really suggest giving flakes a try and see if your skepticism holds up, it should be a quick experiment and easy to undo if you don't like it!