forked from poz/niksos
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:
parent
6103c0bc15
commit
38858e2496
1 changed files with 6 additions and 2 deletions
|
@ -36,6 +36,11 @@ in {
|
||||||
description = "extra per host hyprland settings";
|
description = "extra per host hyprland settings";
|
||||||
default = {};
|
default = {};
|
||||||
};
|
};
|
||||||
|
extraPlugins = mkOption {
|
||||||
|
type = with types; listOf package;
|
||||||
|
description = "extra per host hyprland plugins";
|
||||||
|
default = [];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
disabledModules = [ "programs/hyprland.nix" ];
|
disabledModules = [ "programs/hyprland.nix" ];
|
||||||
|
@ -87,8 +92,7 @@ in {
|
||||||
#portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
|
#portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
|
||||||
plugins = [
|
plugins = [
|
||||||
inputs.hyprland-plugins.packages.${pkgs.system}.csgo-vulkan-fix
|
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)
|
# TODO make these work with the config below (infinite recursion)
|
||||||
# and make this file stop hanging my neovim every 2 seconds
|
# and make this file stop hanging my neovim every 2 seconds
|
||||||
# and figure out why it triggers E79 every single time I edit something
|
# and figure out why it triggers E79 every single time I edit something
|
||||||
|
|
Loading…
Reference in a new issue