From 83339d1bc2c0b36322d26ec4bed436eab0ea04c8 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 21 Dec 2024 00:45:06 +0000 Subject: [PATCH] Use nixpkgs-2405 on hetznix --- flake.nix | 2 +- nix/hosts/hetznix/configuration.nix | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index cd2267d..2c601b3 100644 --- a/flake.nix +++ b/flake.nix @@ -66,7 +66,7 @@ }; hetznix = nixpkgs.lib.nixosSystem { - inherit system; + inherit specialArgs system; modules = [ disko.nixosModules.disko diff --git a/nix/hosts/hetznix/configuration.nix b/nix/hosts/hetznix/configuration.nix index 51fdb46..08b5adc 100644 --- a/nix/hosts/hetznix/configuration.nix +++ b/nix/hosts/hetznix/configuration.nix @@ -1,4 +1,5 @@ { + inputs, modulesPath, lib, pkgs, @@ -16,6 +17,8 @@ ./modules/nginx ]; + nix.nixPath = [ "nixpkgs=${inputs.nixpkgs-2405}" ]; + networking.firewall.allowedTCPPorts = [ 80 443