2025-11-07 23:06:50 -05:00
|
|
|
{
|
2025-11-27 15:23:59 -05:00
|
|
|
# inputs,
|
2025-11-07 23:06:50 -05:00
|
|
|
pkgs,
|
2025-11-09 14:34:44 -05:00
|
|
|
config,
|
2025-11-07 23:06:50 -05:00
|
|
|
...
|
|
|
|
|
}:
|
|
|
|
|
{
|
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
|
hyprpolkitagent
|
|
|
|
|
];
|
|
|
|
|
|
2025-12-07 23:51:09 -05:00
|
|
|
# xdg.configFile."uwsm/env".source =
|
|
|
|
|
# "${config.home.sessionVariablesPackage}/etc/profile.d/hm-session-vars.sh";
|
2025-11-27 15:23:59 -05:00
|
|
|
|
2025-11-07 23:06:50 -05:00
|
|
|
wayland.windowManager.hyprland = {
|
|
|
|
|
enable = true;
|
2025-12-07 23:51:09 -05:00
|
|
|
# systemd.enable = false;
|
2025-11-07 23:06:50 -05:00
|
|
|
package = null;
|
|
|
|
|
portalPackage = null;
|
|
|
|
|
|
|
|
|
|
settings = {
|
2025-11-09 14:34:44 -05:00
|
|
|
source = [
|
|
|
|
|
"${config.xdg.configHome}/hypr/monitors.conf"
|
2025-11-07 23:06:50 -05:00
|
|
|
];
|
|
|
|
|
|
2025-11-16 01:17:15 -05:00
|
|
|
general = {
|
|
|
|
|
gaps_in = 5;
|
|
|
|
|
gaps_out = 10;
|
|
|
|
|
border_size = 2;
|
|
|
|
|
"col.active_border" = "rgb(4479A4)";
|
|
|
|
|
"col.inactive_border" = "rgba(4479A480)";
|
|
|
|
|
};
|
2025-11-09 14:34:44 -05:00
|
|
|
|
2025-11-07 23:06:50 -05:00
|
|
|
decoration = {
|
|
|
|
|
rounding = 10;
|
|
|
|
|
|
|
|
|
|
active_opacity = 0.95;
|
|
|
|
|
inactive_opacity = 0.85;
|
|
|
|
|
fullscreen_opacity = 1.0;
|
|
|
|
|
|
|
|
|
|
blur = {
|
|
|
|
|
enabled = true;
|
|
|
|
|
size = 8;
|
|
|
|
|
passes = 3;
|
|
|
|
|
new_optimizations = true;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2025-11-16 01:17:15 -05:00
|
|
|
layerrule = [
|
|
|
|
|
"blur, waybar" # Add blur to waybar
|
|
|
|
|
"blurpopups, waybar" # Blur waybar popups too!
|
|
|
|
|
"ignorealpha 0.2, waybar" # Make it so transparent parts are ignored
|
|
|
|
|
];
|
|
|
|
|
|
2025-11-07 23:06:50 -05:00
|
|
|
exec-once = [
|
2025-11-27 15:23:59 -05:00
|
|
|
"systemctl --user enable --now hypridle.service"
|
2025-11-07 23:06:50 -05:00
|
|
|
"systemctl --user enable --now hyprpolkitagent.service"
|
2025-11-27 15:23:59 -05:00
|
|
|
"systemctl --user enable app-com.mitchellh.ghostty.service"
|
2025-11-07 23:06:50 -05:00
|
|
|
"wpaperd -d"
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
env = [
|
|
|
|
|
"NIXOS_OZONE_WL, 1"
|
2025-11-12 14:23:51 -05:00
|
|
|
"HYPRSHOT_DIR, ${config.xdg.userDirs.extraConfig.XDG_SCREENSHOTS_DIR}"
|
2025-11-27 15:23:59 -05:00
|
|
|
"XDG_CURRENT_DESKTOP, Hyprland"
|
|
|
|
|
"XDG_SESSION_TYPE, wayland"
|
|
|
|
|
"XDG_SESSION_DESKTOP, Hyprland"
|
2025-11-07 23:06:50 -05:00
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|