refactoring complete

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

View file

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