add extraPlugins option to hyprland module

did this because split-monitor-workspaces is broken again and I'm gonna
be away for like 5 days anyway and del doesn't need that plugin anyway I
just wanna build the config after updating the flake so I have the
backdoorless xz

boy do I love foss
This commit is contained in:
jacekpoz 2024-04-03 21:53:27 +02:00
parent 6103c0bc15
commit 38858e2496
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -36,6 +36,11 @@ in {
description = "extra per host hyprland settings";
default = {};
};
extraPlugins = mkOption {
type = with types; listOf package;
description = "extra per host hyprland plugins";
default = [];
};
};
disabledModules = [ "programs/hyprland.nix" ];
@ -87,8 +92,7 @@ in {
#portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
plugins = [
inputs.hyprland-plugins.packages.${pkgs.system}.csgo-vulkan-fix
inputs.split-monitor-workspaces.packages.${pkgs.system}.split-monitor-workspaces
];
] ++ cfg.extraPlugins;
# TODO make these work with the config below (infinite recursion)
# and make this file stop hanging my neovim every 2 seconds
# and figure out why it triggers E79 every single time I edit something