From 1cb1781b76391885ec21a78755d8292fd15e0b46 Mon Sep 17 00:00:00 2001 From: "Agatha V. Lovelace" Date: Thu, 9 Nov 2023 20:07:44 +0100 Subject: [PATCH] Remove restic package override --- common/fragments/restic.nix | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/common/fragments/restic.nix b/common/fragments/restic.nix index 00d6b24..db41c1c 100644 --- a/common/fragments/restic.nix +++ b/common/fragments/restic.nix @@ -1,27 +1,5 @@ { config, pkgs, ... }: { - nixpkgs.overlays = [ - (final: prev: { - restic = let - version = "18f305243f885609c0b7994450aa83ebb8a14975"; - src = pkgs.fetchFromGitHub { - owner = "AgathaSorceress"; - repo = "restic"; - rev = version; - hash = "sha256-gfbLbQy6CfoSlcycKOySLq7NwxvAAsTj01wfgJ+CA18="; - }; - in prev.restic.override { - buildGoModule = args: - pkgs.buildGoModule (args // { - inherit src version; - vendorHash = "sha256-dILlGc4BzJQi/F7lNAnQHVC6TXRs/3POVvSeJzD4uLg="; - - patches = [ ]; - postPatch = ""; - doCheck = false; - }); - }; - }) - ]; + nixpkgs.overlays = [ (final: prev: { restic = pkgs.unstable.restic; }) ]; environment.systemPackages = [ pkgs.restic ]; services.restic.backups.${config.networking.hostName} = {