1
Fork 0
satellite/modules/xserver.nix

62 lines
1.2 KiB
Nix
Raw Normal View History

2022-03-09 20:36:48 +01:00
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
# Required for the sddm theme
libsForQt5.qt5.qtquickcontrols
libsForQt5.qt5.qtgraphicaleffects
libsForQt5.qt5.qtbase
];
2020-04-08 18:36:58 +02:00
services.xserver = {
# Enable the X11 windowing system.
enable = true;
xkbOptions = "eurosign:e";
2021-11-29 15:00:11 +01:00
# Make the xmonad session the default
2022-03-09 20:36:48 +01:00
# displayManager.defaultSession = "none+xmonad";
displayManager = {
defaultSession = "none+xmonad";
sddm = {
enable = true;
theme = "${pkgs.sddm-theme-chili}";
};
autoLogin = {
enable = true;
user = "adrielus";
};
};
2021-11-21 13:34:07 +01:00
2021-11-29 15:00:11 +01:00
# Enable xmonad
2021-11-21 13:34:07 +01:00
windowManager.xmonad = {
enable = true;
enableContribAndExtras = true;
};
2020-04-08 18:36:58 +02:00
2021-11-29 15:00:11 +01:00
# Enable xfce I think?
2022-03-09 20:36:48 +01:00
# desktopManager = {
# xterm.enable = false;
# xfce = {
# enable = true;
# noDesktop = true;
# enableXfwm = false;
# };
# };
2021-11-29 15:00:11 +01:00
2020-04-08 18:36:58 +02:00
libinput = {
# Enable touchpad support.
enable = true;
touchpad = {
naturalScrolling = true;
accelSpeed = "3.5";
2020-04-08 18:36:58 +02:00
tappingDragLock = false;
};
2020-04-08 18:36:58 +02:00
};
};
2020-04-12 14:09:13 +02:00
2020-05-29 11:29:33 +02:00
services.fractalart.enable = true;
2020-04-12 14:09:13 +02:00
hardware.opengl.enable = true;
2020-04-08 18:36:58 +02:00
}