dotfiles/nixos/modules/xserver.nix
2021-01-24 17:43:50 +01:00

27 lines
549 B
Nix

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