not-detected: use lib.mkDefault
This commit is contained in:
parent
176380dbbb
commit
6d5cb130af
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue