dotfiles/nixos/modules/xserver.nix

25 lines
477 B
Nix
Raw Normal View History

2021-01-18 20:24:07 +01:00
inputs:
{ nixpkgs, nixpkgs-unstable, nixpkgs-master, custom, rlib }:
{ config, pkgs, ... }:
{
services.xserver = {
enable = true;
windowManager = {
i3.enable = true;
};
displayManager = {
defaultSession = "none+i3";
};
2021-01-10 19:55:13 +01:00
videoDrivers = [ "nvidiaBeta" ];
libinput.enable = true;
};
hardware = {
opengl.driSupport32Bit = true;
# opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ]; # What does this do??
};
}