hyprland: playerctl

This commit is contained in:
Zynh Ludwig 2025-03-05 13:27:53 -08:00
parent 2c007f4ff5
commit 79e0224846
2 changed files with 17 additions and 1 deletions

14
modules/home/hyprland.nix Normal file
View file

@ -0,0 +1,14 @@
{ pkgs, lib, ... }:
{
services.playerctld.enable = true;
systemd.user.services.playerctld = {
Unit.PartOf = lib.mkForce [ "graphical-session.target" ];
Install.WantedBy = lib.mkForce [ "graphical-session.target" ];
};
home.packages = with pkgs; [
playerctl
];
}

View file

@ -74,6 +74,8 @@ in
pipewire-controller
];
home-manager.sharedModules = [ ];
home-manager.sharedModules = [
./home/hyprland.nix
];
};
}