From a41c08b3487813435b0f8740870e62e9bea7dff9 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 13 Feb 2022 13:22:29 -0800 Subject: home-manager: install yt-dlp --- users/fcuny/cli/default.nix | 1 + users/fcuny/cli/yt-dlp.nix | 9 +++++++++ users/fcuny/configs/yt-dlp | 1 + 3 files changed, 11 insertions(+) create mode 100644 users/fcuny/cli/yt-dlp.nix create mode 120000 users/fcuny/configs/yt-dlp diff --git a/users/fcuny/cli/default.nix b/users/fcuny/cli/default.nix index ff2b89f..a3a62e2 100644 --- a/users/fcuny/cli/default.nix +++ b/users/fcuny/cli/default.nix @@ -5,6 +5,7 @@ ./git.nix ./go.nix ./tmux.nix + ./yt-dlp.nix ./zsh.nix ]; diff --git a/users/fcuny/cli/yt-dlp.nix b/users/fcuny/cli/yt-dlp.nix new file mode 100644 index 0000000..8e9cd9c --- /dev/null +++ b/users/fcuny/cli/yt-dlp.nix @@ -0,0 +1,9 @@ +{ config, lib, pkgs, ... }: + +{ + xdg.configFile."yt-dlp/config".source = ../configs/yt-dlp/config; + + home.packages = with pkgs; [ + unstable.yt-dlp + ]; +} diff --git a/users/fcuny/configs/yt-dlp b/users/fcuny/configs/yt-dlp new file mode 120000 index 0000000..df49e30 --- /dev/null +++ b/users/fcuny/configs/yt-dlp @@ -0,0 +1 @@ +/home/fcuny/workspace/linux-desktop/config/yt-dlp \ No newline at end of file -- cgit 1.4.1