services.polaris.settings

NixOS option

Contents for the TOML Polaris config, applied each start. Although poorly documented, an example may be found here: test-config.toml

type: TOML value
Default
{ }
Example
{
  settings.reindex_every_n_seconds = 7*24*60*60; # weekly, default is 1800
  settings.album_art_pattern =
    "(cover|front|folder)\.(jpeg|jpg|png|bmp|gif)";
  mount_dirs = [
    {
      name = "NAS";
      source = "/mnt/nas/music";
    }
    {
      name = "Local";
      source = "/home/my_user/Music";
    }
  ];
}
declared in: nixos/modules/services/misc/polaris.nixView source on NixOS/nixpkgs →