modules(home/base16-gtk): init

This commit is contained in:
Kat Inskip 2022-07-29 10:04:20 -07:00
parent 5870611776
commit a130807b83
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
7 changed files with 315 additions and 7 deletions

View file

@ -1,18 +1,20 @@
{ inputs, system ? builtins.currentSystem or "x86_64-linux" , ... }: let
optionalAttrs = cond: as: if cond then as else { };
pkgs = import ./overlays { inherit inputs system; };
bootstrapPkgs = import ./overlays { inherit inputs system; };
inherit (pkgs) lib;
patchedInputs = inputs // { darwin = pkgs.applyPatches {
patchedInputs = inputs // { darwin = bootstrapPkgs.applyPatches {
name = "darwin";
src = inputs.darwin;
patches = [ (pkgs.fetchpatch {
patches = [ (bootstrapPkgs.fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/LnL7/nix-darwin/pull/310.patch";
sha256 = "sha256-drnLOhF8JGXx8YY7w1PD2arUZvbqafWPTatQNTHt+QI=";
}) ];
}; };
pkgs = import ./overlays { inherit system; inputs = patchedInputs; };
mkTree = import ./tree.nix { inherit lib; };
localTree = mkTree {
inputs = patchedInputs;