mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
create backports
This commit is contained in:
parent
c93afeb13d
commit
16df798d47
4 changed files with 27 additions and 30 deletions
25
modules/backports.nix
Normal file
25
modules/backports.nix
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
|
||||||
|
(self: super: {
|
||||||
|
powerline-go = pkgs.callPackage
|
||||||
|
(pkgs.fetchurl {
|
||||||
|
url = "https://raw.githubusercontent.com/NixOS/nixpkgs/31106c85cb1dc50755f9dd41244575332b6b64c2/pkgs/tools/misc/powerline-go/default.nix";
|
||||||
|
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";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
})
|
||||||
|
|
||||||
|
];
|
||||||
|
}
|
|
@ -1,5 +1,7 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
{
|
{
|
||||||
|
imports = [ ./backports.nix ];
|
||||||
|
|
||||||
time.timeZone = "US/Eastern";
|
time.timeZone = "US/Eastern";
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
|
|
|
@ -76,12 +76,6 @@ in
|
||||||
environment.variables.PLGO_HOSTNAMEFG = "0";
|
environment.variables.PLGO_HOSTNAMEFG = "0";
|
||||||
environment.variables.PLGO_HOSTNAMEBG = "114";
|
environment.variables.PLGO_HOSTNAMEBG = "114";
|
||||||
|
|
||||||
nixpkgs.overlays = [
|
|
||||||
(self: super: {
|
|
||||||
powerline-go = pkgs.callPackage ../pkgs/powerline-go-updated { };
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
terminal = "screen-256color";
|
terminal = "screen-256color";
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
||||||
|
|
||||||
buildGoModule rec {
|
|
||||||
pname = "powerline-go";
|
|
||||||
version = "1.18.0";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "justjanne";
|
|
||||||
repo = pname;
|
|
||||||
rev = "v${version}";
|
|
||||||
sha256 = "0dni842xzc8r6wbdfax25940jvxp69zk8xklczkjmyxqawvsxnjh";
|
|
||||||
};
|
|
||||||
|
|
||||||
vendorSha256 = "0dkgp9vlb76la0j439w0rb548qg5v8648zryk3rqgfhd4qywlk11";
|
|
||||||
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
description = "A Powerline like prompt for Bash, ZSH and Fish";
|
|
||||||
license = licenses.gpl3;
|
|
||||||
platforms = platforms.unix;
|
|
||||||
maintainers = with maintainers; [ sifmelcara ];
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue