feat(x): add enable option

This commit is contained in:
2026-05-22 20:20:54 +02:00
parent d152f990f4
commit 461c90cc25

View File

@@ -1,4 +1,9 @@
{ lib, config, ... }:
{
options.desktop.x.enable = lib.mkEnableOption "xmonad desktop";
config = lib.mkIf config.desktop.x.enable {
services.xserver.windowManager.xmonad = {
enable = true;
enableContribAndExtras = true;
@@ -10,4 +15,5 @@
xkb.layout = "us";
xkb.variant = "";
};
};
}