synix/modules/home/hyprland/binds/default.nix
sid 95a533c876
All checks were successful
Deploy docs / build-and-deploy (push) Successful in 3s
initial commit
2026-02-23 20:34:35 +01:00

34 lines
546 B
Nix

{
config,
lib,
pkgs,
...
}:
let
cfg = config.wayland.windowManager.hyprland;
hyprland = import ./hyprland.nix;
mediakeys = import ./mediakeys.nix { inherit pkgs; };
windows = import ./windows.nix;
workspaces = import ./workspaces.nix;
binds = builtins.concatLists [
hyprland
mediakeys
windows
workspaces
];
inherit (lib) mkIf;
in
{
config = mkIf cfg.enable {
wayland.windowManager.hyprland = {
settings = {
bind = binds;
bindm = (import ./mouse.nix);
};
};
};
}