From b6f68807c0f390570ded786e4e66c9b16c37b29a Mon Sep 17 00:00:00 2001 From: minco Date: Fri, 8 May 2026 00:01:14 +0900 Subject: [PATCH] update hyprland plugins --- home.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/home.nix b/home.nix index 9c4315a..2bceff4 100644 --- a/home.nix +++ b/home.nix @@ -40,17 +40,21 @@ programs.direnv.enable = true; programs.direnv.nix-direnv.enable = true; + xdg.configFile."hypr/plugins.lua".text = + let + smw = + inputs.split-monitor-workspaces.packages.${pkgs.stdenv.hostPlatform.system}.split-monitor-workspaces; + in + '' + --hl.on("hyprland.start", function() + hl.plugin.load("${smw}/lib/libsplit-monitor-workspaces.so") + --end) + ''; + wayland.windowManager.hyprland = { enable = true; xwayland.enable = true; package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; - plugins = [ - split-monitor-workspaces.packages.x86_64-linux.split-monitor-workspaces - ]; - extraConfig = '' - source = ~/.config/hypr/common.conf - source = ~/.config/hypr/device/laptop.conf - ''; }; home.stateVersion = "25.05";