Add scripts

This commit is contained in:
Tim Schubert 2021-01-24 19:52:45 +01:00
parent 4be94e5ed8
commit 73eff3459e
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
4 changed files with 15 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{ pkgs }:
{ pkgs ? import <nixpkgs> { } }:
with pkgs;
rec {
@ -16,4 +16,5 @@ rec {
keys = callPackage ./pkgs/keys { };
homePage = callPackage ./pkgs/homePage { };
deploy = callPackage ./pkgs/deploy.nix { };
scripts = callPackage ./pkgs/scripts.nix { };
}

View file

@ -19,6 +19,7 @@ in
{
nixpkgs.overlays = [
this.overlays.tubslatex
this.overlays.dadadaScripts
];
imports = lib.attrValues this.hmModules;

View file

@ -6,4 +6,7 @@
homePage = self: super: {
homePage = super.callPackage ../pkgs/homePage { };
};
dadadaScripts = self: super: {
dadadaScripts = super.callPackage ../pkgs/scripts.nix { };
};
}

9
pkgs/scripts.nix Normal file
View file

@ -0,0 +1,9 @@
{ stdenv }:
(import
(builtins.fetchGit {
url = "https://git.dadada.li/dadada/scripts.git";
ref = "main";
rev = "3393073cd3511d43f622972b891a20ba069fa052";
})
{ inherit stdenv; })