From 51d85b1dd501b9fe28f71e6c691c2149c787b24f Mon Sep 17 00:00:00 2001 From: aszlig Date: Thu, 14 Jan 2016 13:04:21 +0100 Subject: machines/tyree: Factor out T100HA specific stuff This should go into its own hardware module, so it might be helpful for others as well (especially if we're going to put it into upstream ). Signed-off-by: aszlig --- machines/aszlig/managed/tyree.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'machines') diff --git a/machines/aszlig/managed/tyree.nix b/machines/aszlig/managed/tyree.nix index 4711fd40..fead2ef3 100644 --- a/machines/aszlig/managed/tyree.nix +++ b/machines/aszlig/managed/tyree.nix @@ -1,12 +1,8 @@ { config, pkgs, lib, ... }: { - boot.initrd.availableKernelModules = [ - "xhci_pci" "usbhid" "sdhci_acpi" "mmc_block" - ]; + boot.initrd.availableKernelModules = [ "usbhid" ]; boot.kernelModules = [ "kvm-intel" ]; - boot.kernelPackages = pkgs.linuxPackages_latest; - boot.kernelParams = [ "fbcon=rotate:3" ]; boot.loader.gummiboot.enable = true; boot.loader.efi.canTouchEfiVariables = true; @@ -78,5 +74,6 @@ extraGroups = [ "video" "wheel" ]; }; + vuizvui.hardware.t100ha.enable = true; vuizvui.user.aszlig.programs.vim.enable = true; } -- cgit 1.4.1