mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
23 lines
360 B
Nix
23 lines
360 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib; {
|
|
config = let
|
|
cfg = config.elss.graphical.xmonad;
|
|
in
|
|
mkIf cfg.enable {
|
|
elss.graphical.xserver.enable = true;
|
|
services = {
|
|
xserver = {
|
|
windowManager.xmonad = {
|
|
enable = true;
|
|
enableContribAndExtras = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|