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

16 lines
480 B
Nix
Raw Normal View History

2020-02-17 17:00:59 +04:00
{ pkgs, config, lib, ... }: {
home-manager.users.balsoft = lib.mkIf (config.deviceSpecific.goodMachine) {
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";
};
home.packages = [ pkgs.yt-utilities ];
};
}