Signed-off-by: Bloxx12 <charlie@charlieroot.dev> Change-Id: I6a6a69641c36f9763e104087a559c148d0449f00
18 lines
247 B
Nix
18 lines
247 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib.modules) mkIf;
|
|
inherit (config.modules.system) isGraphical;
|
|
in
|
|
{
|
|
# TODO: setup
|
|
services.spotifyd = mkIf isGraphical {
|
|
enable = true;
|
|
settings = {
|
|
# backend = "pipe";
|
|
};
|
|
};
|
|
}
|