Enable spotifyd
This commit is contained in:
parent
504e4efad6
commit
8f4af4f646
@ -53,6 +53,7 @@ in
|
|||||||
age.secrets.spotifyd = {
|
age.secrets.spotifyd = {
|
||||||
file = ../../secrets/spotifyd.age;
|
file = ../../secrets/spotifyd.age;
|
||||||
group = "spotifyd";
|
group = "spotifyd";
|
||||||
|
mode = "0440"; # group can read
|
||||||
};
|
};
|
||||||
|
|
||||||
# spotifyd to read secrets and run as user service
|
# spotifyd to read secrets and run as user service
|
||||||
@ -70,8 +71,9 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.services.spotifyd-daemon = {
|
systemd.user.services.spotifyd-daemon = {
|
||||||
wantedBy = [ "multi-user.target" ];
|
enable = true;
|
||||||
after = [ "network-online.target" "sound.target" ];
|
wantedBy = [ "graphical-session.target" ];
|
||||||
|
partOf = [ "graphical-session.target" ];
|
||||||
description = "spotifyd, a Spotify playing daemon";
|
description = "spotifyd, a Spotify playing daemon";
|
||||||
environment.SHELL = "/bin/sh";
|
environment.SHELL = "/bin/sh";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user