2020-04-29 03:18:36 +04:00
|
|
|
{ pkgs, config, lib, ... }: lib.mkIf (! isNull config.secrets.yt-utilities) {
|
|
|
|
home-manager.users.balsoft = {
|
2020-02-17 17:00:59 +04:00
|
|
|
home.file.".yt.yaml".text = builtins.toJSON {
|
|
|
|
yt-token = config.secrets.yt-utilities.token;
|
|
|
|
user = config.secrets.yt-utilities.user;
|
|
|
|
from = {
|
|
|
|
org = "/home/balsoft/cloud/Google Drive/serokell.org";
|
|
|
|
full-file = true;
|
|
|
|
};
|
|
|
|
since = "1997-11-19";
|
|
|
|
severity = "Info";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|