22 lines
No EOL
611 B
Nix
22 lines
No EOL
611 B
Nix
{ inputs, lib, ... }:
|
|
|
|
{
|
|
xdg.configFile."hypr/plugins/split-monitor-workspaces".source = inputs.split-monitor-workspaces;
|
|
wayland.windowManager.hyprland = {
|
|
enable = true;
|
|
# set the Hyprland and XDPH packages to null to use the ones from the NixOS module
|
|
package = null;
|
|
portalPackage = null;
|
|
systemd.variables = ["--all"];
|
|
settings = {
|
|
smw = {
|
|
_var = (lib.generators.mkLuaInline "require('plugins.split-monitor-workspaces')");
|
|
};
|
|
setup_smw = lib.generators.mkLuaInline ''
|
|
smw.setup({
|
|
workspace_count = 5
|
|
})
|
|
'';
|
|
};
|
|
};
|
|
} |