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

61 lines
1.5 KiB
Nix

{
config,
lib,
...
}: {
config = lib.mkIf config.myConfig.de.hyprland.enable {
wayland.windowManager.hyprland = {
enable = true;
settings = {
exec-once = ["hyprpaper"];
input = {
kb_layout = "de";
kb_variant = "nodeadkeys";
accel_profile = "flat";
};
input.touchpad = {
disable_while_typing = true;
natural_scroll = true;
middle_button_emulation = true;
};
device = {
name = "dell0b9f:00-27c6:0d43-touchpad";
accel_profile = "adaptive";
};
general = {
gaps_in = 5;
gaps_out = 10;
border_size = 1;
layout = "master";
};
master = {
new_is_master = false;
no_gaps_when_only = 1;
mfact = "0.5";
};
decoration = {
rounding = 6;
drop_shadow = false;
};
animations.enabled = false;
misc = {
disable_hyprland_logo = true;
disable_splash_rendering = true;
force_default_wallpaper = 0;
key_press_enables_dpms = true;
};
};
};
};
}