Nix-Config/modules/home/nyxerinys/linux/hyprland.nix
2026-10-03 22:39:18 -05:00

29 lines
No EOL
744 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"];
extraLuaFiles = {
smw-setup = {
content = ''
local smw = require('plugins.split-monitor-workspaces')
smw.setup({
workspace_count = 5
})
'';
}
};
settings = {
smw = {
_var = (lib.generators.mkLuaInline "require('plugins.split-monitor-workspaces')");
};
};
extraConfig = ''
'';
};
}