From a667b3aa4f2f4466aff22c995e9c0f934399eae7 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Fri, 26 Feb 2016 12:06:00 +0100 Subject: [PATCH] import https://nixos.org/wiki/Airis_N990 Fixes https://github.com/NixOS/nixpkgs/issues/13170 --- airis/n990.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 airis/n990.nix diff --git a/airis/n990.nix b/airis/n990.nix new file mode 100644 index 0000000..b3056b7 --- /dev/null +++ b/airis/n990.nix @@ -0,0 +1,22 @@ +{ ... }: + +{ + boot = { + initrd.kernelModules = [ "pata_via" ]; + + kernelParams = [ + "apm=on" + "acpi=on" + "vga=0x317" # 1024x768 + "console=tty1" + "video=vesafb:ywrap" # Faster scroll + ]; + }; + + services.xserver = { + videoDriver = "unichrome"; + synaptics.enable = true; + }; + + networking.enableIntel2200BGFirmware = true; +}