nix: create overlay and use it throughout the repo

This commit is contained in:
steveej 2019-01-26 23:59:31 +01:00
parent 213aa184b1
commit d38563f4a1
5 changed files with 11 additions and 6 deletions

View file

@ -25,9 +25,6 @@ in {
dropbearStatic = dropbear.override {
enableStatic = true;
};
just = pkgs.callPackage ../../pkgs/just.nix {};
duplicacy = pkgs.callPackage ../../pkgs/duplicacy {};
};
};

View file

@ -5,7 +5,6 @@
let
keys = import ../../../variables/keys.nix;
mfcl3770cdw = pkgs.callPackage ../../../pkgs/mfcl3770cdw.nix {};
in {
# TASK: new device

View file

@ -1,6 +1,10 @@
{ ... }:
{
nixpkgs.overlays = [
(import ../../../overlay.nix)
];
imports = [
./boot.nix
./pkg.nix

5
nix/overlay.nix Normal file
View file

@ -0,0 +1,5 @@
self: super: {
duplicay = super.callPackage ./pkgs/duplicacy {};
mfcl3770cdw = super.callPackage ./pkgs/mfcl3770cdw.nix {};
just = super.callPackage ./pkgs/just.nix {};
}