refactor(nix): Mix stable and unstable packages

Also replace inkscape with brew cask inkscape on macOS
This commit is contained in:
Ahmad Ansori Palembani 2024-11-02 10:06:35 +07:00
parent 90c0934bf2
commit 26c9cfbaed
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
13 changed files with 133 additions and 72 deletions

View file

@ -1,9 +1,17 @@
system: nixpkgs: extraOverlays:
{ arch, stable, unstable, extraOverlays ? [] }:
{
system = system;
pkgs = import nixpkgs {
inherit system;
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)