diff options
author | stuebinm | 2021-03-03 00:51:39 +0100 |
---|---|---|
committer | stuebinm | 2021-03-03 00:51:39 +0100 |
commit | d96fbd63510048bf56d3d600a65f7983096c1bb1 (patch) | |
tree | 192afecb97bcdb829e1461bebc283cc86fb99586 /pkgs |
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
Diffstat (limited to '')
-rw-r--r-- | pkgs/default.nix | 18 |
1 files changed, 18 insertions, 0 deletions
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 + |