From df61c8841d2d25a879c7aaf4794db47d4596cc7d Mon Sep 17 00:00:00 2001 From: Lilly Date: Mon, 5 Jan 2026 18:28:53 +0000 Subject: [PATCH] Auto-commit: 2026-01-05 18:28:53 --- home/desktop/hyprland/rules/workspaces.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/home/desktop/hyprland/rules/workspaces.nix b/home/desktop/hyprland/rules/workspaces.nix index fb7fbca..b7b040d 100644 --- a/home/desktop/hyprland/rules/workspaces.nix +++ b/home/desktop/hyprland/rules/workspaces.nix @@ -1,5 +1,9 @@ +{ lib, nixosConfig, ... }: +let + cfg = nixosConfig.my.desktop; +in { - wayland.windowManager.hyprland = { + wayland.windowManager.hyprland = lib.mkIf (cfg.enable && cfg.hyprland.enable) { settings = { "$altscreenworkspace" = "11"; "$mainmonitor" = "GIGA-BYTE TECHNOLOGY CO. LTD. AORUS FO32U2 24210B000546";