add example for overriding package in nixos module documentation

This commit is contained in:
AppleTheGolden 2026-03-30 18:25:46 +02:00
parent 5aaa4ff15b
commit f1a71134d1
No known key found for this signature in database
GPG key ID: F6AC8A62154C42AA

View file

@ -2729,6 +2729,12 @@ services.copyparty = {
}; };
# you may increase the open file limit for the process # you may increase the open file limit for the process
openFilesLimit = 8192; openFilesLimit = 8192;
# override the package used by the module to add dependencies, e.g. for hooks
package = pkgs.copyparty.override {
# provides exiftool for bin/hooks/image-noexif.py
extraPackages = [ pkgs.exiftool ];
};
}; };
``` ```