diff --git a/machines/fuuko/services/matrix/mautrix-whatsapp.nix b/machines/fuuko/services/matrix/mautrix-whatsapp.nix index d8c0e13..2df32f7 100644 --- a/machines/fuuko/services/matrix/mautrix-whatsapp.nix +++ b/machines/fuuko/services/matrix/mautrix-whatsapp.nix @@ -1,15 +1,6 @@ # somewhat adapted from https://github.com/NixOS/nixpkgs/pull/59211 { config, lib, pkgs, ... }: let - nixpkgsMa27 = import - (pkgs.fetchFromGitHub { - owner = "Ma27"; - repo = "nixpkgs"; - rev = "5c7156faf1c766166d663a68e666678992ca2b2a"; - sha256 = "0jj9slwrpzxm88cqz7qy2v92828wsiqhrr32alix5mq7xhfyblg0"; - }) - { inherit (pkgs) system; }; - synapseCfg = config.services.matrix-synapse; in let @@ -92,7 +83,7 @@ in serviceConfig = { DynamicUser = true; StateDirectory = "mautrix-whatsapp"; - ExecStart = "${nixpkgsMa27.mautrix-whatsapp}/bin/mautrix-whatsapp -c ${generatedConfig}/config.yaml"; + ExecStart = "${pkgs.mautrix-whatsapp}/bin/mautrix-whatsapp -c ${generatedConfig}/config.yaml"; Restart = "on-failure"; }; };