refactoring complete
This commit is contained in:
parent
0a7700f434
commit
a2dd7645c6
10 changed files with 164 additions and 161 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue