Created
July 17, 2015 03:34
-
-
Save cleverca22/113d043e60da1deb4d65 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ lib, config, pkgs, ... }: | |
{ | |
nixpkgs.config = { | |
packageOverrides = pkgs: rec { | |
pixman = pkgs.stdenv.lib.overrideDerivation pkgs.pixman (oldAttrs: { | |
# bypass a gcc 4.9 bug | |
configureFlags = "--disable-arm-iwmmxt"; | |
}); | |
}; | |
}; | |
services.xserver = { | |
enable = true; | |
displayManager.slim.enable = true; # adjust as needed, based on ram and disk available | |
desktopManager.xfce.enable = false; | |
desktopManager.xterm.enable = true; | |
videoDrivers = [ "fbdev" ]; # the only driver on the pi that works | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment