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

29 lines
676 B
Nix
Raw Normal View History

{ inputs, pkgs, ... }:
2023-11-05 17:56:55 +01:00
{
2023-11-05 11:40:44 +01:00
home.packages = with pkgs; [
swww
2025-11-21 11:31:12 +01:00
inputs.hypr-contrib.packages.${pkgs.stdenv.hostPlatform.system}.grimblast
2023-11-05 11:40:44 +01:00
hyprpicker
grim
slurp
2024-04-13 17:01:32 +02:00
wl-clip-persist
2023-11-05 11:40:44 +01:00
glib
wayland
direnv
];
2024-10-13 20:05:02 +02:00
# systemd.user.targets.hyprland-session.Unit.Wants = [ "xdg-desktop-autostart.target" ];
2023-11-05 11:40:44 +01:00
wayland.windowManager.hyprland = {
enable = true;
xwayland = {
enable = true;
2023-11-05 18:22:51 +01:00
# hidpi = true;
2023-11-05 11:40:44 +01:00
};
2023-11-29 16:34:38 +01:00
# enableNvidiaPatches = false;
2023-12-25 18:58:02 +01:00
systemd.enable = true;
plugins = [
pkgs.hyprlandPlugins.hyprbars
# pkgs.hyprlandPlugins.hyprspace # causes hyprland to crash on 4-finger swipe; great software
];
2023-11-05 11:40:44 +01:00
};
}