synix/modules/home/hyprland/binds/default.nix
sid ecf5132cbb
Some checks failed
Build tests / build-hosts (pull_request) Failing after 3s
Flake check / flake-check (pull_request) Failing after 13s
enforce new flake schema. formatting.
2026-05-31 18:50:41 +02:00

34 lines
544 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;
};
};
};
}