nixos/home/lilith/hyprland/default.nix
2025-08-16 01:45:45 +02:00

119 lines
2.2 KiB
Nix

{ hyprland, ... }:
{
imports = [
hyprland.homeManagerModules.default
./hyprpaper.nix
./hyprlock.nix
./hyprgrass.nix
./settings.nix
./keys.nix
# ./utils.nix
];
wayland.windowManager.hyprland = {
enable = true;
# package = hyprland.packages.${pkgs.system}.hyprland;
xwayland.enable = true;
systemd.enable = true;
settings = {
"$terminal" = "alacritty";
env = [ "HYPRCURSOR_THEME,rose-pine-hyprcursor" ];
xwayland.force_zero_scaling = true;
monitor = [ ",preferred,1" ];
ecosystem = {
"no_update_news" = true;
"no_donation_nag" = true;
};
exec-once = [
"hyprlock"
"ags"
"clipse -listen"
];
exec = [ "[workspace special:keepass silent] keepassxc" ];
workspace = [
"special:keepass,gapsout:45"
"special:magic,gapsout:45"
];
input = {
kb_layout = "de";
follow_mouse = 1;
touchpad.natural_scroll = true;
sensitivity = 0;
kb_options = "compose:caps";
};
binds = {
workspace_back_and_forth = true;
hide_special_on_workspace_change = true;
};
general = {
gaps_in = 10;
gaps_out = 15;
border_size = 2;
layout = "dwindle";
allow_tearing = false;
};
decoration = {
rounding = 10;
blur = {
enabled = true;
size = 2;
passes = 1;
};
shadow = {
enabled = true;
range = 4;
render_power = 3;
};
};
animations = {
enabled = true;
bezier = "myBezier, 0.0, 0.8, 0.2, 1.0";
animation = [
"windows, 1, 5, myBezier"
"windowsOut, 1, 5, default, popin 80%"
"border, 1, 10, default"
"borderangle, 1, 8, default"
"fade, 1, 7, default"
"workspaces, 1, 5, myBezier"
"specialWorkspace, 1, 5, myBezier, slidefadevert"
];
};
dwindle = {
pseudotile = true;
smart_split = true;
preserve_split = true;
};
master = {
new_status = "master";
new_on_top = 1;
};
};
};
}