refactoring complete
This commit is contained in:
parent
91d4b21cdf
commit
5b18428ab0
10 changed files with 164 additions and 161 deletions
|
@ -5,12 +5,10 @@
|
|||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.modules.programs.ncmpcpp;
|
||||
cfg = config.modules.usrEnv.programs.media.ncmpcpp;
|
||||
inherit (config.modules.other.system) username;
|
||||
inherit (config.modules.services.mpd) musicDirectory;
|
||||
in {
|
||||
options.modules.programs.ncmpcpp.enable = mkEnableOption "ncmpcpp";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.${username} = {
|
||||
programs.ncmpcpp = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue