nix-community / home-manager

Manage a user environment using Nix [maintainer=@rycee]
https://nix-community.github.io/home-manager/
MIT License
7.14k stars 1.85k forks source link

Add specializations for home-manager #6080

Closed SpiderUnderUrBed closed 1 week ago

SpiderUnderUrBed commented 1 week ago

Description

There are already specializations for regular nix, and there still remains use for specializations in home-manager. In my case I want to switch between multiple hyprland configurations, but there are LOTS and LOTS of other uses for specializations, I dont know how exactly it should manifest (like regular specializations show on the boot entry) but one of home-managers use is for unprivileged users who you might not want to add anything to the boot menu, so maybe a custom login manager entry for the specialization. Or a command to switch between. Specializations are especially useful if you want to keep something up-to-date but dont always want it enabled.

SpiderUnderUrBed commented 1 week ago

Nevermind, this exists.