-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathflake.nix
More file actions
executable file
·183 lines (178 loc) · 5.81 KB
/
Copy pathflake.nix
File metadata and controls
executable file
·183 lines (178 loc) · 5.81 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
{
description = "HyprNixOS";
inputs = {
# nixpkgs-local-testing.url = "git+file:///home/qweered/Projects/nixpkgs";
# nixpkgs-unstable-with-unfree.url = "github:numtide/nixpkgs-unfree/nixpkgs-unstable" - can't get this to work
# nixpkgs-master.url = "github:nixos/nixpkgs/master";
nixpkgs.url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz"; # Smaller then github tarball, less api hits
nixpkgs-patcher.url = "github:gepbird/nixpkgs-patcher";
nixpkgs-patch-codexbar-cli = {
url = "https://github.com/NixOS/nixpkgs/pull/525686.diff";
flake = false;
};
nixpkgs-patch-builtins-filterattrs = {
url = "https://github.com/NixOS/nixpkgs/pull/498999.diff";
flake = false;
};
nixpkgs-patch-singularityapp = {
url = "https://github.com/NixOS/nixpkgs/pull/535346.diff";
flake = false;
};
determinate = {
url = "https://flakehub.com/f/DeterminateSystems/nix-src/*";
inputs = {
flake-parts.follows = "flake-parts";
git-hooks-nix.follows = "git-hooks";
};
};
# global inputs, other will follow them
lib.url = "github:nix-community/nixpkgs.lib";
systems.url = "github:nix-systems/triplet";
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "lib";
};
flake-compat = {
url = "github:NixOS/flake-compat";
};
flake-utils = {
# only for nix-output-monitor
url = "github:numtide/flake-utils";
inputs.systems.follows = "systems";
};
blueprint = {
# only for llm-agents
url = "github:numtide/blueprint";
inputs = {
nixpkgs.follows = "nixpkgs"; # does not need cache hit
systems.follows = "systems";
};
};
treefmt-nix = {
# only for llm-agents and agenix-rekey
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs"; # does not need cache hit
};
# other inputs
nix-cachyos-kernel = {
url = "github:xddxdd/nix-cachyos-kernel/release";
inputs = {
flake-compat.follows = "flake-compat";
flake-parts.follows = "flake-parts";
# nixpkgs.follows = "nixpkgs"; # do not override, painful cache misses
};
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; # important
};
disko = {
url = "github:nix-community/disko/latest";
inputs.nixpkgs.follows = "nixpkgs"; # does not need cache hit
};
nvf = {
url = "github:notashelf/nvf";
inputs = {
nixpkgs.follows = "nixpkgs";
systems.follows = "systems";
flake-parts.follows = "flake-parts";
flake-compat.follows = "flake-compat";
};
};
llm-agents = {
url = "github:numtide/llm-agents.nix";
inputs = {
nixpkgs.follows = "nixpkgs"; # rarely misses cache
treefmt-nix.follows = "treefmt-nix";
blueprint.follows = "blueprint";
systems.follows = "systems";
flake-parts.follows = "flake-parts";
};
};
import-tree.url = "github:vic/import-tree";
git-hooks = {
url = "github:cachix/git-hooks.nix";
inputs = {
flake-compat.follows = "flake-compat";
nixpkgs.follows = "nixpkgs"; # does not need cache hit
};
};
nix-index-database = {
url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs"; # does not need cache hit
};
nix-output-monitor = {
# use upstream flake: overlaying only `src` onto nixpkgs breaks the Haskell build
url = "github:maralorn/nix-output-monitor";
inputs = {
nixpkgs.follows = "nixpkgs"; # does not need cache hit
flake-utils.follows = "flake-utils";
git-hooks.follows = "git-hooks";
};
};
nixcord = {
url = "github:kaylorben/nixcord";
inputs = {
flake-compat.follows = "flake-compat";
flake-parts.follows = "flake-parts";
nixpkgs.follows = "nixpkgs"; # does not need cache hit
nixpkgs-nixcord.follows = "nixpkgs";
};
};
spicetify = {
url = "github:Gerg-L/spicetify-nix";
inputs = {
nixpkgs.follows = "nixpkgs"; # does not need cache hit
systems.follows = "systems";
};
};
cpu-microcodes = {
url = "github:platomav/CPUMicrocodes";
flake = false;
};
ucodenix = {
url = "github:e-tho/ucodenix";
inputs.cpu-microcodes.follows = "cpu-microcodes";
};
declarative-flatpak.url = "github:in-a-dil-emma/declarative-flatpak/latest";
vicinae = {
url = "github:vicinaehq/vicinae";
inputs = {
nixpkgs.follows = "nixpkgs"; # does not need cache hit cause only needed for vicinae-extensions
systems.follows = "systems";
};
};
vicinae-extensions = {
url = "github:vicinaehq/extensions";
inputs = {
nixpkgs.follows = "nixpkgs"; # does not need cache hit
vicinae.follows = "vicinae";
flake-compat.follows = "flake-compat";
systems.follows = "systems";
};
};
agenix = {
# Includes fix for userborn: https://github.com/ryantm/agenix/pull/353
url = "github:marienz/agenix/941af799a916cf8d1141941e6d91a4ec7bcf51ab";
inputs = {
nixpkgs.follows = "nixpkgs"; # does not need cache hit
systems.follows = "systems";
home-manager.follows = "home-manager";
};
};
agenix-rekey = {
url = "github:oddlama/agenix-rekey";
inputs = {
nixpkgs.follows = "nixpkgs"; # does not need cache hit
flake-parts.follows = "flake-parts";
treefmt-nix.follows = "treefmt-nix";
pre-commit-hooks.follows = "git-hooks";
};
};
};
outputs =
inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [ ./entrypoint.nix ];
};
}