mirror of
https://github.com/youwen5/nixos.git
synced 2025-01-18 05:02:10 -08:00
feat(gh): use agenix to automatically authenticate gh cli
This commit is contained in:
parent
78c323fd5f
commit
02361e42cf
3 changed files with 8 additions and 0 deletions
|
@ -24,5 +24,12 @@
|
||||||
group = "users";
|
group = "users";
|
||||||
mode = "600";
|
mode = "600";
|
||||||
};
|
};
|
||||||
|
github_cli_secret_config = {
|
||||||
|
file = ./github_cli_secret_config.age;
|
||||||
|
owner = "youwen";
|
||||||
|
group = "users";
|
||||||
|
mode = "600";
|
||||||
|
path = "/home/youwen/.config/gh/hosts.yml";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
BIN
reference/secrets/github_cli_secret_config.age
Normal file
BIN
reference/secrets/github_cli_secret_config.age
Normal file
Binary file not shown.
|
@ -10,4 +10,5 @@ in
|
||||||
"youwen_ucsb_client_id.age".publicKeys = users ++ systems;
|
"youwen_ucsb_client_id.age".publicKeys = users ++ systems;
|
||||||
"youwen_ucsb_client_secret.age".publicKeys = users ++ systems;
|
"youwen_ucsb_client_secret.age".publicKeys = users ++ systems;
|
||||||
"tincan_app_password.age".publicKeys = users ++ systems;
|
"tincan_app_password.age".publicKeys = users ++ systems;
|
||||||
|
"github_cli_secret_config.age".publicKeys = users ++ systems;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue