mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-30 03:56:12 +01:00
25 lines
521 B
Nix
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??
|
|
};
|
|
}
|