Nix Cookbook: Difference between revisions
imported>Nix add security section |
imported>Jtamagnan m It would be clearer to less experienced developers that `lib.mkOverride` referers to `pkgs.lib...` |
||
| Line 248: | Line 248: | ||
<syntaxHighlight lang="nix"> | <syntaxHighlight lang="nix"> | ||
systemd.services.postfix.serviceConfig.PIDFile = lib.mkOverride 0 "mynewvalue"; | systemd.services.postfix.serviceConfig.PIDFile = pkgs.lib.mkOverride 0 "mynewvalue"; | ||
</syntaxHighlight> | </syntaxHighlight> | ||
which will override the other value, and force yours to have priority. | which will override the other value, and force yours to have priority. | ||