NixOS system configurations + dotfiles via home-manager
1{
2 flake.modules.hjem.ruan =
3 { pkgs, ... }:
4 {
5 packages = [ pkgs.beets ];
6 xdg.config.files."beets/config.yaml".text = ''
7 directory: "~/music"
8 library: "~/.local/state/beets/library.db"
9 plugins: [
10 "random",
11 "scrub",
12 "ftintitle",
13 "fetchart",
14 "chroma",
15 ]
16 original_date: yes
17 from_scratch: yes
18 match:
19 preferred:
20 countries: [ "XW", "US", "JP" ]
21 media: [ "Digital Media|File", "CD" ]
22 original_year: yes
23 scrub:
24 auto: yes
25 '';
26 };
27}