mirror of
https://github.com/9001/copyparty.git
synced 2026-04-13 07:32:49 -06:00
add example for overriding package in nixos module documentation
This commit is contained in:
parent
5aaa4ff15b
commit
f1a71134d1
|
|
@ -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 ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue