2021-02-02 20:10:25 +01:00
|
|
|
{ nixpkgs, nixpkgs-unstable, nixpkgs-master, custom, hostname, rlib }:
|
|
|
|
{ config, ... }:
|
2020-12-26 23:36:50 +01:00
|
|
|
{
|
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
windowManager = {
|
|
|
|
i3.enable = true;
|
2021-01-24 17:43:50 +01:00
|
|
|
xmonad.enable = true;
|
|
|
|
xmonad.enableContribAndExtras = true;
|
2020-12-26 23:36:50 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
displayManager = {
|
|
|
|
defaultSession = "none+i3";
|
|
|
|
};
|
|
|
|
|
2021-02-24 12:32:22 +01:00
|
|
|
videoDrivers = [ "nvidia" ];
|
2020-12-26 23:36:50 +01:00
|
|
|
libinput.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
hardware = {
|
|
|
|
opengl.driSupport32Bit = true;
|
|
|
|
# opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ]; # What does this do??
|
|
|
|
};
|
|
|
|
}
|