nixos-config/modules/home/hyprland/hyprland.nix

29 lines
641 B
Nix

{ inputs, pkgs, ...}:
{
home.packages = with pkgs; [
# swww
swaybg
inputs.hypr-contrib.packages.${pkgs.system}.grimblast
hyprpicker
grim
slurp
wl-clip-persist
glib
wayland
direnv
];
systemd.user.targets.hyprland-session.Unit.Wants = [ "xdg-desktop-autostart.target" ];
wayland.windowManager.hyprland = {
enable = true;
xwayland = {
enable = true;
# hidpi = true;
};
# enableNvidiaPatches = false;
systemd.enable = true;
plugins = [
inputs.Hyprspace.packages.${pkgs.system}.Hyprspace
inputs.Hyswipe.packages.${pkgs.system}.Hyswipe
];
};
}