Your spotify
services.your_spotify.clientPackage
Client package to use.
Type: package
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/your_spotify.nix
services.your_spotify.enable
Whether to enable your_spotify.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/your_spotify.nix
services.your_spotify.enableLocalDB
Whether to enable a local mongodb instance.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/your_spotify.nix
services.your_spotify.nginxVirtualHost
If set creates an nginx virtual host for the client. In most cases this should be the CLIENT_ENDPOINT without protocol prefix.
Type: null or string
Default
null
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/your_spotify.nix
services.your_spotify.package
The your_spotify package to use.
Type: package
Default
pkgs.your_spotify
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/your_spotify.nix
services.your_spotify.settings
Your Spotify Configuration. Refer to Your Spotify for definitions and values.
Type: attribute set of string
Example
{CLIENT_ENDPOINT = "https://example.com";API_ENDPOINT = "https://api.example.com";SPOTIFY_PUBLIC = "spotify_client_id";}
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/your_spotify.nix
services.your_spotify.settings.API_ENDPOINT
The endpoint of your server
This api has to be reachable from the device you use the website from not from the server.
This means that for example you may need two nginx virtual hosts if you want to expose this on the
internet.
Has to include a protocol Prefix (e.g. http://
)
Type: string
Example
"https://localhost:3000"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/your_spotify.nix
services.your_spotify.settings.CLIENT_ENDPOINT
The endpoint of your web application.
Has to include a protocol Prefix (e.g. http://
)
Type: string
Example
"https://your_spotify.example.org"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/your_spotify.nix
services.your_spotify.settings.MONGO_ENDPOINT
The endpoint of the Mongo database.
Type: string
Default
"mongodb://localhost:27017/your_spotify"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/your_spotify.nix
services.your_spotify.settings.PORT
The port of the api server
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
3000
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/your_spotify.nix
services.your_spotify.settings.SPOTIFY_PUBLIC
The public client ID of your Spotify application. Refer to: Creating the Spotify Application
Type: string
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/your_spotify.nix
services.your_spotify.spotifySecretFile
A file containing the secret key of your Spotify application. Refer to: Creating the Spotify Application.
Type: path
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/your_spotify.nix