backport brave

This commit is contained in:
Sean Buckley 2021-03-08 21:40:22 -05:00
parent f5947e12b5
commit 1498eee0c1
3 changed files with 17 additions and 9 deletions

View file

@ -27,6 +27,7 @@ in
imports = [ imports = [
./modules/alacritty.nix ./modules/alacritty.nix
./modules/backports.nix
./modules/baseline.nix ./modules/baseline.nix
./modules/cli.nix ./modules/cli.nix
./modules/flakes.nix ./modules/flakes.nix

View file

@ -1,12 +1,21 @@
[ { lib, ... }:
let
rev = "00783f3f041491fc8b290da3494187b7f47100c0";
(self: super: { backport = (name: path: sha256: self: super: {
powerline-go = super.callPackage ${name} = super.callPackage
(super.fetchurl { (super.fetchurl {
url = "https://raw.githubusercontent.com/NixOS/nixpkgs/65211f5afcc3637c55423b327157a5eae05dff67/pkgs/tools/misc/powerline-go/default.nix"; inherit sha256;
sha256 = "79a60a12da011ed12dc46aabd0b43e928604759b6e7d1e0b0fd7afc3cedfd4ad"; url = "https://raw.githubusercontent.com/NixOS/nixpkgs/${rev}/pkgs/${path}";
}) })
{ }; { };
}) });
] in
{
nixpkgs.overlays =
[
(backport "powerline-go" "tools/misc/powerline-go/default.nix" "3f5bceb483167dfea7bfb88bd3226c375be9564a8b321096bf1456c905acb90b")
(backport "brave" "applications/networking/browsers/brave/default.nix" "6e45fde1963df084bc86c36e735b5d806c528cf684da56107944b0dda462617f")
];
}

View file

@ -1,7 +1,5 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
nixpkgs.overlays = import ./backports.nix;
time.timeZone = "US/Eastern"; time.timeZone = "US/Eastern";
boot = { boot = {