From 1de1c15acc0b177958be65414faf21fcfb0e1130 Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Tue, 25 Nov 2025 14:39:38 +0100 Subject: [PATCH] [hypr] fix: Remove hy3 path hardcoding --- nixos/users/tdpeuter/dotfiles.nix | 6 ++++++ stow/hyprland/.config/hypr/hy3.conf | 7 +++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/nixos/users/tdpeuter/dotfiles.nix b/nixos/users/tdpeuter/dotfiles.nix index aca5ba8..57d5e16 100644 --- a/nixos/users/tdpeuter/dotfiles.nix +++ b/nixos/users/tdpeuter/dotfiles.nix @@ -37,6 +37,12 @@ in { recursive = true; source = ../../../stow/hyprland/.config/hypr; }; + ".config/hypr/hy3-plugin.conf" = { + inherit (config.sisyphus.desktop.hyprland) enable; + text = '' + plugin = ${pkgs.hyprlandPlugins.hy3}/lib/libhy3.so + ''; + }; ".config/kitty" = { enable = false; recursive = true; diff --git a/stow/hyprland/.config/hypr/hy3.conf b/stow/hyprland/.config/hypr/hy3.conf index 7d3e999..6cd7c06 100644 --- a/stow/hyprland/.config/hypr/hy3.conf +++ b/stow/hyprland/.config/hypr/hy3.conf @@ -1,6 +1,9 @@ +# +# ~/.config/hypr/hy3.conf +# -# TODO Do not hardcode this path -plugin = /nix/store/afivj8v5kfdsadxs4pa45vh0y65s3ajm-hy3-hl0.49.0/lib/libhy3.so +# Load the plugin. File should contain `plugin = /path/to/lib/libhy3.so` +source = /home/tdpeuter/.config/hypr/hy3-plugin.conf general:layout = hy3