diff --git a/home-manager/hyprland/hyprland-settings.nix b/home-manager/hyprland/hyprland-settings.nix index dbdb576..ddc551b 100644 --- a/home-manager/hyprland/hyprland-settings.nix +++ b/home-manager/hyprland/hyprland-settings.nix @@ -109,7 +109,7 @@ in allow_tearing = true; }; - misc = { vfr = true; }; + misc = { vfr = true; middle_click_paste = false; }; xwayland = lib.mkIf isPc { force_zero_scaling = true; }; decoration = { @@ -264,10 +264,11 @@ in # e = repeat when held binde = - let + let brightnessctl = "${pkgs.brightnessctl}/bin/brightnessctl"; - in [ + in + [ " , XF86MonBrightnessUp, exec, ${brightnessctl} s +5%" " , XF86MonBrightnessDown, exec, ${brightnessctl} s 5%-" # Example volume button that allows press and hold, volume limited to 150% diff --git a/modules/services/nginx.nix b/modules/services/nginx.nix index faba350..cacdddb 100644 --- a/modules/services/nginx.nix +++ b/modules/services/nginx.nix @@ -19,6 +19,11 @@ in { owner = "nginx"; }; + systemd.tmpfiles.rules = [ + "d /var/www 0740 nginx nginx -" + "d /var/www/misc-files 0740 nginx nginx -" + ]; + services.nginx = { enable = true; package = pkgs.nginxQuic; @@ -117,6 +122,9 @@ in { "/kavita-client/" = { alias = "/kavita-client/"; }; + "/misc-files/" = { + alias = "/var/www/misc-files/"; + }; }; }; in