Repository navigation
Expand file tree
/
Copy pathflake.nix
More file actions
50 lines (44 loc) · 1.53 KB
/
Copy pathflake.nix
File metadata and controls
50 lines (44 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
description = "maxdeviant's dotfiles";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = {
# master tracks nixpkgs-unstable; the release branches track the stable
# channels. Since nixpkgs is on unstable here, this has to be master.
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
# Claude Code updates faster than it lands in nixpkgs, so we pull it from a
# dedicated flake that tracks upstream releases. Bump it on its own with
# `nix flake update claude-code`.
claude-code = {
url = "github:sadjow/claude-code-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
# Sandboxed GitHub Actions runners for Yunnan Softworks' engineer agent.
yn-engineer-runner = {
url = "git+ssh://git@github.com/yunnansoftworks/ops?dir=infrastructure/engineer-runner";
inputs.nixpkgs.follows = "nixpkgs";
};
# Runs coding agents in their own environments, on this machine or others
# on the tailnet.
terrace = {
url = "git+ssh://git@github.com/yunnansoftworks/terrace";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{ nixpkgs, home-manager, ... }@inputs:
{
nixosConfigurations.nokron = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
home-manager.nixosModules.home-manager
./modules/options.nix
./modules/nixos
./hosts/nokron
];
};
};
}