1
Fork 0
satellite/hosts/nixos/common/optional/xmonad/default.nix

35 lines
651 B
Nix
Raw Normal View History

{ pkgs, config, ... }:
2023-01-10 02:38:06 +01:00
{
services.xserver = {
enable = true;
# Enable xmonad
windowManager.xmonad = {
enable = true;
enableContribAndExtras = true;
config = builtins.readFile (config.scheme {
template = builtins.readFile ./Main.hs;
});
};
# 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
# startx.enable = true;
sddm.enable = true;
2023-01-10 02:38:06 +01:00
# autoLogin = {
# enable = true;
# user = "adrielus";
# };
};
};
}