nixos-config/modules/applications/yt-utilities.nix

20 lines
526 B
Nix
Raw Normal View History

{ pkgs, config, lib, ... }: {
home-manager.users.balsoft = {
home.activation.yt-config = "$DRY_RUN_CMD ln -sf $VERBOSE_ARG ${config.secrets-envsubst.yt} $HOME/.yt.yaml";
};
secrets-envsubst.yt = {
2021-01-11 21:51:09 +04:00
secrets = [ "user" "template" ];
owner = "balsoft:users";
template = builtins.toJSON {
yt-token = "$user";
user = "$token";
2020-02-17 17:00:59 +04:00
from = {
2020-12-27 11:16:20 +04:00
org = "/home/balsoft/Documents/serokell.org";
2020-02-17 17:00:59 +04:00
full-file = true;
};
since = "1997-11-19";
severity = "Info";
};
};
}