mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 11:23:40 +00:00
Add unstable packages to macOS
This commit is contained in:
13
outputs.nix
13
outputs.nix
@@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
})
|
||||
|
Reference in New Issue
Block a user