1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2024-11-14 04:33:17 +00:00
Dotfiles/nix/modules/wm.nix
2021-06-10 16:44:00 +03:00

27 lines
764 B
Nix
Executable file

{config, pkgs, ...}:
{
services.dbus.packages = with pkgs; [ gnome2.GConf ];
programs.dconf.enable = true;
services.xserver = {
enable = true;
layout = "us";
xkbOptions = "eurosign:e";
windowManager.i3.enable = true;
displayManager.gdm.enable = true;
displayManager.setupCommands = "xrandr --output HDMI-A-0 --left-of eDP";
desktopManager.gnome.enable = true;
windowManager.xmonad = {
enable = true;
enableContribAndExtras = true;
extraPackages = haskellPackages: [
haskellPackages.xmonad-contrib
haskellPackages.xmonad-extras
haskellPackages.xmonad-utils
haskellPackages.xmonad
haskellPackages.xmobar
];
};
displayManager.defaultSession = "none+xmonad";
};
}