From da0b9b3ae634d0c55f9ae95589918575afdd71c3 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sun, 31 Mar 2024 17:47:33 -0400 Subject: [PATCH] meta(nix): Derive attribute values of outputs This makes it possible to programmatically use all the outputs in a flake without having to manually specify each one individually, useful for having one main nix-config that can be used with other flakes and system configurations. --- overlays/default.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/overlays/default.nix b/overlays/default.nix index 4c8de1fa..6d877f3d 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -1,10 +1,5 @@ { self, ... }: { - nixpkgs.overlays = with self.overlays; [ - base16-schemes - kitty - srb2 - zola - ]; + nixpkgs.overlays = builtins.attrValues self.overlays; }