22 lines
304 B
Nix
Executable File
22 lines
304 B
Nix
Executable File
{
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
isEnabled =
|
|
config.azos.spotify.enable;
|
|
in {
|
|
options.azos.spotify.enable = lib.mkOption {
|
|
default = true;
|
|
example = true;
|
|
type = lib.types.bool;
|
|
};
|
|
|
|
config = lib.mkIf isEnabled {
|
|
home.packages = with pkgs; [
|
|
spotify
|
|
];
|
|
};
|
|
}
|