dotfiles/.config/nix/lib/mkSystem.nix
Ahmad Ansori Palembani 26c9cfbaed
refactor(nix): Mix stable and unstable packages
Also replace inkscape with brew cask inkscape on macOS
2024-11-02 10:06:35 +07:00

21 lines
419 B
Nix

{ arch, stable, unstable, extraOverlays ? [] }:
{
system = arch;
pkgs = import stable {
system = arch;
overlays =
[
(import ../overlays/python.nix)
] ++ extraOverlays;
config.allowUnfree = true;
};
pkgs-unstable = import unstable {
system = arch;
overlays =
[
(import ../overlays/python.nix)
] ++ extraOverlays;
config.allowUnfree = true;
};
}