From 38dbaccf97e344ad5dd4b7cfc466b95667a43239 Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 3 May 2023 02:54:56 -0400 Subject: hosts: pin nixpkgs from flake to registry --- hosts/default.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'hosts/default.nix') 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"; -- cgit v1.2.3