move backports

This commit is contained in:
Sean Buckley 2020-12-28 22:24:50 -05:00
parent bc0079dac9
commit 281b440c27
2 changed files with 11 additions and 24 deletions

View file

@ -1,25 +1,12 @@
{ pkgs, ... }: [
{
nixpkgs.overlays = [
(self: super: { (self: super: {
powerline-go = pkgs.callPackage powerline-go = super.callPackage
(pkgs.fetchurl { (super.fetchurl {
url = "https://raw.githubusercontent.com/NixOS/nixpkgs/31106c85cb1dc50755f9dd41244575332b6b64c2/pkgs/tools/misc/powerline-go/default.nix"; url = "https://raw.githubusercontent.com/NixOS/nixpkgs/31106c85cb1dc50755f9dd41244575332b6b64c2/pkgs/tools/misc/powerline-go/default.nix";
sha256 = "1ikm7s0g00bkfagc5f2fwlgc050cb6p4pprdg3f6s8j4ri927970"; sha256 = "1ikm7s0g00bkfagc5f2fwlgc050cb6p4pprdg3f6s8j4ri927970";
}) })
{ }; { };
}) })
(self: super: { ]
brave = super.brave.overrideAttrs (b: rec {
version = "1.18.75";
src = pkgs.fetchurl {
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb";
sha256 = "1njgdw7ml30xs517brc7z7piy6lcylrfjhz6wn1dp7gywsxfgx1h";
};
});
})
];
}

View file

@ -1,6 +1,6 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
imports = [ ./backports.nix ]; nixpkgs.overlays = import ./backports.nix;
time.timeZone = "US/Eastern"; time.timeZone = "US/Eastern";