mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-20 09:47:57 +02:00
feat(nix): Don't hardcode package outputs
In order to determine the name of a package you want to include in your own nix-config, simply copy the filename without the .nix part.
This commit is contained in:
parent
5674d3ed81
commit
d1513228d0
@ -35,13 +35,8 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
packages."x86_64-linux" = with nixpkgs.legacyPackages."x86_64-linux"; {
|
packages."x86_64-linux" = with nixpkgs.legacyPackages."x86_64-linux";
|
||||||
aleo-fonts = callPackage ./packages/aleo-fonts.nix { };
|
builtins.mapAttrs (name: value: callPackage ./packages/${name}) (builtins.readDir ./packages);
|
||||||
fluent-icons = callPackage ./packages/fluent-icons.nix { };
|
|
||||||
hycov = callPackage ./packages/hycov.nix { };
|
|
||||||
osu-backgrounds = callPackage ./packages/osu-backgrounds.nix { };
|
|
||||||
webp-thumbnailer = callPackage ./packages/webp-thumbnailer.nix { };
|
|
||||||
};
|
|
||||||
|
|
||||||
overlays = builtins.mapAttrs (name: value: import ./overlays/${name}) (builtins.readDir ./overlays);
|
overlays = builtins.mapAttrs (name: value: import ./overlays/${name}) (builtins.readDir ./overlays);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user