1

Home: Fix booleans in beet config

This commit is contained in:
2025-07-06 14:21:22 +02:00
parent 8d73fa521c
commit e9786ad32d

View File

@ -366,6 +366,7 @@ rec {
imagemagick # Convert image (magic) imagemagick # Convert image (magic)
mp3val # Validate mp3 files mp3val # Validate mp3 files
flac # Validate flac files flac # Validate flac files
spotdl
# Document utils # Document utils
poppler_utils # pdfunite poppler_utils # pdfunite
@ -478,28 +479,29 @@ rec {
# https://beets.readthedocs.io/en/stable/reference/config.html # https://beets.readthedocs.io/en/stable/reference/config.html
settings = { settings = {
directory = "${home.homeDirectory}/Music"; directory = "${home.homeDirectory}/Music";
threaded = "yes"; threaded = true;
art_filename = "cover"; art_filename = "cover";
ui = { ui = {
color = "yes"; color = true;
}; };
import = { import = {
write = "yes"; # Write metadata to files write = true; # Write metadata to files
copy = "yes"; # Move files to the music directory when importing copy = true; # Move files to the music directory when importing
log = "${home.homeDirectory}/Music/.beetslog.txt"; log = "${home.homeDirectory}/Music/.beetslog.txt";
}; };
paths = { paths = {
default = "$albumartist/$albumartist - $album/$track $title"; default = "$albumartist/$albumartist - $album/$track $title";
singleton = "$artist/0 Singles/$artist - $title"; # Single songs singleton = "0 Singles/$artist - $title"; # Single songs
comp = "1 Various Arists/$album/$track $title"; comp = "1 Various/$album/$track $title";
}; };
plugins = [ plugins = [
"badfiles" # check audio file integrity "badfiles" # check audio file integrity
"duplicates" "duplicates"
"edit" # edit metadata in text editor
"fetchart" # pickup local cover art or search online "fetchart" # pickup local cover art or search online
"fish" # beet fish generates ~/.config/fish/completions file "fish" # beet fish generates ~/.config/fish/completions file
# "lyrics" # fetch song lyrics # "lyrics" # fetch song lyrics
@ -507,7 +509,7 @@ rec {
]; ];
fetchart = { fetchart = {
auto = "yes"; auto = true;
sources = "filesystem coverart itunes amazon albumart"; # sources are queried in this order sources = "filesystem coverart itunes amazon albumart"; # sources are queried in this order
}; };
@ -517,7 +519,7 @@ rec {
# }; # };
replaygain = { replaygain = {
auto = "no"; # analyze on import automatically auto = false; # analyze on import automatically
backend = "ffmpeg"; backend = "ffmpeg";
overwrite = true; # re-analyze files with existing replaygain tags on import overwrite = true; # re-analyze files with existing replaygain tags on import
}; };
@ -721,28 +723,28 @@ rec {
nushell.enable = false; nushell.enable = false;
spicetify = let # spicetify = let
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system}; # spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
in { # in {
enable = true; # enable = true;
#
# https://github.com/catppuccin/spicetify # # https://github.com/catppuccin/spicetify
theme = spicePkgs.themes.catppuccin; # theme = spicePkgs.themes.catppuccin;
colorScheme = "mocha"; # colorScheme = "mocha";
#
wayland = true; # wayland = true;
#
enabledExtensions = with spicePkgs.extensions; [ # enabledExtensions = with spicePkgs.extensions; [
adblock # adblock
hidePodcasts # hidePodcasts
oneko # cat # oneko # cat
]; # ];
# enabledCustomApps = with spicePkgs.apps; []; # # enabledCustomApps = with spicePkgs.apps; [];
enabledSnippets = with spicePkgs.snippets; [ # enabledSnippets = with spicePkgs.snippets; [
rotatingCoverart # rotatingCoverart
pointer # pointer
]; # ];
}; # };
ssh = { ssh = {
enable = true; enable = true;
@ -794,7 +796,7 @@ rec {
shellWrapperName = "y"; shellWrapperName = "y";
plugins = { plugins = {
inherit (pkgs.yaziPlugins) chmod diff full-border git lazygit mount ouch rsync smart-paste starship sudo; inherit (pkgs.yaziPlugins) chmod diff full-border git lazygit mount ouch rsync starship sudo; # smar-paste
}; };
initLua = '' initLua = ''
@ -978,11 +980,11 @@ rec {
run = [''shell -- for path in "$@"; do echo "file://$path"; done | wl-copy -t text/uri-list'' "yank"]; run = [''shell -- for path in "$@"; do echo "file://$path"; done | wl-copy -t text/uri-list'' "yank"];
desc = "Copy files to system clipboard on yank"; desc = "Copy files to system clipboard on yank";
} }
{ # {
on = "p"; # on = "p";
run = "plugin smart-paste"; # run = "plugin smart-paste";
desc = "Paste into hovered directory or CWD"; # desc = "Paste into hovered directory or CWD";
} # }
{ {
on = "d"; on = "d";
run = "remove --permanently"; run = "remove --permanently";
@ -1076,7 +1078,7 @@ rec {
packages = [ packages = [
"com.github.tchx84.Flatseal" "com.github.tchx84.Flatseal"
# "com.spotify.Client" # Don't need this when spicetify is enabled "com.spotify.Client" # Don't need this when spicetify is enabled
# NOTE: Also change discord-ipc-0 below # NOTE: Also change discord-ipc-0 below
"com.discordapp.Discord" "com.discordapp.Discord"