From 6f8e19ae888d1b3b5381e555855a39f563a1b3c8 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Mon, 29 Jul 2024 19:05:58 +0800 Subject: [PATCH] nixos/services/archivebox: fix `Service.ExecStart` directive --- modules/nixos/services/archivebox.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nixos/services/archivebox.nix b/modules/nixos/services/archivebox.nix index 11424f8d..c65c50e7 100644 --- a/modules/nixos/services/archivebox.nix +++ b/modules/nixos/services/archivebox.nix @@ -193,7 +193,7 @@ in User = "archivebox"; Group = "archivebox"; - ExecStart = "${pkgs.archivebox}/bin/archivebox server localhost:${ + ExecStart = "${lib.getExe' cfg.package "archivebox"} server localhost:${ toString cfg.webserver.port }";