From d128f59d8eac6c701be91b24670ffbed86817254 Mon Sep 17 00:00:00 2001 From: Nick Date: Mon, 31 Mar 2025 23:58:10 -0500 Subject: [PATCH 1/3] refactor: uncucked wireguard config --- modules/config/instances/config/wireGuard.nix | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 modules/config/instances/config/wireGuard.nix diff --git a/modules/config/instances/config/wireGuard.nix b/modules/config/instances/config/wireGuard.nix old mode 100644 new mode 100755 From e325004210e8f314c1ed95840ba1566a6a8b4742 Mon Sep 17 00:00:00 2001 From: Nick Date: Mon, 31 Mar 2025 23:58:34 -0500 Subject: [PATCH 2/3] feat: added claude code --- modules/home/cli/shell/nushell/default.nix | 5 +++++ modules/home/default.nix | 1 + modules/home/gui/apps/tools/claudeCode/default.nix | 11 +++++++++++ modules/nixos/sops/default.nix | 8 ++++---- 4 files changed, 21 insertions(+), 4 deletions(-) create mode 100755 modules/home/gui/apps/tools/claudeCode/default.nix diff --git a/modules/home/cli/shell/nushell/default.nix b/modules/home/cli/shell/nushell/default.nix index 1bc505d..aeece39 100755 --- a/modules/home/cli/shell/nushell/default.nix +++ b/modules/home/cli/shell/nushell/default.nix @@ -1,9 +1,14 @@ +{ flake, ... }: +let + inherit (flake.config.people) user0; +in { programs.nushell = { enable = true; configFile.text = '' sleep 7ms $env.config = {show_banner: false} + $env.ANTHROPIC_API_KEY = (open /home/${user0}/.config/zed/claude-api-key) ''; shellAliases = { y = "yy"; diff --git a/modules/home/default.nix b/modules/home/default.nix index c21cf84..e8f7da5 100755 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -63,6 +63,7 @@ in polychromatic dolphin espanso + claudeCode ; }; }; diff --git a/modules/home/gui/apps/tools/claudeCode/default.nix b/modules/home/gui/apps/tools/claudeCode/default.nix new file mode 100755 index 0000000..9e18ada --- /dev/null +++ b/modules/home/gui/apps/tools/claudeCode/default.nix @@ -0,0 +1,11 @@ +{ + pkgs, + ... +}: +{ + home.packages = builtins.attrValues { + inherit (pkgs) + claude-code + ; + }; +} diff --git a/modules/nixos/sops/default.nix b/modules/nixos/sops/default.nix index 5a741db..38e4a89 100755 --- a/modules/nixos/sops/default.nix +++ b/modules/nixos/sops/default.nix @@ -61,10 +61,10 @@ in path = "/home/${userLogic}/.ssh/known_hosts"; owner = userLogic; }; - # "claude-api-key" = { - # path = "/home/${user0}/.config/zed/claude-api-key"; - # owner = user0; - # }; + "claude-api-key" = { + path = "/home/${user0}/.config/zed/claude-api-key"; + owner = user0; + }; }; }; } From f72f772cce2d17dc3b8ec08a13149a560a6570b0 Mon Sep 17 00:00:00 2001 From: Nick Date: Mon, 31 Mar 2025 23:58:39 -0500 Subject: [PATCH 3/3] refactor: uncucked wireguard config --- modules/nixos/services/wireGuard/default.nix | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 modules/nixos/services/wireGuard/default.nix diff --git a/modules/nixos/services/wireGuard/default.nix b/modules/nixos/services/wireGuard/default.nix old mode 100644 new mode 100755