summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-05-22 19:40:55 -0400
committerseth <[email protected]>2024-05-22 17:50:16 -0600
commit2709dd24a25fe667728544b79390ca7bda48c8b8 (patch)
treeb6fba8f0b7acc37831065c235c80a8b43db0338d /flake.nix
parentd49db6e7118ac34b18d32b59bba6785eb716a004 (diff)
remove overlay
https://zimbatm.com/notes/1000-instances-of-nixpkgs and i don't really use them :shrug:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix7
1 files changed, 1 insertions, 6 deletions
diff --git a/flake.nix b/flake.nix
index 486dd4f..5775907 100644
--- a/flake.nix
+++ b/flake.nix
@@ -56,18 +56,13 @@
isValid = _: v:
lib.elem pkgs.system (v.meta.platforms or [pkgs.system]) && !(v.meta.broken or false);
- pkgs' = lib.filterAttrs isValid (import ./. {
- nixpkgs = pkgs;
- inherit system;
- });
+ pkgs' = lib.filterAttrs isValid (import ./. {inherit pkgs;});
in
pkgs' // {default = pkgs'.treefetch;}
);
formatter = forAllSystems (pkgs: pkgs.alejandra);
- overlays.default = final: prev: import ./overlay.nix final prev;
-
templates = import ./templates;
};
}