diff --git a/home/services/aria2c.nix b/home/services/aria2c.nix index fa5c73c..8282c89 100644 --- a/home/services/aria2c.nix +++ b/home/services/aria2c.nix @@ -1,6 +1,7 @@ { config, pkgs, + secrets, ... }: { systemd.user.services.aria2c = { @@ -15,7 +16,7 @@ Service = { Type = "simple"; ExecStart = '' - ${pkgs.aria}/bin/aria2c --console-log-level=warn --log-level=notice --enable-rpc --rpc-listen-all --rpc-listen-port=6800 --dir="${config.xdg.userDirs.download}" + ${pkgs.aria}/bin/aria2c --console-log-level=warn --log-level=notice --enable-rpc --rpc-secret="${secrets.aria2_config.rpc_secret}" --rpc-listen-all --rpc-listen-port=6800 --dir="${config.xdg.userDirs.download}" ''; }; }; diff --git a/secrets.nix b/secrets.nix index bdcc00a..9c70648 100644 Binary files a/secrets.nix and b/secrets.nix differ