mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2026-09-20 09:09:04 +05:30
refactor(desktop): extend hyprland module with workspaces
This commit is contained in:
@@ -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; [
|
||||
|
||||
Reference in New Issue
Block a user