[Asahi] Add claude code.

Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
Mariano Uvalle 2025-07-12 19:53:07 -07:00
parent dacb7018a3
commit d72369c20b
2 changed files with 21 additions and 3 deletions

View file

@ -78,7 +78,14 @@
}
];
};
asahi = nixpkgs.lib.nixosSystem {
asahi = let
pkgs-unstable_aarch64-linux = import nixpkgs-unstable {
system = "aarch64-linux";
config = {
allowUnfree = true;
};
};
in nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
specialArgs = {
inherit inputs apple-silicon ghostty;
@ -87,7 +94,10 @@
./hosts/asahi/configuration.nix
home-manager.nixosModules.home-manager
{
home-manager.extraSpecialArgs = { inherit inputs; };
home-manager.extraSpecialArgs = {
pkgs-unstable = pkgs-unstable_aarch64-linux;
inherit inputs;
};
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.jmug = import ./hosts/asahi/home.nix;

View file

@ -1,4 +1,11 @@
{ lib, config, inputs, pkgs, ...} :
{
lib,
config,
inputs,
pkgs,
pkgs-unstable,
...
} :
let
pathToKeys = ../common/keys/yubi;
yubiKeys =
@ -54,6 +61,7 @@ in
obs-studio
# Dev tools
flyctl
pkgs-unstable.claude-code
];
pointerCursor = {