-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
151 lines (145 loc) · 5.75 KB
/
flake.nix
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
{
description = "@stepbrobd: yet another dotfiles repo with nix";
outputs = { self, ... } @ inputs: inputs.autopilot.lib.mkFlake
{
inherit inputs;
autopilot = {
lib = {
path = ./lib;
extender = inputs.nixpkgs.lib;
extensions = with inputs; [
autopilot.lib
colmena.lib
darwin.lib
hm.lib
parts.lib
utils.lib
];
};
nixpkgs = {
config = { allowUnfree = true; };
overlays = with inputs; [ self.overlays.default golink.overlays.default ];
instances = { pkgs = inputs.nixpkgs; };
};
parts.path = ./parts;
};
}
{ systems = import inputs.systems; };
inputs = {
# nixpkgs.url = "github:nixos/nixpkgs/master";
# nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
# a
autopilot.url = "github:stepbrobd/autopilot";
autopilot.inputs.nixpkgs.follows = "nixpkgs";
autopilot.inputs.parts.follows = "parts";
autopilot.inputs.systems.follows = "systems";
# c
colmena.url = "github:zhaofengli/colmena";
colmena.inputs.nixpkgs.follows = "nixpkgs";
colmena.inputs.stable.follows = "nixpkgs";
colmena.inputs.flake-compat.follows = "compat";
colmena.inputs.flake-utils.follows = "utils";
colmena.inputs.nix-github-actions.follows = "";
compat.url = "github:edolstra/flake-compat";
compat.flake = false;
crane.url = "github:ipetkov/crane";
# d
darwin.url = "github:lnl7/nix-darwin";
darwin.inputs.nixpkgs.follows = "nixpkgs";
devshell.url = "github:numtide/devshell";
devshell.inputs.nixpkgs.follows = "nixpkgs";
disko.url = "github:nix-community/disko";
disko.inputs.nixpkgs.follows = "nixpkgs";
# f
flakey-profile.url = "github:lf-/flakey-profile";
# g
gallery.url = "github:sambecker/exif-photo-blog";
gallery.flake = false;
garnix.url = "github:garnix-io/garnix-lib";
garnix.inputs.nixpkgs.follows = "nixpkgs";
git-hooks.url = "github:cachix/git-hooks.nix";
git-hooks.inputs.nixpkgs.follows = "nixpkgs";
git-hooks.inputs.nixpkgs-stable.follows = "nixpkgs";
git-hooks.inputs.flake-compat.follows = "compat";
git-hooks.inputs.gitignore.follows = "gitignore";
gitignore.url = "github:hercules-ci/gitignore.nix";
gitignore.inputs.nixpkgs.follows = "nixpkgs";
golink.url = "github:stepbrobd/golink";
golink.inputs.nixpkgs.follows = "nixpkgs";
golink.inputs.parts.follows = "parts";
golink.inputs.systems.follows = "systems";
# h
hm.url = "github:nix-community/home-manager";
hm.inputs.nixpkgs.follows = "nixpkgs";
# i
impermanence.url = "github:nix-community/impermanence";
index.url = "github:nix-community/nix-index-database";
index.inputs.nixpkgs.follows = "nixpkgs";
# l
lanzaboote.url = "github:nix-community/lanzaboote/v0.4.1";
lanzaboote.inputs.nixpkgs.follows = "nixpkgs";
lanzaboote.inputs.crane.follows = "crane";
lanzaboote.inputs.flake-compat.follows = "compat";
lanzaboote.inputs.flake-parts.follows = "parts";
lanzaboote.inputs.flake-utils.follows = "utils";
lanzaboote.inputs.pre-commit-hooks-nix.follows = "pre-commit-hooks";
lanzaboote.inputs.rust-overlay.follows = "rust-overlay";
lix.url = "git+https://[email protected]/lix-project/lix?ref=refs/tags/2.91.1";
lix.flake = false;
lix-module.url = "git+https://git.lix.systems/lix-project/nixos-module?ref=refs/tags/2.91.1-2";
lix-module.inputs.nixpkgs.follows = "nixpkgs";
lix-module.inputs.flake-utils.follows = "utils";
lix-module.inputs.flakey-profile.follows = "flakey-profile";
lix-module.inputs.lix.follows = "lix";
# n
nixos-generators.url = "github:nix-community/nixos-generators";
nixos-generators.inputs.nixpkgs.follows = "nixpkgs";
nixos-generators.inputs.nixlib.follows = "nixpkgs";
nixos-hardware.url = "github:nixos/nixos-hardware";
nixvim.url = "github:nix-community/nixvim";
nixvim.inputs.nixpkgs.follows = "nixpkgs";
nixvim.inputs.devshell.follows = "devshell";
nixvim.inputs.flake-compat.follows = "compat";
nixvim.inputs.flake-parts.follows = "parts";
nixvim.inputs.git-hooks.follows = "git-hooks";
nixvim.inputs.home-manager.follows = "hm";
nixvim.inputs.nix-darwin.follows = "darwin";
nixvim.inputs.nuschtosSearch.follows = "";
nixvim.inputs.treefmt-nix.follows = "treefmt";
# p
parts.url = "github:hercules-ci/flake-parts";
parts.inputs.nixpkgs-lib.follows = "nixpkgs";
pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix";
pre-commit-hooks.inputs.nixpkgs.follows = "nixpkgs";
pre-commit-hooks.inputs.nixpkgs-stable.follows = "nixpkgs";
pre-commit-hooks.inputs.flake-compat.follows = "compat";
pre-commit-hooks.inputs.gitignore.follows = "gitignore";
# r
rust-overlay.url = "github:oxalica/rust-overlay";
rust-overlay.inputs.nixpkgs.follows = "nixpkgs";
# s
schemas.url = "github:determinatesystems/flake-schemas";
sops.url = "github:Mic92/sops-nix";
sops.inputs.nixpkgs.follows = "nixpkgs";
srvos.url = "github:nix-community/srvos";
srvos.inputs.nixpkgs.follows = "nixpkgs";
systems.url = "github:nix-systems/default";
# t
treefmt.url = "github:numtide/treefmt-nix";
treefmt.inputs.nixpkgs.follows = "nixpkgs";
# u
utils.url = "github:numtide/flake-utils";
utils.inputs.systems.follows = "systems";
};
nixConfig = {
extra-substituters = [
"https://cache.garnix.io"
"https://colmena.cachix.org"
];
extra-trusted-public-keys = [
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
"colmena.cachix.org-1:7BzpDnjjH8ki2CT3f6GdOk7QAzPOl+1t3LvTLXqYcSg="
];
};
}