add claude code

This commit is contained in:
2026-02-06 16:48:48 +01:00
parent dc072f6e28
commit 965831c3b1
4 changed files with 78 additions and 1 deletions
+17 -1
View File
@@ -1,4 +1,13 @@
{ self, nixpkgs, home-manager, nix-flatpak, plasma-manager, lanzaboote, ... }:
{
self,
nixpkgs,
home-manager,
nix-flatpak,
plasma-manager,
lanzaboote,
claude-code,
...
}:
hardwareConfig: hostConfig:
nixpkgs.lib.nixosSystem {
@@ -8,6 +17,13 @@ nixpkgs.lib.nixosSystem {
inherit plasma-manager;
};
modules = [
{
nixpkgs.overlays = [ claude-code.overlays.default ];
nix.settings = {
substituters = [ "https://claude-code.cachix.org" ];
trusted-public-keys = [ "claude-code.cachix.org-1:YeXf2aNu7UTX8Vwrze0za1WEDS+4DuI2kVeWEE4fsRk=" ];
};
}
lanzaboote.nixosModules.lanzaboote
hardwareConfig
home-manager.nixosModules.home-manager