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

15 lines
432 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/Documents/serokell.org";
full-file = true;
};
since = "1997-11-19";
severity = "Info";
};
};
}