diff options
author | azahi <azat@bahawi.net> | 2025-02-17 02:21:56 +0300 |
---|---|---|
committer | azahi <azat@bahawi.net> | 2025-02-17 02:21:56 +0300 |
commit | 59180328cda59817d71cd58c8f48ead047375064 (patch) | |
tree | 2cdd7d1bfa309839ef624c19daf283f510aacf69 /modules/mpv.nix | |
parent | 2025-02-05 (diff) |
2025-02-17
Diffstat (limited to 'modules/mpv.nix')
-rw-r--r-- | modules/mpv.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/mpv.nix b/modules/mpv.nix index 90d46d9..f8278e1 100644 --- a/modules/mpv.nix +++ b/modules/mpv.nix @@ -4,14 +4,13 @@ pkgs, ... }: -with lib; let cfg = config.nixfiles.modules.mpv; in { - options.nixfiles.modules.mpv.enable = mkEnableOption "mpv"; + options.nixfiles.modules.mpv.enable = lib.mkEnableOption "mpv"; - config = mkIf cfg.enable { + config = lib.mkIf cfg.enable { nixfiles.modules.common = { shell.aliases.cam = "mpv av://v4l2:/dev/video0"; @@ -149,7 +148,7 @@ in config = let - lang = concatStringsSep "," [ + lang = lib.concatStringsSep "," [ "Japanese" "japanese" "jp" |