From 6d5cb130affc6754d4006ed6130bee863bac8e86 Mon Sep 17 00:00:00 2001 From: Yegor Timoshenko Date: Sun, 17 Jun 2018 23:25:41 +0300 Subject: [PATCH] not-detected: use lib.mkDefault --- nixos/modules/installer/scan/not-detected.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/nixos/modules/installer/scan/not-detected.nix b/nixos/modules/installer/scan/not-detected.nix index 903933e2df0..baa068c08db 100644 --- a/nixos/modules/installer/scan/not-detected.nix +++ b/nixos/modules/installer/scan/not-detected.nix @@ -1,9 +1,6 @@ -# List all devices which are _not_ detected by nixos-generate-config. -# Common devices are enabled by default. -{ config, lib, pkgs, ... }: - -with lib; +# Enables non-free firmware on devices not recognized by `nixos-generate-config`. +{ lib, ... }: { - hardware.enableRedistributableFirmware = true; + hardware.enableRedistributableFirmware = lib.mkDefault true; }