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 }";