Fix rssVideos service

This commit is contained in:
Geoffrey Frogeye 2025-06-20 13:22:54 +02:00
parent d73fc4cb57
commit 0a625ad6a9

View file

@ -1,4 +1,10 @@
{ ... }: {
config,
...
}:
let
hostConfig = config;
in
{ {
config.home-manager.users.geoffrey = config.home-manager.users.geoffrey =
{ {
@ -15,6 +21,9 @@
ExecStart = lib.getExe ( ExecStart = lib.getExe (
pkgs.writeShellApplication { pkgs.writeShellApplication {
name = "rss_videos_download"; name = "rss_videos_download";
runtimeInputs = with pkgs; [
hostConfig.nix.package
];
text = '' text = ''
${config.home.homeDirectory}/.config/dotfiles/hm/scripts/rssVideos download ${config.home.homeDirectory}/.config/dotfiles/hm/scripts/rssVideos download
''; '';