Skip to content

Commit

Permalink
not-detected: use lib.mkDefault
Browse files Browse the repository at this point in the history
  • Loading branch information
lukateras committed Jun 17, 2018
1 parent 176380d commit 6d5cb13
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions 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;
}

0 comments on commit 6d5cb13

Please sign in to comment.