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

20 lines
511 B
Nix

{ 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 = {
directory = "yt";
owner = "balsoft:users";
template = builtins.toJSON {
yt-token = "$user";
user = "$token";
from = {
org = "/home/balsoft/Documents/serokell.org";
full-file = true;
};
since = "1997-11-19";
severity = "Info";
};
};
}