thinkpad: use lib.mkDefault on all unmergable options

This commit is contained in:
Yegor Timoshenko
2017-12-24 01:20:36 +00:00
parent 67cd7af6be
commit fcb9d76ead
6 changed files with 13 additions and 17 deletions

View File

@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, lib, pkgs, ... }:
{
imports = [
@@ -7,8 +7,8 @@
];
# Use the gummiboot efi boot loader. (From default generated configuration.nix)
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.systemd-boot.enable = lib.mkDefault true;
boot.loader.efi.canTouchEfiVariables = lib.mkDefault true;
# https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_T460s
kernelAtleast = [