Compare commits
2 Commits
63c2953b90
...
6e10cdfed4
Author | SHA1 | Date |
---|---|---|
Zynh Ludwig | 6e10cdfed4 | |
Zynh Ludwig | 6d9f543af8 |
|
@ -17,7 +17,20 @@ in
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.playerctld.enable = true;
|
||||
systemd.user.services.playerctld = {
|
||||
Unit = {
|
||||
Description = "MPRIS media player daemon";
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
Install.WantedBy = [ "graphical-session.target" ];
|
||||
|
||||
Service = {
|
||||
ExecStart = "${pkgs.playerctl}/bin/playerctld";
|
||||
Type = "dbus";
|
||||
BusName = "org.mpris.MediaPlayer2.playerctld";
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
playerctl
|
||||
|
|
|
@ -19,7 +19,7 @@ in
|
|||
lazygit.enable = true;
|
||||
dunst.enable = true;
|
||||
sops.enable = true;
|
||||
playerctl.enable = false;
|
||||
playerctl.enable = true;
|
||||
};
|
||||
snowhawk.ssh = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in New Issue