Updated hyprland setup with basic wallpaper support
This commit is contained in:
47
modules/home/hypr/hyprland.nix
Normal file
47
modules/home/hypr/hyprland.nix
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
waybar
|
||||
hyprpolkitagent
|
||||
];
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
package = null;
|
||||
portalPackage = null;
|
||||
|
||||
settings = {
|
||||
monitor = [
|
||||
"eDP-1, 2256x1504@60, 0x0, 1"
|
||||
];
|
||||
|
||||
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;
|
||||
};
|
||||
};
|
||||
|
||||
exec-once = [
|
||||
"systemctl --user enable --now waybar.service"
|
||||
"systemctl --user enable --now hyprpolkitagent.service"
|
||||
"wpaperd -d"
|
||||
];
|
||||
|
||||
env = [
|
||||
"NIXOS_OZONE_WL, 1"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user