not-detected: use lib.mkDefault

This commit is contained in:
Yegor Timoshenko 2018-06-17 23:25:41 +03:00 committed by GitHub
parent 176380dbbb
commit 6d5cb130af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}