diff --git a/wgautomesh.nix b/wgautomesh.nix index 191858a..d2f2485 100644 --- a/wgautomesh.nix +++ b/wgautomesh.nix @@ -1,10 +1,3 @@ -let - wgautomesh = builtins.fetchTarball { - url = "https://git.deuxfleurs.fr/attachments/ce203833-1ae7-43d4-9bf4-b49b560c9f4b"; - sha256 = "sha256:1kc990s7xkwff53vs6c3slg7ljsyr9xz1i13j61ivfj6djyh8rmj"; - }; -in - { config, lib, pkgs, ...}: with lib; let @@ -77,7 +70,7 @@ in serviceConfig = { Type = "simple"; - ExecStart = "${wgautomesh}/bin/wgautomesh ${configFile}"; + ExecStart = "${pkgs.wgautomesh}/bin/wgautomesh ${configFile}"; Restart = "always"; RestartSec = "30";