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

6
flake.lock generated
View File

@@ -91,11 +91,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1691853136,
"narHash": "sha256-wTzDsRV4HN8A2Sl0SVQY0q8ILs90CD43Ha//7gNZE+E=",
"lastModified": 1692007866,
"narHash": "sha256-X8w0vPZjZxMm68VCwh/BHDoKRGp+BgzQ6w7Nkif6IVM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "f0451844bbdf545f696f029d1448de4906c7f753",
"rev": "de2b8ddf94d6cc6161b7659649594c79bd66c13b",
"type": "github"
},
"original": {

View File

@@ -25,6 +25,7 @@ in {
"coreutils"
"gnu-sed"
"gnu-tar"
"helm"
"netdata"
"node"
"podman"

View File

@@ -2,6 +2,7 @@
config,
lib,
pkgs,
unstable,
...
}: let
inherit (pkgs) stdenv;
@@ -28,7 +29,7 @@ in {
bat
exa
fd
github-cli
unstable.github-cli
progress
glab
hadolint
@@ -45,16 +46,15 @@ in {
tmux-sessionizer
# containers
k9s
unstable.k9s
krew
kube-score
kubecolor
kubectl
kubectx
kubernetes-helm
kustomize
minikube
skaffold
unstable.skaffold
stern
# language servers

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;
};
};
};
})