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

15 lines
432 B
Nix
Raw Normal View History

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 = {
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";
};
};
}