diff options
| author | seth <[email protected]> | 2023-05-03 02:54:56 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-05-03 02:54:56 -0400 |
| commit | 38dbaccf97e344ad5dd4b7cfc466b95667a43239 (patch) | |
| tree | 83c13772b2995c753392431329daebb52e27e462 /hosts/default.nix | |
| parent | 48f9bc3e852a0089442667252f4838320d1a95e3 (diff) | |
hosts: pin nixpkgs from flake to registry
Diffstat (limited to 'hosts/default.nix')
| -rw-r--r-- | hosts/default.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/hosts/default.nix b/hosts/default.nix index a325244..11f0046 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -1,6 +1,6 @@ inputs: with inputs; let - common = rec { + common = { system = "x86_64-linux"; builder = nixpkgsUnstable.lib.nixosSystem; @@ -28,7 +28,11 @@ with inputs; let }; nix = { - registry.getchoo.flake = getchoo; + registry = { + getchoo.flake = getchoo; + nixpkgs.flake = nixpkgsUnstable; + }; + settings = { trusted-substituters = [ "https://getchoo.cachix.org" @@ -94,6 +98,8 @@ in { }; }; + nix.registry.nixpkgs.flake = nixpkgs; + _module.args.nixinate = { host = "164.152.17.183"; sshUser = "atlas"; @@ -124,6 +130,8 @@ in { }; }; + nix.registry.nixpkgs.flake = nixpkgs; + _module.args.nixinate = { host = "167.99.145.73"; sshUser = "p-body"; |
