NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.31k stars 13.54k forks source link

Module Suggestion/Discussion: Delegate Desktop-Manager to Home-Manager #139410

Closed SebTM closed 1 year ago

SebTM commented 2 years ago

I think it's a common need/use-case if a (especially new user) would like to setup the desktop-environment with home-manager. I found this solution from @rycee which still works really fine but I thought if it is the best solution as the used option is internal for user-understanding and maintenance reasons.

So my Idea is to implement options in the NixOS-module system and in home-manager to delegate the handling to home-manager/run the home-manager xsession without the user have to maintain the necessary code. So in case something changes internal we could just update the options related code.

Before trying to make a PR I wanted to know your opinions on it? Did I missed something? :)

stale[bot] commented 2 years ago

I marked this as stale due to inactivity. → More info

SebTM commented 1 year ago

Not relevant to me anymore - using Greetd and sway now.