1
0
Fork 0

Use moar overlays

This commit is contained in:
Malte Brandy 2020-05-22 03:32:34 +02:00
parent 9580312dbc
commit be6c8f20e1
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9
7 changed files with 57 additions and 0 deletions

5
home/desktop/firefox.nix Normal file
View file

@ -0,0 +1,5 @@
{ ... }: {
programs.firefox.enable = true;
programs.browserpass.enable = true;
home.sessionVariables.MOZ_ENABLE_WAYLAND = 1;
}

View file

@ -0,0 +1 @@
self: super: { email2matrix = self.callPackage ./package.nix { }; }

View file

@ -0,0 +1,12 @@
{ buildGoModule, fetchFromGitHub, ... }:
buildGoModule rec {
name = "email2matrix";
version = "782bcfdd67983ff27f0b9cec5c81cf1a20796ab0";
src = fetchFromGitHub {
owner = "devture";
repo = "email2matrix";
rev = version;
sha256 = "0nx99iab2y10m4jh4jl9c4y7j4iy8zlyfcn42v4y4mlk1507czlj";
};
modSha256 = "0nrl1d1628isd6183a9rj4qmsmzpbsf656cm75vw0lz2x0s4x7dg";
}

View file

@ -0,0 +1 @@
self: super: { jali = self.callPackage ./package.nix { }; }

19
overlays/jali/package.nix Normal file
View file

@ -0,0 +1,19 @@
{ aqbanking, python3Packages, fetchgit }:
let
andir = import (builtins.fetchTarball {
url = "https://github.com/andir/nixpkgs/archive/aqbanking.tar.gz";
sha256 = "06m7risi68jfqgv001ip77lzz6bylvvdn5j8sn845c54zpm6qp36";
}) { };
in with python3Packages;
buildPythonApplication rec {
name = "${pname}-${version}";
pname = "jali";
doCheck = false;
version = "b47d3b9";
src = fetchgit {
url = "https://git.darmstadt.ccc.de/jali/jali.git";
rev = version;
sha256 = "0l5h9hjri77zifx3x4khw7ncmmc9l9ppisdjilsfllzkabz4xjf4";
};
propagatedBuildInputs = [ jinja2 pendulum GitPython andir.aqbanking ];
}

View file

@ -0,0 +1 @@
self: super: { pass-clip = self.callPackage ./package.nix { }; }

View file

@ -0,0 +1,18 @@
{ stdenv, fetchFromGitHub, pass-wayland }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "pass-clip";
version = "0.2";
src = fetchFromGitHub {
owner = "ibizaman";
repo = "pass-clip";
rev = "v${version}";
sha256 = "1jx5xl5fna9iw9325qiyn6nzfg46dxvksiq7nb52zwjb6zgv7niq";
};
buildPhase = "echo no build!";
installPhase = ''
echo "Tada!";
PREFIX=$out make install
'';
propagatedBuildInputs = [ pass-wayland ];
}