26 lines
686 B
Nix
26 lines
686 B
Nix
{
|
|
description = "NixOS configuration with latest Claude Code";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
claude-code-nix = {
|
|
url = "github:sadjow/claude-code-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, claude-code-nix, ... }@inputs: {
|
|
nixosConfigurations.meow = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./configuration.nix
|
|
({ pkgs, inputs, ... }: {
|
|
environment.systemPackages = [
|
|
inputs.claude-code-nix.packages.${pkgs.system}.default
|
|
];
|
|
})
|
|
];
|
|
};
|
|
};
|
|
}
|