31 lines
502 B
Nix
31 lines
502 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.features.desktop.wayland;
|
|
in {
|
|
options.features.desktop.wayland.enable = mkEnableOption "wayland extra tools and config";
|
|
|
|
config = mkIf cfg.enable {
|
|
home.packages = with pkgs; [
|
|
grim
|
|
kdePackages.xwaylandvideobridge
|
|
hyprcursor
|
|
hyprlock
|
|
hyprpaper
|
|
qt6.qtwayland
|
|
slurp
|
|
waypipe
|
|
wl-clipboard
|
|
wf-recorder
|
|
wl-mirror
|
|
wlogout
|
|
wtype
|
|
ydotool
|
|
];
|
|
};
|
|
}
|