tangled
alpha
login
or
join now
demsem.dev
/
nixos-config
0
fork
atom
My entire NixOS config or something!
0
fork
atom
overview
issues
pulls
pipelines
Trying to add nix-inspect; committing this before
Demetrius Semanko
3 months ago
d2e3d461
38f119b0
+317
-9
4 changed files
expand all
collapse all
unified
split
configuration.nix
flake.lock
flake.nix
home.nix
-1
configuration.nix
···
92
92
gh
93
93
wl-clipboard
94
94
ripgrep
95
95
-
vimPlugins.semshi
96
95
git-filter-repo
97
96
];
98
97
+293
-3
flake.lock
···
1
1
{
2
2
"nodes": {
3
3
+
"crane": {
4
4
+
"flake": false,
5
5
+
"locked": {
6
6
+
"lastModified": 1727316705,
7
7
+
"narHash": "sha256-/mumx8AQ5xFuCJqxCIOFCHTVlxHkMT21idpbgbm/TIE=",
8
8
+
"owner": "ipetkov",
9
9
+
"repo": "crane",
10
10
+
"rev": "5b03654ce046b5167e7b0bccbd8244cb56c16f0e",
11
11
+
"type": "github"
12
12
+
},
13
13
+
"original": {
14
14
+
"owner": "ipetkov",
15
15
+
"ref": "v0.19.0",
16
16
+
"repo": "crane",
17
17
+
"type": "github"
18
18
+
}
19
19
+
},
20
20
+
"dream2nix": {
21
21
+
"inputs": {
22
22
+
"nixpkgs": [
23
23
+
"nix-inspect",
24
24
+
"nci",
25
25
+
"nixpkgs"
26
26
+
],
27
27
+
"purescript-overlay": "purescript-overlay",
28
28
+
"pyproject-nix": "pyproject-nix"
29
29
+
},
30
30
+
"locked": {
31
31
+
"lastModified": 1732214960,
32
32
+
"narHash": "sha256-ViyEMSYwaza6y55XTDrsRi2K4YKCLsefMTorjWSE27s=",
33
33
+
"owner": "nix-community",
34
34
+
"repo": "dream2nix",
35
35
+
"rev": "a8dac99db44307fdecead13a39c584b97812d0d4",
36
36
+
"type": "github"
37
37
+
},
38
38
+
"original": {
39
39
+
"owner": "nix-community",
40
40
+
"repo": "dream2nix",
41
41
+
"type": "github"
42
42
+
}
43
43
+
},
44
44
+
"flake-compat": {
45
45
+
"flake": false,
46
46
+
"locked": {
47
47
+
"lastModified": 1696426674,
48
48
+
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
49
49
+
"owner": "edolstra",
50
50
+
"repo": "flake-compat",
51
51
+
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
52
52
+
"type": "github"
53
53
+
},
54
54
+
"original": {
55
55
+
"owner": "edolstra",
56
56
+
"repo": "flake-compat",
57
57
+
"type": "github"
58
58
+
}
59
59
+
},
3
60
"flake-parts": {
4
61
"inputs": {
5
62
"nixpkgs-lib": [
···
41
98
"type": "github"
42
99
}
43
100
},
101
101
+
"mk-naked-shell": {
102
102
+
"flake": false,
103
103
+
"locked": {
104
104
+
"lastModified": 1681286841,
105
105
+
"narHash": "sha256-3XlJrwlR0nBiREnuogoa5i1b4+w/XPe0z8bbrJASw0g=",
106
106
+
"owner": "yusdacra",
107
107
+
"repo": "mk-naked-shell",
108
108
+
"rev": "7612f828dd6f22b7fb332cc69440e839d7ffe6bd",
109
109
+
"type": "github"
110
110
+
},
111
111
+
"original": {
112
112
+
"owner": "yusdacra",
113
113
+
"repo": "mk-naked-shell",
114
114
+
"type": "github"
115
115
+
}
116
116
+
},
117
117
+
"nci": {
118
118
+
"inputs": {
119
119
+
"crane": "crane",
120
120
+
"dream2nix": "dream2nix",
121
121
+
"mk-naked-shell": "mk-naked-shell",
122
122
+
"nixpkgs": [
123
123
+
"nix-inspect",
124
124
+
"nixpkgs"
125
125
+
],
126
126
+
"parts": "parts",
127
127
+
"rust-overlay": "rust-overlay",
128
128
+
"treefmt": "treefmt"
129
129
+
},
130
130
+
"locked": {
131
131
+
"lastModified": 1732342495,
132
132
+
"narHash": "sha256-7qfvmnJQByEtl5bS+rTydLCe3Saz9kMRaJxPCdqb1wQ=",
133
133
+
"owner": "yusdacra",
134
134
+
"repo": "nix-cargo-integration",
135
135
+
"rev": "ae9de2d06519a3bb26b649e1c0d1cfa22c20dc0e",
136
136
+
"type": "github"
137
137
+
},
138
138
+
"original": {
139
139
+
"owner": "yusdacra",
140
140
+
"repo": "nix-cargo-integration",
141
141
+
"type": "github"
142
142
+
}
143
143
+
},
144
144
+
"nix-inspect": {
145
145
+
"inputs": {
146
146
+
"nci": "nci",
147
147
+
"nixpkgs": "nixpkgs",
148
148
+
"parts": "parts_2"
149
149
+
},
150
150
+
"locked": {
151
151
+
"lastModified": 1733357226,
152
152
+
"narHash": "sha256-ArwdTtlIje7yOTblkZs4aQ1+HBtEwJKkfKOiA9tY8nA=",
153
153
+
"owner": "bluskript",
154
154
+
"repo": "nix-inspect",
155
155
+
"rev": "2938c8e94acca6a7f1569f478cac6ddc4877558e",
156
156
+
"type": "github"
157
157
+
},
158
158
+
"original": {
159
159
+
"owner": "bluskript",
160
160
+
"repo": "nix-inspect",
161
161
+
"type": "github"
162
162
+
}
163
163
+
},
44
164
"nixpkgs": {
45
165
"locked": {
166
166
+
"lastModified": 1732014248,
167
167
+
"narHash": "sha256-y/MEyuJ5oBWrWAic/14LaIr/u5E0wRVzyYsouYY3W6w=",
168
168
+
"owner": "nixos",
169
169
+
"repo": "nixpkgs",
170
170
+
"rev": "23e89b7da85c3640bbc2173fe04f4bd114342367",
171
171
+
"type": "github"
172
172
+
},
173
173
+
"original": {
174
174
+
"owner": "nixos",
175
175
+
"ref": "nixos-unstable",
176
176
+
"repo": "nixpkgs",
177
177
+
"type": "github"
178
178
+
}
179
179
+
},
180
180
+
"nixpkgs_2": {
181
181
+
"locked": {
46
182
"lastModified": 1764667669,
47
183
"narHash": "sha256-7WUCZfmqLAssbDqwg9cUDAXrSoXN79eEEq17qhTNM/Y=",
48
184
"owner": "nixos",
···
57
193
"type": "github"
58
194
}
59
195
},
60
60
-
"nixpkgs_2": {
196
196
+
"nixpkgs_3": {
61
197
"locked": {
62
198
"lastModified": 1764856222,
63
199
"narHash": "sha256-yEJmtoFu4cJre1NuU4fb8q57Oux+NTbocnALtJ64aEI=",
···
76
212
"nixvim": {
77
213
"inputs": {
78
214
"flake-parts": "flake-parts",
79
79
-
"nixpkgs": "nixpkgs_2",
215
215
+
"nixpkgs": "nixpkgs_3",
80
216
"systems": "systems"
81
217
},
82
218
"locked": {
···
93
229
"type": "github"
94
230
}
95
231
},
232
232
+
"parts": {
233
233
+
"inputs": {
234
234
+
"nixpkgs-lib": [
235
235
+
"nix-inspect",
236
236
+
"nci",
237
237
+
"nixpkgs"
238
238
+
]
239
239
+
},
240
240
+
"locked": {
241
241
+
"lastModified": 1730504689,
242
242
+
"narHash": "sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS+b4tfNFCwE=",
243
243
+
"owner": "hercules-ci",
244
244
+
"repo": "flake-parts",
245
245
+
"rev": "506278e768c2a08bec68eb62932193e341f55c90",
246
246
+
"type": "github"
247
247
+
},
248
248
+
"original": {
249
249
+
"owner": "hercules-ci",
250
250
+
"repo": "flake-parts",
251
251
+
"type": "github"
252
252
+
}
253
253
+
},
254
254
+
"parts_2": {
255
255
+
"inputs": {
256
256
+
"nixpkgs-lib": [
257
257
+
"nix-inspect",
258
258
+
"nixpkgs"
259
259
+
]
260
260
+
},
261
261
+
"locked": {
262
262
+
"lastModified": 1730504689,
263
263
+
"narHash": "sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS+b4tfNFCwE=",
264
264
+
"owner": "hercules-ci",
265
265
+
"repo": "flake-parts",
266
266
+
"rev": "506278e768c2a08bec68eb62932193e341f55c90",
267
267
+
"type": "github"
268
268
+
},
269
269
+
"original": {
270
270
+
"owner": "hercules-ci",
271
271
+
"repo": "flake-parts",
272
272
+
"type": "github"
273
273
+
}
274
274
+
},
275
275
+
"purescript-overlay": {
276
276
+
"inputs": {
277
277
+
"flake-compat": "flake-compat",
278
278
+
"nixpkgs": [
279
279
+
"nix-inspect",
280
280
+
"nci",
281
281
+
"dream2nix",
282
282
+
"nixpkgs"
283
283
+
],
284
284
+
"slimlock": "slimlock"
285
285
+
},
286
286
+
"locked": {
287
287
+
"lastModified": 1728546539,
288
288
+
"narHash": "sha256-Sws7w0tlnjD+Bjck1nv29NjC5DbL6nH5auL9Ex9Iz2A=",
289
289
+
"owner": "thomashoneyman",
290
290
+
"repo": "purescript-overlay",
291
291
+
"rev": "4ad4c15d07bd899d7346b331f377606631eb0ee4",
292
292
+
"type": "github"
293
293
+
},
294
294
+
"original": {
295
295
+
"owner": "thomashoneyman",
296
296
+
"repo": "purescript-overlay",
297
297
+
"type": "github"
298
298
+
}
299
299
+
},
300
300
+
"pyproject-nix": {
301
301
+
"flake": false,
302
302
+
"locked": {
303
303
+
"lastModified": 1702448246,
304
304
+
"narHash": "sha256-hFg5s/hoJFv7tDpiGvEvXP0UfFvFEDgTdyHIjDVHu1I=",
305
305
+
"owner": "davhau",
306
306
+
"repo": "pyproject.nix",
307
307
+
"rev": "5a06a2697b228c04dd2f35659b4b659ca74f7aeb",
308
308
+
"type": "github"
309
309
+
},
310
310
+
"original": {
311
311
+
"owner": "davhau",
312
312
+
"ref": "dream2nix",
313
313
+
"repo": "pyproject.nix",
314
314
+
"type": "github"
315
315
+
}
316
316
+
},
96
317
"root": {
97
318
"inputs": {
98
319
"home-manager": "home-manager",
99
99
-
"nixpkgs": "nixpkgs",
320
320
+
"nix-inspect": "nix-inspect",
321
321
+
"nixpkgs": "nixpkgs_2",
100
322
"nixvim": "nixvim"
101
323
}
102
324
},
325
325
+
"rust-overlay": {
326
326
+
"inputs": {
327
327
+
"nixpkgs": [
328
328
+
"nix-inspect",
329
329
+
"nci",
330
330
+
"nixpkgs"
331
331
+
]
332
332
+
},
333
333
+
"locked": {
334
334
+
"lastModified": 1732328983,
335
335
+
"narHash": "sha256-RHt12f/slrzDpSL7SSkydh8wUE4Nr4r23HlpWywed9E=",
336
336
+
"owner": "oxalica",
337
337
+
"repo": "rust-overlay",
338
338
+
"rev": "ed8aa5b64f7d36d9338eb1d0a3bb60cf52069a72",
339
339
+
"type": "github"
340
340
+
},
341
341
+
"original": {
342
342
+
"owner": "oxalica",
343
343
+
"repo": "rust-overlay",
344
344
+
"type": "github"
345
345
+
}
346
346
+
},
347
347
+
"slimlock": {
348
348
+
"inputs": {
349
349
+
"nixpkgs": [
350
350
+
"nix-inspect",
351
351
+
"nci",
352
352
+
"dream2nix",
353
353
+
"purescript-overlay",
354
354
+
"nixpkgs"
355
355
+
]
356
356
+
},
357
357
+
"locked": {
358
358
+
"lastModified": 1688756706,
359
359
+
"narHash": "sha256-xzkkMv3neJJJ89zo3o2ojp7nFeaZc2G0fYwNXNJRFlo=",
360
360
+
"owner": "thomashoneyman",
361
361
+
"repo": "slimlock",
362
362
+
"rev": "cf72723f59e2340d24881fd7bf61cb113b4c407c",
363
363
+
"type": "github"
364
364
+
},
365
365
+
"original": {
366
366
+
"owner": "thomashoneyman",
367
367
+
"repo": "slimlock",
368
368
+
"type": "github"
369
369
+
}
370
370
+
},
103
371
"systems": {
104
372
"locked": {
105
373
"lastModified": 1681028828,
···
112
380
"original": {
113
381
"owner": "nix-systems",
114
382
"repo": "default",
383
383
+
"type": "github"
384
384
+
}
385
385
+
},
386
386
+
"treefmt": {
387
387
+
"inputs": {
388
388
+
"nixpkgs": [
389
389
+
"nix-inspect",
390
390
+
"nci",
391
391
+
"nixpkgs"
392
392
+
]
393
393
+
},
394
394
+
"locked": {
395
395
+
"lastModified": 1732292307,
396
396
+
"narHash": "sha256-5WSng844vXt8uytT5djmqBCkopyle6ciFgteuA9bJpw=",
397
397
+
"owner": "numtide",
398
398
+
"repo": "treefmt-nix",
399
399
+
"rev": "705df92694af7093dfbb27109ce16d828a79155f",
400
400
+
"type": "github"
401
401
+
},
402
402
+
"original": {
403
403
+
"owner": "numtide",
404
404
+
"repo": "treefmt-nix",
115
405
"type": "github"
116
406
}
117
407
}
+5
-5
flake.nix
···
1
1
{
2
2
-
description = "A very basic flake";
2
2
+
description = "My first flake, to be changed";
3
3
4
4
inputs = {
5
5
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
6
6
nixvim.url = "github:nix-community/nixvim";
7
7
home-manager.url = "github:nix-community/home-manager";
8
8
home-manager.inputs.nixpkgs.follows = "nixpkgs";
9
9
+
nix-inspect.url = "github:bluskript/nix-inspect";
9
10
};
10
11
11
11
-
outputs = { self, nixpkgs, nixvim, home-manager }: {
12
12
+
outputs = { self, nixpkgs, nixvim, home-manager, nix-inspect, ... }@inputs: {
12
13
nixosConfigurations.delphi = nixpkgs.lib.nixosSystem {
14
14
+
specialArgs = { inherit inputs; };
13
15
modules = [
14
16
./configuration.nix
15
17
home-manager.nixosModules.home-manager
···
17
19
home-manager.useGlobalPkgs = true;
18
20
home-manager.useUserPackages = true;
19
21
home-manager.users.demsem = ./home.nix;
20
20
-
21
21
-
# Optionally, use home-manager.extraSpecialArgs to pass
22
22
-
# arguments to home.nix
22
22
+
home-manager.extraSpecialArgs = { inherit inputs;};
23
23
}
24
24
];
25
25
};
+19
home.nix
···
1
1
+
{inputs, ...}: {
2
2
+
imports = [
3
3
+
inputs.nixvim.homeModules.nixvim
4
4
+
];
5
5
+
home.stateVersion = "26.05";
6
6
+
7
7
+
programs.nixvim = {
8
8
+
enable = true;
9
9
+
colorschemes.catppuccin.enable = true;
10
10
+
plugins.lspconfig.enable = true;
11
11
+
plugins.treesitter = {
12
12
+
enable = true;
13
13
+
settings = {
14
14
+
highlight.enable = true;
15
15
+
};
16
16
+
};
17
17
+
};
18
18
+
19
19
+
}