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

29 lines
560 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;
2023-03-12 05:24:25 +01:00
config = builtins.readFile (config.lib.stylix.colors {
template = builtins.readFile ./Main.hs;
});
};
# Proper wallpaper zooming
desktopManager.wallpaper.mode = "fill";
# Make xmonad session the default
displayManager.defaultSession = "none+xmonad";
2023-01-10 02:38:06 +01:00
};
2023-03-12 05:24:25 +01:00
# Enable ad-hoc stylix targets:
stylix.targets = {
gtk.enable = true;
};
2023-01-10 02:38:06 +01:00
}