users/global: clean up graphical setup

This commit is contained in:
Infinidoge 2024-07-15 08:50:36 -04:00
parent 30219401b0
commit b114856020
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A
6 changed files with 64 additions and 71 deletions

View file

@ -1,14 +1,12 @@
{ main, config, lib, pkgs, ... }:
lib.mkIf main.info.graphical
{
config = lib.mkIf main.info.graphical {
services = {
mpris-proxy.enable = true;
playerctld.enable = true;
};
home.packages = with pkgs; [
playerctl
];
services = {
mpris-proxy.enable = true;
playerctld.enable = true;
};
home.packages = with pkgs; [
playerctl
];
}