mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-10-04 19:45:40 +00:00
feat: refactor home-manager configuration for multi-host support
This commit is contained in:
parent
f20c875a48
commit
6d1fd47bea
47 changed files with 51 additions and 14 deletions
|
@ -1,30 +0,0 @@
|
|||
{ pkgs, config, ... }:
|
||||
|
||||
{
|
||||
sops.secrets.github_token = { };
|
||||
home.packages = with pkgs; [
|
||||
gemini-cli
|
||||
];
|
||||
home.file.".gemini/settings.json".text = ''
|
||||
{
|
||||
"selectedAuthType": "oauth-personal",
|
||||
"mcpServers": {
|
||||
"context7": {
|
||||
"httpUrl": "https://mcp.context7.com/mcp"
|
||||
},
|
||||
"github": {
|
||||
"command": "npx",
|
||||
"args": [
|
||||
"@modelcontextprotocol/server-github"
|
||||
],
|
||||
"timeout": 10000,
|
||||
"trust": false
|
||||
}
|
||||
},
|
||||
"preferredEditor": "neovim"
|
||||
}
|
||||
'';
|
||||
home.file.".gemini/.env".text = ''
|
||||
GITHUB_TOKEN=$(cat ${config.sops.secrets.github_token.path})
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue