NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.53k stars 13.02k forks source link

Package request: greetd #87603

Closed hallabro closed 3 years ago

hallabro commented 4 years ago

Project description greetd is a minimal and flexible login manager daemon that makes no assumptions about what you want to launch.

Metadata

kira-bruneau commented 3 years ago

I started looking into packaging this, and building it was easy, but I've been having troubles in the NixOS module trying to launch the session defined in services.xserver.displayManager.defaultSession for agretty.

Does anyone else have more experience setting up display managers in NixOS?

kira-bruneau commented 3 years ago

Here is my current progress so far on a branch in my NUR repo: https://github.com/MetaDark/nur-packages/blob/greetd/modules/services/x11/display-managers/greetd/greetd.nix.

bnjmnt4n commented 3 years ago

As someone with minimal nix and systemd knowledge, I found @bqv's module very helpful in setting up greetd on my system. Here's hoping we can land greetd and friends in nixpkgs, with an easy-to-use module for the setup. (Although, it should probably be named under a new configuration option for that, since stuffing everything under xserver.displayManager doesn't make sense.)

bqv commented 3 years ago

I take no responsibility for how hideous my current X11+wayland setup is. It does work though, yes

ymatsiuk commented 3 years ago

102242 🎉

@luc65r do you by any chance plan to PR module mentioned here

luc65r commented 3 years ago

@ymatsiuk Yes, but I need to find motivation… I thought @qzle was going to do it, but it seems like he lost motivation too

ymatsiuk commented 3 years ago

@luc65r you did a great job adding a package. I (and potentially more people) appreciate your effort! 🙂 Thanks.

luc65r commented 3 years ago

@ymatsiuk thanks, but that's not really what I meant. I've tried several months ago, but I got stuck on a major issue, and then had more enjoyable projects. I just have to stop telling myself that I need to do it, and just do it.

ymatsiuk commented 3 years ago

@luc65r I didn't mean anything, just wanted to thank you for the work that has been done though.

I'm now curious what is this major issue you've faced with module?

luc65r commented 3 years ago

@ymatsiuk I don't remember well, but I think I couldn't get wayland running in qemu to test the greeters. Now that I rethink of it, it maybe wasn't a major issue.

queezle42 commented 3 years ago

I thought @qzle was going to do it, but it seems like he lost motivation too

I'm still interested, I was waiting for greetd to get merged and didn't have time since then. Thanks for getting greetd in, I'll open the PR soon!

zimbatm commented 3 years ago

102242 includes the package but the NixOS module is still missing.

ymatsiuk commented 3 years ago

@zimbatm this is what I've mentioned. @qzle agreed to submit a PR for module. Does it makes sense to wait before we can close this one WDYT?

zimbatm commented 3 years ago

My bad, I didn't read the whole thread. I started packaging greetd on my own and found this afterward. I have a WIP NixOS module over there: https://github.com/zimbatm/nixpkgs/tree/nixos-greetd