mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 20:59:32 -08:00
38 lines
772 B
Nix
38 lines
772 B
Nix
|
{config, pkgs, ...}:
|
||
|
|
||
|
let
|
||
|
|
||
|
in
|
||
|
{
|
||
|
|
||
|
wayland.windowManager.hyprland = {
|
||
|
enable = true;
|
||
|
package = pkgs.hyprland;
|
||
|
# Whether to enable XWayland
|
||
|
xwayland.enable = true;
|
||
|
|
||
|
# Optional
|
||
|
# Whether to enable hyprland-session.target on hyprland startup
|
||
|
systemd.enable = true;
|
||
|
# Whether to enable patching wlroots for better Nvidia support
|
||
|
enableNvidiaPatches = true;
|
||
|
|
||
|
settings = {
|
||
|
decoration = {
|
||
|
shadow_offset = "0 5";
|
||
|
"col.shadow" = "rgba(00000099)";
|
||
|
};
|
||
|
|
||
|
"$mod" = "SUPER";
|
||
|
|
||
|
bindm = [
|
||
|
# mouse movements
|
||
|
"$mod, mouse:272, movewindow"
|
||
|
"$mod, mouse:273, resizewindow"
|
||
|
"$mod ALT, mouse:272, resizewindow"
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
|
||
|
}
|