flake: unpin darwin machines
This commit is contained in:
parent
aaedeec81f
commit
5dc04ae2f0
2 changed files with 2 additions and 23 deletions
17
flake.lock
generated
17
flake.lock
generated
|
@ -122,22 +122,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs-darwin-pinned": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1715530780,
|
|
||||||
"narHash": "sha256-bBz4/T/zBzv9Xi5XUlFDeosmSNppLaCQTizMKSksAvk=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "3281bec7174f679eabf584591e75979a258d8c40",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "3281bec7174f679eabf584591e75979a258d8c40",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs-update": {
|
"nixpkgs-update": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"mmdoc": [],
|
"mmdoc": [],
|
||||||
|
@ -219,7 +203,6 @@
|
||||||
"flake-parts": "flake-parts",
|
"flake-parts": "flake-parts",
|
||||||
"nix-darwin": "nix-darwin",
|
"nix-darwin": "nix-darwin",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"nixpkgs-darwin-pinned": "nixpkgs-darwin-pinned",
|
|
||||||
"nixpkgs-update": "nixpkgs-update",
|
"nixpkgs-update": "nixpkgs-update",
|
||||||
"nixpkgs-update-github-releases": "nixpkgs-update-github-releases",
|
"nixpkgs-update-github-releases": "nixpkgs-update-github-releases",
|
||||||
"nur-update": "nur-update",
|
"nur-update": "nur-update",
|
||||||
|
|
|
@ -43,8 +43,6 @@
|
||||||
|
|
||||||
treefmt-nix.url = "github:numtide/treefmt-nix";
|
treefmt-nix.url = "github:numtide/treefmt-nix";
|
||||||
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
|
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
nixpkgs-darwin-pinned.url = "github:NixOS/nixpkgs/3281bec7174f679eabf584591e75979a258d8c40";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs @ { flake-parts, self, ... }:
|
outputs = inputs @ { flake-parts, self, ... }:
|
||||||
|
@ -104,8 +102,7 @@
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
darwin01 = darwinSystem {
|
darwin01 = darwinSystem {
|
||||||
# https://github.com/nix-community/infra/issues/1155
|
pkgs = inputs.nixpkgs.legacyPackages.aarch64-darwin;
|
||||||
pkgs = inputs.nixpkgs-darwin-pinned.legacyPackages.aarch64-darwin;
|
|
||||||
modules = [ ./hosts/darwin01/configuration.nix ];
|
modules = [ ./hosts/darwin01/configuration.nix ];
|
||||||
};
|
};
|
||||||
darwin02 = darwinSystem {
|
darwin02 = darwinSystem {
|
||||||
|
@ -113,8 +110,7 @@
|
||||||
modules = [ ./hosts/darwin02/configuration.nix ];
|
modules = [ ./hosts/darwin02/configuration.nix ];
|
||||||
};
|
};
|
||||||
darwin03 = darwinSystem {
|
darwin03 = darwinSystem {
|
||||||
# use the same nixpkgs as darwin01
|
pkgs = inputs.nixpkgs.legacyPackages.aarch64-darwin;
|
||||||
pkgs = inputs.nixpkgs-darwin-pinned.legacyPackages.aarch64-darwin;
|
|
||||||
modules = [ ./hosts/darwin03/configuration.nix ];
|
modules = [ ./hosts/darwin03/configuration.nix ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue