From d96fbd63510048bf56d3d600a65f7983096c1bb1 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Wed, 3 Mar 2021 00:51:39 +0100 Subject: migrating config This deploy logic is primarily based on hxchn's deploy lib [1], with some slight modifications to make it work with my setup. Everything seems to work fine for now. However, I am unsure about the usage of niv — the config doesn't seem to gain much from it, apart from (some) additional complexity. [1] https://gitlab.com/hexchen/nixfiles --- pkgs/default.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pkgs/default.nix (limited to 'pkgs') diff --git a/pkgs/default.nix b/pkgs/default.nix new file mode 100644 index 0000000..94d012a --- /dev/null +++ b/pkgs/default.nix @@ -0,0 +1,18 @@ +{ ... }: + +let + sources = import ../nix/sources.nix; + pkgs = import sources.nixpkgs {}; + + callPackage = pkgs.lib.callPackageWith (pkgs // newpkgs); + + newpkgs = { +# pleroma = callPackage "${sources.pbb-nixfiles}/pkgs/pleroma" {}; +# dendrite = callPackage "${sources.nixchen}/pkgs/dendrite" {}; + + inherit callPackage; + appendOverlays = overlays: (pkgs.appendOverlays overlays) // newpkgs; + }; + +in pkgs // newpkgs + -- cgit v1.2.3