change the package override method

This commit is contained in:
Charlotte 🦝 Delenk 2022-01-22 14:40:16 +01:00
parent 1ae3964995
commit 3ae72c4f9e
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5
2 changed files with 6 additions and 8 deletions

View file

@ -16,13 +16,12 @@ let
''; '';
in in
{ {
nixpkgs.overlays = [
(curr: prev: { nixpkgs.config.packageOverrides = pkgs: {
dovecot = prev.dovecot.override { dovecot = pkgs.dovecot.override {
withPgSQL = true; withPgSQL = true;
}; };
}) };
];
services.dovecot2 = { services.dovecot2 = {
enable = true; enable = true;
enableImap = true; enableImap = true;

1
result
View file

@ -1 +0,0 @@
/nix/store/752lvbrnyw194m1c5km8yl4ax63d315r-nixos-system-nixos-8gb-fsn1-1-22.05.20220122.14e98e5