dotfiles/nix/nixos/modules/xserver.nix
2021-02-28 18:14:01 +01:00

25 lines
521 B
Nix

{ nixpkgs, nixpkgs-unstable, nixpkgs-master, custom, hostname, rlib }:
{ config, ... }:
{
services.xserver = {
enable = true;
windowManager = {
xmonad.enable = true;
xmonad.enableContribAndExtras = true;
};
displayManager = {
defaultSession = "none+xmonad";
};
videoDrivers = [ "nvidia" ];
libinput.enable = true;
};
hardware = {
opengl.driSupport32Bit = true;
# opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ]; # What does this do??
};
}