From 126004273f70bde39e34c247d61d665289be3488 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Sun, 4 Feb 2024 14:53:41 +0100 Subject: [PATCH] disable allowUnfree --- modules/base.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/modules/base.nix b/modules/base.nix index 3258c60..278b790 100644 --- a/modules/base.nix +++ b/modules/base.nix @@ -2,13 +2,17 @@ { # Firmware. # + # The list of hardware.enableAllFirmware contains non-redistributable licensed firmware files. + # This requires nixpkgs.config.allowUnfree to be true. + # An alternative is to use the hardware.enableRedistributableFirmware option. + hardware.enableAllFirmware = false; + # # Enables e.g. Intel microcode updates. # Defaults to `config.hardware.enableAllFirmware`. - #hardware.enableRedistributableFirmware = true; - hardware.enableAllFirmware = true; + hardware.enableRedistributableFirmware = true; # Allow unfree packages. - nixpkgs.config.allowUnfree = true; + nixpkgs.config.allowUnfree = false; # Bootloader. boot.loader.systemd-boot.enable = true;