mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-26 18:16:13 +01:00
26 lines
541 B
Nix
26 lines
541 B
Nix
{ nixpkgs, nixpkgs-unstable, nixpkgs-master, custom, hostname, rlib }:
|
|
{ config, ... }:
|
|
{
|
|
services.xserver = {
|
|
enable = true;
|
|
|
|
windowManager = {
|
|
i3.enable = true;
|
|
xmonad.enable = true;
|
|
xmonad.enableContribAndExtras = true;
|
|
};
|
|
|
|
displayManager = {
|
|
defaultSession = "none+i3";
|
|
};
|
|
|
|
videoDrivers = [ "nvidia" ];
|
|
libinput.enable = true;
|
|
};
|
|
|
|
hardware = {
|
|
opengl.driSupport32Bit = true;
|
|
# opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ]; # What does this do??
|
|
};
|
|
}
|