diff --git a/configuration/common/default.nix b/configuration/common/default.nix index 0539f43..d3f068d 100644 --- a/configuration/common/default.nix +++ b/configuration/common/default.nix @@ -6,6 +6,7 @@ ./backup.nix ./locale.nix + ./networking.nix ./nix.nix ./programs.nix ./ssh.nix diff --git a/configuration/common/networking.nix b/configuration/common/networking.nix index b2d3bb9..77e5f1b 100644 --- a/configuration/common/networking.nix +++ b/configuration/common/networking.nix @@ -1,4 +1,4 @@ -{ ... }: +{ lib, ... }: { diff --git a/flake.lock b/flake.lock index 2c64d48..5672aa4 100644 --- a/flake.lock +++ b/flake.lock @@ -212,11 +212,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1712163089, - "narHash": "sha256-Um+8kTIrC19vD4/lUCN9/cU9kcOsD1O1m+axJqQPyMM=", + "lastModified": 1712439257, + "narHash": "sha256-aSpiNepFOMk9932HOax0XwNxbA38GOUVOiXfUVPOrck=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "fd281bd6b7d3e32ddfa399853946f782553163b5", + "rev": "ff0dbd94265ac470dda06a657d5fe49de93b4599", "type": "github" }, "original": { diff --git a/hosts/hydra-1/configuration.nix b/hosts/hydra-1/configuration.nix index 027f0d9..7bd2095 100644 --- a/hosts/hydra-1/configuration.nix +++ b/hosts/hydra-1/configuration.nix @@ -26,7 +26,7 @@ networking.nameservers = [ "2001:638:904:ffcc::3" "2001:638:904:ffcc::4" "141.24.40.3" "141.24.40.4" ]; nix = { - settings.allowed-uris = "http:// https://"; + settings.allowed-uris = "http: https: github:"; distributedBuilds = true; buildMachines = [ { diff --git a/hosts/hydra-2/configuration.nix b/hosts/hydra-2/configuration.nix index 5397517..8dc1418 100644 --- a/hosts/hydra-2/configuration.nix +++ b/hosts/hydra-2/configuration.nix @@ -26,7 +26,7 @@ networking.nameservers = [ "2001:638:904:ffcc::3" "2001:638:904:ffcc::4" "141.24.40.3" "141.24.40.4" ]; # Allow Hydra to fetch remote URLs in restricted mode - nix.settings.allowed-uris = "http:// https://"; + nix.settings.allowed-uris = "http: https: github:"; services.openssh.settings= { PermitRootLogin = "yes";