@cryptotaxi247 / infra / commits / 6d1d1c2f

Add nixpkgs registry override

Eelco Dolstra committed Apr 20, 2021 at 13:31 UTC 6d1d1c2f65a90def7d76794a17102fed0a3224ca
2 files changed +3 -1
modules/common.nix
-1
@@ -12,7 +12,6 @@ with lib;
12
13 nix.useSandbox = true;
14 nix.buildCores = 0;
15 - nix.nixPath = [ "nixpkgs=channel:nixos-19.09-small" ];
15 nix.extraOptions =
16 ''
17 experimental-features = nix-command flakes ca-references
ngi0/hydra/flake.nix
+3
@@ -24,6 +24,9 @@
24 system.configurationRevision = self.rev
25 or (throw "Cannot deploy from an unclean source tree!");
26
27 + nix.registry.nixpkgs.flake = nixpkgs;
28 + nix.nixPath = [ "nixpkgs=${nixpkgs}" ];
29 +
30 deployment.targetEnv = "hetzner";
31 deployment.hetzner.mainIPv4 = "116.202.113.248"; # 2a01:4f8:231:4187::2
32 deployment.hetzner.createSubAccount = false;