config.nix/modules/desktop/window-managers/default.nix
2026-05-04 08:12:55 +02:00

49 lines
946 B
Nix

{
config,
lib,
pkgs,
...
}:
{
options = {
keybinds = {
modifier = lib.mkOption {
default = "Meta";
description = "modifier key";
};
hotkeys = {
terminal = lib.mkOption {
default = "Return";
description = "terminal hotkey";
};
launcher = lib.mkOption {
default = "D";
description = "launcher hotkey";
};
browser = lib.mkOption {
default = "O";
description = "browser hotkey";
};
editor = lib.mkOption {
default = "E";
description = "editor hotkey";
};
close-window = lib.mkOption {
default = "Q";
description = "close window hotkey";
};
};
};
};
imports = [
./hyprland.nix
./niri.nix
./sway.nix
];
config = {
environment.systemPackages = with pkgs; [
wl-clipboard
];
};
}