about summary refs log tree commit diff
path: root/home/yt-dlp
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-07 10:51:33 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-07 10:51:33 -0700
commit2e067137ada1610f1a5ec205bd42458669233970 (patch)
tree1fb1afd535c824bb2fb9188cf714a8386e2e549c /home/yt-dlp
parentinitial attempt to reconfigure home-manager (diff)
downloadworld-2e067137ada1610f1a5ec205bd42458669233970.tar.gz
home: misc fixes
Diffstat (limited to 'home/yt-dlp')
-rw-r--r--home/yt-dlp/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/home/yt-dlp/default.nix b/home/yt-dlp/default.nix
index ce42014..a366f1f 100644
--- a/home/yt-dlp/default.nix
+++ b/home/yt-dlp/default.nix
@@ -1,12 +1,12 @@
 { config, lib, pkgs, ... }:
 let cfg = config.my.home.yt-dlp;
 in {
-  options.my.home.yt-dlp = with lib.my; {
+  options.my.home.yt-dlp = with lib; {
     enable = mkEnableOption "yt-dlp configuration";
   };
 
-  config.programs.yt-dlp = lib.mkIf cfg.enable {
-    config.home.packages = with pkgs; [ yt-dlp ];
+  config = lib.mkIf cfg.enable {
+    home.packages = with pkgs; [ yt-dlp ];
     xdg.configFile."yt-dlp/config".source = config;
   };
 }