We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2bcb47e + da13d40 commit c55b5cbCopy full SHA for c55b5cb
1 file changed
nixos/modules/programs/wayland/hyprland.nix
@@ -83,6 +83,15 @@ in
83
{
84
environment.systemPackages = [ cfg.package ];
85
86
+ # Hyprland needs permissions to give itself SCHED_RR on startup:
87
+ # https://github.com/hyprwm/Hyprland/blob/main/src/init/initHelpers.cpp
88
+ security.wrappers.Hyprland = {
89
+ owner = "root";
90
+ group = "root";
91
+ capabilities = "cap_sys_nice+ep";
92
+ source = lib.getExe cfg.package;
93
+ };
94
+
95
xdg.portal = {
96
enable = true;
97
extraPortals = [ cfg.portalPackage ];
0 commit comments