Compare commits

..

3 commits

Author SHA1 Message Date
Nick
f72f772cce refactor: uncucked wireguard config 2025-03-31 23:58:39 -05:00
Nick
e325004210 feat: added claude code 2025-03-31 23:58:34 -05:00
Nick
d128f59d8e refactor: uncucked wireguard config 2025-03-31 23:58:10 -05:00
6 changed files with 21 additions and 4 deletions

0
modules/config/instances/config/wireGuard.nix Normal file → Executable file
View file

View file

@ -1,9 +1,14 @@
{ flake, ... }:
let
inherit (flake.config.people) user0;
in
{ {
programs.nushell = { programs.nushell = {
enable = true; enable = true;
configFile.text = '' configFile.text = ''
sleep 7ms sleep 7ms
$env.config = {show_banner: false} $env.config = {show_banner: false}
$env.ANTHROPIC_API_KEY = (open /home/${user0}/.config/zed/claude-api-key)
''; '';
shellAliases = { shellAliases = {
y = "yy"; y = "yy";

View file

@ -63,6 +63,7 @@ in
polychromatic polychromatic
dolphin dolphin
espanso espanso
claudeCode
; ;
}; };
}; };

View file

@ -0,0 +1,11 @@
{
pkgs,
...
}:
{
home.packages = builtins.attrValues {
inherit (pkgs)
claude-code
;
};
}

0
modules/nixos/services/wireGuard/default.nix Normal file → Executable file
View file

View file

@ -61,10 +61,10 @@ in
path = "/home/${userLogic}/.ssh/known_hosts"; path = "/home/${userLogic}/.ssh/known_hosts";
owner = userLogic; owner = userLogic;
}; };
# "claude-api-key" = { "claude-api-key" = {
# path = "/home/${user0}/.config/zed/claude-api-key"; path = "/home/${user0}/.config/zed/claude-api-key";
# owner = user0; owner = user0;
# }; };
}; };
}; };
} }