Remove restic package override

This commit is contained in:
Agatha Lovelace 2023-11-09 20:07:44 +01:00
parent 1babb57af0
commit 1cb1781b76
Signed by: sorceress
GPG Key ID: 01D0B3AB10CED4F8
1 changed files with 1 additions and 23 deletions

View File

@ -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} = {