2021-01-11 18:09:34 +04:00
|
|
|
{ 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-12 16:13:03 +04:00
|
|
|
secrets = [ "user" "token" ];
|
2021-01-11 18:09:34 +04:00
|
|
|
owner = "balsoft:users";
|
|
|
|
template = builtins.toJSON {
|
2021-01-13 15:45:01 +04:00
|
|
|
yt-token = "$token";
|
|
|
|
user = "$user";
|
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";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|