diff options
| author | Fuwn <[email protected]> | 2025-05-25 02:51:06 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-05-25 02:51:06 -0700 |
| commit | 1bf66ae55bc982a89b706fbc1e5abdfc55acc2a8 (patch) | |
| tree | 92fd4af8024c5587ca67c7d5cc2939955fde697c /lib/kansai-pkgs.nix | |
| parent | Nara: Use unstable nixpkgs (diff) | |
| download | nixos-config-1bf66ae55bc982a89b706fbc1e5abdfc55acc2a8.tar.xz nixos-config-1bf66ae55bc982a89b706fbc1e5abdfc55acc2a8.zip | |
Nara: Upgrade Determinate and nix-darwin
Diffstat (limited to 'lib/kansai-pkgs.nix')
| -rw-r--r-- | lib/kansai-pkgs.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/kansai-pkgs.nix b/lib/kansai-pkgs.nix index 8e04078..916cb87 100644 --- a/lib/kansai-pkgs.nix +++ b/lib/kansai-pkgs.nix @@ -1,6 +1,7 @@ { systemsAttributes, nixpkgs, + nixpkgs-darwin, self, inputs, }: @@ -9,10 +10,11 @@ nixpkgsCudaSupport ? false, nixpkgsAllowUnfreePredicate ? [ ], nixpkgsExtraConfig ? { }, + nixpkgsIsDarwin ? false, }: (systemsAttributes ( system: - import nixpkgs { + import (if nixpkgsIsDarwin then nixpkgs-darwin else nixpkgs) { inherit system; overlays = (import "${self}/lib/overlays.nix" { inherit self; }) ++ [ |