-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
nixos/networkmanager: split modemmanager into a separate module #316824
Conversation
This is a reasonable change, but I quit nixpkgs, and thus won't be reviewing this. |
21fae89
to
de129ff
Compare
i've updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a release notes entry and nixfmt, LGTM otherwise
Sorry, forgot about this.
|
this should not result in any observable change by default, the motivation is to make working on either one of these components in isolation of the other a bit easier.
de129ff
to
b72d61f
Compare
done and done. nixos-manual-build CI is showing red, but i don't understand the error and the manual builds fine for me locally with the same command (
removed the |
Rerunning the action fixed the manual issue, but nixfmt check didn't pass |
this is helpful for testing module changes or making downstream patches in a way which doesn't force large rebuilds as an overlay would.
this is helpful for testing module changes or making downstream patches in a way which doesn't force large rebuilds as an overlay would.
b72d61f
to
efc3208
Compare
formatted; CI shows green |
Description of changes
this does not change any default behavior: it's just refactoring for easier development and use.
modemmanager.nix
.enable
option, with networkmanager enabling modemmanager by default.neither one of these is dependent on the other -- they're just commonly used together. now our nixos modules reflect that.
package
option.networkmanager and modemmanager somehow end up as inputs to a lot of other packages, so now we can iterate the service-specific parts without mass-rebuilding (for example, the possibility to run NetworkManager as its own user instead of root may require patching the actual package).
networking.networkmanager.enableDefaultPlugins
option, default true, to give an easier way to deploy without the plugins. several of the plugins are costly to build (requiring e.g.webkitgtk
for captive portals) or don't even build for all platforms (especially cross-platform builds).Things done
pkgsCross.aarch64-multiplatform
)nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.