New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove extra packages in nix module #343
Conversation
I added that option thinking it could be useful for people to have a working environment with the default config, that uses kitty. If you want to remove it, I'd also remove the extraPackages option altogether |
EDIT: when it comes to system.packages, it isn't really clear, why are those packages installed, are they a part of an environment, or simply a standalone applications. Say notification daemon would make more sense with hyprwm as it is a part of complete hyprwm setup, while say, firefox is just a standalone app |
Sorry, but I don't understand the point your are making |
Separating package and its dependencies -> bad Grouping package and its dependencies -> good Even if dependencies aren't really a part of runtime for hyprland. # separated
{
programs.hyprland.enable = true;
environment.systemPackages = with pkgs; [ some packages ];
}
# grouped, easy to understand extra packages are a part of hyprland setup
{
programs.hyprland = {
enable = true;
extraPackages = with pkgs; [ some packages ];
};
} Trying my best to explain, at some point I agree with
though having such option is nice |
You can always split your config to make sure that those packages go with the Hyprland part. Personally I see it unnecesary to provide an alias to Maybe it is just me, keep the changes I guess 👍 |
I agree with what viper said, we should also remove |
Whatever you prefer, gentlemen. I will be satisfied with removal of default packages in either way |
@viperML any last words before merge? xD |
iirc you could set an option as removed with the nixos module system, if you want to go the extra mile (Right now I don't have access to my nix machines to test) otherwise lgtm |
Should be fine now? |
Hello!
Describe your PR, what does it fix/add?
That's a super short PR, removing any default extra packages provided via nixos module. While extra packages make sense for full DE, i believe that WM is usually DIY environment.
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
Nope
Is it ready for merging, or does it need work?
Ready