build: pin nixos-option to nix 2.24
Martin Weinelt committed
Apr 8, 2025 at 03:29 UTC
5779990bc54d3164ff75a899db49124364533fac
1 file changed
+8
build/common.nix
+8
@@ -15,6 +15,14 @@
15
16
nixpkgs.config.allowUnfree = true;
17
18
+ nixpkgs.overlays = [
19
+ (_prev: final: {
20
+ # fails to find nix-main against nix 2.28.x
21
+ # https://github.com/NixOS/infra/pull/620#issuecomment-2784979947
22
+ nixos-option = final.nixos-option.override { nix = pkgs.nixVersions.nix_2_24; };
23
+ })
24
+ ];
25
+
26
hardware.enableAllFirmware = true;
27
hardware.cpu.amd.updateMicrocode = true;
28
hardware.cpu.intel.updateMicrocode = true;