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

15 lines
441 B
Nix

{ pkgs, config, lib, ... }: lib.mkIf (! isNull config.secrets.yt-utilities) {
home-manager.users.balsoft = {
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";
};
};
}