From cec9f7acd5e5e365563212c5144394f71dd90b27 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sun, 3 Dec 2023 02:52:28 +0300 Subject: 2023-12-03 --- modules/nixos/x11.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'modules/nixos/x11.nix') diff --git a/modules/nixos/x11.nix b/modules/nixos/x11.nix index b1bca8f..b629aeb 100644 --- a/modules/nixos/x11.nix +++ b/modules/nixos/x11.nix @@ -10,7 +10,12 @@ in { options.nixfiles.modules.x11.enable = mkEnableOption "X11"; config = mkIf cfg.enable { - nixfiles.modules.fonts.enable = true; + assertions = [ + { + assertion = !config.nixfiles.modules.wayland.enable; + message = "Pick only one!"; + } + ]; hm = { home.sessionVariables = { -- cgit 1.4.1