refactor(desktop): extend hyprland module with workspaces

This commit is contained in:
tux
2026-09-20 02:00:10 +05:30
parent c91fbb02fc
commit 790eb24be3
4 changed files with 30 additions and 3 deletions

View File

@@ -16,6 +16,12 @@
default = "";
description = "Hyprland monitor configuration";
};
workspaceConfig = mkOption {
type = types.lines;
default = "";
description = "Hyprland workspace configuration";
};
};
config = mkIf cfg.enable {
@@ -34,6 +40,7 @@
source = pkgs.twm.hyprland;
};
".config/hypr/config/monitors.lua".text = cfg.monitorConfig;
".config/hypr/config/workspaces.lua".text = cfg.workspaceConfig;
};
home.packages = with pkgs; [