You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been reading about overlays, and I wonder if it is possible to use them to override behaviour of one or more nixos modules. The only examples I have seen with overlays concerned packages (and not nixos modules).
Say for example, I wanted to implement this PR as an overlay because It is specific to my setup, could it be done with overlays ?
In more details, how could I change nixos/modules/tasks/network-interfaces-systemd.nix code (without having to rebase patches on top of nixpks) ? Could overlays do that ?
Thank you
The text was updated successfully, but these errors were encountered:
I guess I can also use mkOverride and other related constructs to alter config properties in my config, but doing this, I need to rebuild the code in the let section of the module myself...
By the way, is there an mkSomething construct to undefine a value (say it is set by the module and I want it unset) ?
Issue description
Hello,
I have been reading about overlays, and I wonder if it is possible to use them to override behaviour of one or more nixos modules. The only examples I have seen with overlays concerned packages (and not nixos modules).
Say for example, I wanted to implement this PR as an overlay because It is specific to my setup, could it be done with overlays ?
In more details, how could I change
nixos/modules/tasks/network-interfaces-systemd.nix
code (without having to rebase patches on top of nixpks) ? Could overlays do that ?Thank you
The text was updated successfully, but these errors were encountered: