mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
15 lines
346 B
Nix
15 lines
346 B
Nix
{ lib, ... }:
|
|
{
|
|
services.spotifyd = {
|
|
enable = true;
|
|
config = lib.generators.toINI { } {
|
|
global = {
|
|
username = lib.strings.fileContents <secrets/spotify/username>;
|
|
password = lib.strings.fileContents <secrets/spotify/password>;
|
|
};
|
|
};
|
|
};
|
|
|
|
systemd.services.spotifyd.serviceConfig.Restart = "always";
|
|
}
|