Conversation
ners
left a comment
There was a problem hiding this comment.
Thanks for taking the effort to improve the readme! I'd prefer to have less conflicting information in it (just helping people to use the module) rather than list many possible configurations.
| And then import and enable it like this: | ||
| ```nix | ||
| { | ||
| imports = [ | ||
| inputs.nix-monitored.nixosModules.default | ||
| ]; | ||
|
|
||
| nix.monitored.enable = true; | ||
| } | ||
| ``` |
There was a problem hiding this comment.
Importing and enabling the module actually replaces setting nix.package manually, as that's part of the module's implementation: https://github.com/ners/nix-monitored/blob/master/flake.nix#L108
I'd also like to mention that there is also a Darwin module available, not just a NixOS one.
| You can also import it in the overlay below by putting this line inside alongside the rest: | ||
| ``` | ||
| nix-monitored = inputs.nix-monitored.packages.${self.system}.default.override self; | ||
| ``` |
There was a problem hiding this comment.
This should probably rather be added to the module: https://github.com/ners/nix-monitored/blob/master/flake.nix#L109
| nix-direnv = super.nix-direnv.override { | ||
| nix = super.nix-monitored; | ||
| }; | ||
| # Line above here if you want it. |
There was a problem hiding this comment.
I believe this entire section is obsolete if you use the module, and can be removed.
Specifically how to set up the module.