[Asahi] Add claude code.
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
parent
dacb7018a3
commit
d72369c20b
2 changed files with 21 additions and 3 deletions
14
flake.nix
14
flake.nix
|
|
@ -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";
|
system = "aarch64-linux";
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs apple-silicon ghostty;
|
inherit inputs apple-silicon ghostty;
|
||||||
|
|
@ -87,7 +94,10 @@
|
||||||
./hosts/asahi/configuration.nix
|
./hosts/asahi/configuration.nix
|
||||||
home-manager.nixosModules.home-manager
|
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.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.users.jmug = import ./hosts/asahi/home.nix;
|
home-manager.users.jmug = import ./hosts/asahi/home.nix;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,11 @@
|
||||||
{ lib, config, inputs, pkgs, ...} :
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
inputs,
|
||||||
|
pkgs,
|
||||||
|
pkgs-unstable,
|
||||||
|
...
|
||||||
|
} :
|
||||||
let
|
let
|
||||||
pathToKeys = ../common/keys/yubi;
|
pathToKeys = ../common/keys/yubi;
|
||||||
yubiKeys =
|
yubiKeys =
|
||||||
|
|
@ -54,6 +61,7 @@ in
|
||||||
obs-studio
|
obs-studio
|
||||||
# Dev tools
|
# Dev tools
|
||||||
flyctl
|
flyctl
|
||||||
|
pkgs-unstable.claude-code
|
||||||
];
|
];
|
||||||
|
|
||||||
pointerCursor = {
|
pointerCursor = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue