aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/services/web-servers/darkhttpd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/web-servers/darkhttpd.nix')
-rw-r--r--nixos/modules/services/web-servers/darkhttpd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-servers/darkhttpd.nix b/nixos/modules/services/web-servers/darkhttpd.nix
index 80870118c33..d6649fd472d 100644
--- a/nixos/modules/services/web-servers/darkhttpd.nix
+++ b/nixos/modules/services/web-servers/darkhttpd.nix
@@ -67,7 +67,7 @@ in {
wantedBy = [ "multi-user.target" ];
serviceConfig = {
DynamicUser = true;
- ExecStart = "${cfg.package}/bin/darkhttpd ${args}";
+ ExecStart = "${pkgs.darkhttpd}/bin/darkhttpd ${args}";
AmbientCapabilities = lib.mkIf (cfg.port < 1024) [ "CAP_NET_BIND_SERVICE" ];
Restart = "on-failure";
RestartSec = "2s";