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