-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
executable file
·130 lines (126 loc) · 4.75 KB
/
flake.nix
File metadata and controls
executable file
·130 lines (126 loc) · 4.75 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
{
description = "HyprNixOS";
inputs = {
# nixpkgs-local-testing.url = "git+file:///home/qweered/Projects/nixpkgs";
# nixpkgs-structurred.url = "github:SFrijters/nixpkgs/structuredattrs-prs-stacked-staging-2026-01-30";
# 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-vite-plus-init = {
url = "https://github.com/NixOS/nixpkgs/pull/500492.diff";
flake = false;
};
determinate = {
url = "https://flakehub.com/f/DeterminateSystems/determinate/*";
inputs.nix.inputs.flake-parts.follows = "flake-parts";
inputs.nix.inputs.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";
};
blueprint = {
url = "github:numtide/blueprint";
inputs.nixpkgs.follows = "nixpkgs"; # does not need cache hit
inputs.systems.follows = "systems";
};
gitignore = {
# needed for pre-commit
url = "github:hercules-ci/gitignore.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";
inputs.flake-parts.follows = "flake-parts";
# inputs.nixpkgs.follows = "nixpkgs"; # do not override, painful cache misses
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; # important
};
llm-agents = {
url = "github:numtide/llm-agents.nix";
inputs.nixpkgs.follows = "nixpkgs"; # rarely misses cache
inputs.treefmt-nix.follows = "treefmt-nix";
inputs.blueprint.follows = "blueprint";
inputs.systems.follows = "systems";
inputs.flake-parts.follows = "flake-parts";
inputs.bun2nix.inputs.import-tree.follows = "import-tree";
};
import-tree.url = "github:vic/import-tree";
treefmt-nix = {
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs"; # does not need cache hit
};
git-hooks = {
url = "github:cachix/git-hooks.nix";
inputs.flake-compat.follows = "flake-compat";
inputs.gitignore.follows = "gitignore";
inputs.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
};
nixcord = {
url = "github:kaylorben/nixcord";
inputs.flake-compat.follows = "flake-compat";
inputs.flake-parts.follows = "flake-parts";
inputs.nixpkgs.follows = "nixpkgs"; # does not need cache hit
inputs.nixpkgs-nixcord.follows = "nixpkgs";
};
spicetify = {
url = "github:Gerg-L/spicetify-nix";
inputs.nixpkgs.follows = "nixpkgs"; # does not need cache hit
inputs.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
inputs.systems.follows = "systems";
};
vicinae-extensions = {
url = "github:vicinaehq/extensions";
inputs.nixpkgs.follows = "nixpkgs"; # does not need cache hit
inputs.vicinae.follows = "vicinae";
inputs.flake-compat.follows = "flake-compat";
inputs.systems.follows = "systems";
};
agenix = {
url = "github:ryantm/agenix";
inputs.nixpkgs.follows = "nixpkgs"; # does not need cache hit
inputs.systems.follows = "systems";
inputs.home-manager.follows = "home-manager";
};
agenix-rekey = {
url = "github:oddlama/agenix-rekey";
inputs.nixpkgs.follows = "nixpkgs"; # does not need cache hit
inputs.flake-parts.follows = "flake-parts";
inputs.treefmt-nix.follows = "treefmt-nix";
inputs.pre-commit-hooks.follows = "git-hooks";
};
};
outputs =
inputs@{ nixpkgs, flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [ ./modules/flake-parts ];
systems = nixpkgs.lib.systems.flakeExposed;
};
}