mirror of
https://github.com/smg1024/nix-darwin.git
synced 2026-05-22 20:32:59 +09:00
feat: add github_cli_token as sops secret
mise activate zsh via oh-my-zsh plugin
This commit is contained in:
parent
63a3bb6e98
commit
d653b39a56
4 changed files with 10 additions and 4 deletions
|
|
@ -1,3 +1,4 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
|
|
@ -27,6 +28,10 @@
|
|||
EDITOR = "nvim";
|
||||
};
|
||||
|
||||
initContent = ''
|
||||
export GH_TOKEN="$(cat ${config.sops.secrets."github_cli_token".path})"
|
||||
'';
|
||||
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
theme = "robbyrussell";
|
||||
|
|
@ -38,6 +43,7 @@
|
|||
"vi-mode"
|
||||
"zoxide"
|
||||
"eza"
|
||||
"mise"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue