Add unstable packages to macOS

This commit is contained in:
Dave Gallant
2023-08-14 16:06:53 -04:00
parent 46d91da935
commit 4481acdc7f
4 changed files with 19 additions and 9 deletions

View File

@@ -94,9 +94,15 @@
};
};
darwinConfigurations = {
darwinConfigurations = let
system = "aarch64-darwin";
unstable = import nixpkgs-unstable {
inherit system;
};
in {
zelus = darwin.lib.darwinSystem {
system = "aarch64-darwin";
inherit system;
specialArgs = {inherit unstable;};
modules = [
home-manager.darwinModules.home-manager
@@ -115,6 +121,9 @@
useGlobalPkgs = true;
useUserPackages = true;
users."dave.gallant".imports = [./home/default.nix];
extraSpecialArgs = {
inherit unstable;
};
};
};
})