nixos-config/profiles/applications/cantata.nix

35 lines
891 B
Nix
Raw Permalink Normal View History

2021-07-27 19:39:01 +04:00
{ pkgs, config, ... }: {
home-manager.users.balsoft = {
home.packages = [ pkgs.cantata ];
wayland.windowManager.sway = {
config = {
assigns."" = [{ app_id = "cantata"; }];
};
};
xdg.configFile."cantata/cantata.conf".text = pkgs.my-lib.genIni {
General = {
lyricProviders = "azlyrics.com, chartlyrics.com, lyrics.wikia.com";
wikipediaLangs = "en:en";
mpris = "true";
currentConnection = "Default";
version = pkgs.cantata.version;
2021-08-09 19:10:49 +04:00
hiddenPages = "PlayQueuePage, LibraryPage, PlaylistsPage, OnlineServicesPage, DevicesPage";
2021-07-27 19:39:01 +04:00
};
AlbumView.fullWidthCover = false;
Connection-Default = {
host = "localhost";
passwd = "";
port = "6600";
};
VolumeControl.control = "mpd";
};
};
startupApplications = [ "${pkgs.cantata}/bin/cantata" ];
}