test adding plugin

This commit is contained in:
nyxerinys 2026-10-03 21:46:16 -05:00
parent 4176dc0b80
commit c3e99f427e
3 changed files with 24 additions and 1 deletions

View file

@ -1,11 +1,22 @@
{ inputs, ... }:
{ 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
})
''
};
};
}