From 839ac6537ed51e6707f5c872bb29cf7791bad205 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Mon, 26 Aug 2024 21:59:13 +0000 Subject: [PATCH] nixosMod/autoUnfree: remove commented sections for cpu microcode not required, works flawless without --- nix/nixos-modules/autoUnfree.nix | 7 ------- 1 file changed, 7 deletions(-) diff --git a/nix/nixos-modules/autoUnfree.nix b/nix/nixos-modules/autoUnfree.nix index 8b6a28d..ab193df 100644 --- a/nix/nixos-modules/autoUnfree.nix +++ b/nix/nixos-modules/autoUnfree.nix @@ -73,16 +73,9 @@ in let inherit (lib.lists) flatten optional optionals; # supported (ordered by long option name) - amd = config.hardware.cpu.amd; - intel = config.hardware.cpu.intel; steam = config.programs.steam; in flatten [ - # hardware.cpu - # TODO in nixpkgs, create {amd,intel}.microcodePackage options - # TODO test if this is really required - #(optional amd.updateMicrocode pkgs.microcodeAmd) - #(optional intel.updateMicrocode pkgs.microcodeIntel) # programs (optional steam.enable steam.package) # TODO improve pulling in dependencies more accurate