-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
79 lines (73 loc) · 2.12 KB
/
flake.nix
File metadata and controls
79 lines (73 loc) · 2.12 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
nixConfig = {
extra-substituters = [
"https://cache.nixos.org"
"https://devenv.cachix.org"
"https://nix-community.cachix.org"
"https://install.determinate.systems"
"https://cache.nixos-cuda.org"
];
extra-trusted-substituters = [
"https://cache.nixos.org"
"https://devenv.cachix.org"
"https://nix-community.cachix.org"
"https://install.determinate.systems"
"https://cache.nixos-cuda.org"
];
extra-trusted-public-keys = [
"cache.flakehub.com-3:hJuILl5sVK4iKm86JzgdXW12Y2Hwd5G07qKtHTOcDCM="
"cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M="
];
};
inputs = {
ratarmount = {
url = "github:Atry/ratarmount/resolve-symbolic-links";
flake = false;
};
systems.url = "github:nix-systems/default";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
devenv-root = {
url = "file+file:///dev/null";
flake = false;
};
pyproject-nix = {
url = "github:pyproject-nix/pyproject.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
uv2nix = {
url = "github:pyproject-nix/uv2nix";
inputs.pyproject-nix.follows = "pyproject-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
pyproject-build-systems = {
url = "github:pyproject-nix/build-system-pkgs";
inputs.pyproject-nix.follows = "pyproject-nix";
inputs.uv2nix.follows = "uv2nix";
inputs.nixpkgs.follows = "nixpkgs";
};
uv2nix_hammer_overrides = {
url = "github:TyberiusPrime/uv2nix_hammer_overrides";
inputs.nixpkgs.follows = "nixpkgs";
};
doi-mcp = {
url = "github:tfscharff/doi-mcp";
flake = false;
};
};
outputs = inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
./modules/dev.nix
./modules/texlive.nix
./modules/python.nix
./modules/jupyter.nix
./modules/codex.nix
./modules/doi-mcp.nix
];
systems = import inputs.systems;
};
}