2023-01-26 21:49:43 +01:00
|
|
|
{ pkgs, config, ... }:
|
2023-01-10 02:38:06 +01:00
|
|
|
{
|
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
# Enable xmonad
|
|
|
|
windowManager.xmonad = {
|
|
|
|
enable = true;
|
|
|
|
enableContribAndExtras = true;
|
|
|
|
|
2023-01-26 21:49:43 +01:00
|
|
|
config = builtins.readFile (config.scheme {
|
|
|
|
template = builtins.readFile ./Main.hs;
|
|
|
|
});
|
|
|
|
};
|
2023-01-12 20:49:08 +01:00
|
|
|
|
|
|
|
# Proper wallpaper zooming
|
|
|
|
desktopManager.wallpaper.mode = "fill";
|
|
|
|
|
2023-01-10 02:38:06 +01:00
|
|
|
displayManager = {
|
|
|
|
# make xmonad session the default
|
|
|
|
defaultSession = "none+xmonad";
|
|
|
|
|
|
|
|
# enable startx
|
2023-01-12 20:49:08 +01:00
|
|
|
# startx.enable = true;
|
|
|
|
sddm.enable = true;
|
2023-01-10 02:38:06 +01:00
|
|
|
|
|
|
|
# autoLogin = {
|
|
|
|
# enable = true;
|
|
|
|
# user = "adrielus";
|
|
|
|
# };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|