Remove restic package override
This commit is contained in:
parent
1babb57af0
commit
1cb1781b76
|
@ -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} = {
|
||||
|
|
Loading…
Reference in New Issue