refactoring complete

This commit is contained in:
vali 2024-07-21 15:11:55 +02:00
commit a2dd7645c6
10 changed files with 164 additions and 161 deletions

View file

@ -3,12 +3,11 @@
lib,
...
}: let
cfg = config.modules.programs.beets;
inherit (lib) mkIf mkEnableOption;
cfg = config.modules.usrEnv.programs.media.beets;
inherit (config.modules.other.system) username;
inherit (config.modules.services.mpd) musicDirectory;
inherit (lib) mkIf;
in {
options.modules.programs.beets.enable = mkEnableOption "beets";
config = mkIf cfg.enable {
home-manager.users.${username} = {
programs.beets = {