mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
backport brave
This commit is contained in:
parent
f5947e12b5
commit
1498eee0c1
3 changed files with 17 additions and 9 deletions
|
@ -27,6 +27,7 @@ in
|
|||
|
||||
imports = [
|
||||
./modules/alacritty.nix
|
||||
./modules/backports.nix
|
||||
./modules/baseline.nix
|
||||
./modules/cli.nix
|
||||
./modules/flakes.nix
|
||||
|
|
|
@ -1,12 +1,21 @@
|
|||
[
|
||||
{ lib, ... }:
|
||||
let
|
||||
rev = "00783f3f041491fc8b290da3494187b7f47100c0";
|
||||
|
||||
(self: super: {
|
||||
powerline-go = super.callPackage
|
||||
backport = (name: path: sha256: self: super: {
|
||||
${name} = super.callPackage
|
||||
(super.fetchurl {
|
||||
url = "https://raw.githubusercontent.com/NixOS/nixpkgs/65211f5afcc3637c55423b327157a5eae05dff67/pkgs/tools/misc/powerline-go/default.nix";
|
||||
sha256 = "79a60a12da011ed12dc46aabd0b43e928604759b6e7d1e0b0fd7afc3cedfd4ad";
|
||||
inherit sha256;
|
||||
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")
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
nixpkgs.overlays = import ./backports.nix;
|
||||
|
||||
time.timeZone = "US/Eastern";
|
||||
|
||||
boot = {
|
||||
|
|
Loading…
Reference in a new issue