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 {
|
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; [
|
home.packages = with pkgs; [
|
||||||
playerctl
|
playerctl
|
||||||
|
|
|
@ -19,7 +19,7 @@ in
|
||||||
lazygit.enable = true;
|
lazygit.enable = true;
|
||||||
dunst.enable = true;
|
dunst.enable = true;
|
||||||
sops.enable = true;
|
sops.enable = true;
|
||||||
playerctl.enable = false;
|
playerctl.enable = true;
|
||||||
};
|
};
|
||||||
snowhawk.ssh = {
|
snowhawk.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in New Issue