dotfiles/nixos/systems/toothpick/nixpkgs.nix
magic_rb 0b9583b4d3
Clean up inputs and unfree package handling
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-05-21 11:32:08 +02:00

27 lines
400 B
Nix

{
inputs',
config',
lib,
...
}: {
imports = [
../../common/nixpkgs.nix
];
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"consul"
"vault"
"vault-bin"
];
nixpkgs.overlays =
(with config'.flake.overlays; [
udp-over-tcp
emacsclient-remote
])
++ (with inputs'.nixng.overlays; [
default
]);
}