feat: add idle inhibitor

This commit is contained in:
DACHXY 2025-01-19 14:35:36 +08:00
parent eb37fde888
commit 2fd7367176
6 changed files with 15 additions and 15 deletions

View file

@ -8,7 +8,7 @@
enable = true;
withUWSM = false;
package = inputs.hyprland.packages."${pkgs.system}".hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
# portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
};
xdg.portal = {

View file

@ -1,7 +1,7 @@
{ pkgs, ... }:
{
security.rtkit.enable = true;
security.rtkit.enable = true; # Pipewire real-time access
services.pulseaudio.enable = false;
services.pipewire = {
@ -11,6 +11,7 @@
pulse.enable = true;
jack.enable = true;
wireplumber.enable = true;
audio.enable = true;
};
services.playerctld.enable = true;