aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay <[email protected]>2024-08-26 11:42:32 +0100
committerAkshay <[email protected]>2024-08-26 11:42:32 +0100
commite2f704d2f1e1ee4ecc678112af05927ce5a3db39 (patch)
treeaff0bd8e0f78ffc292a481aa39f7bc3e74429387
parent5c68dbde55056cb8bd05c0ff862b6f2ed8336719 (diff)
misc
-rw-r--r--flake.lock987
-rw-r--r--flake.nix12
-rw-r--r--scripts/default.nix6
-rw-r--r--services/default.nix2
-rw-r--r--services/sxhkd.nix32
-rw-r--r--theme/default.nix2
-rw-r--r--x/default.nix2
-rw-r--r--x/rxvt.nix6
-rw-r--r--x/xft.nix2
9 files changed, 1025 insertions, 26 deletions
diff --git a/flake.lock b/flake.lock
index e948b57..11991e2 100644
--- a/flake.lock
+++ b/flake.lock
@@ -20,6 +20,495 @@
20 "url": "https://git.peppe.rs/vim/better-text-objs" 20 "url": "https://git.peppe.rs/vim/better-text-objs"
21 } 21 }
22 }, 22 },
23 "cachix": {
24 "inputs": {
25 "devenv": [
26 "niri",
27 "crate2nix"
28 ],
29 "flake-compat": [
30 "niri",
31 "crate2nix"
32 ],
33 "nixpkgs": "nixpkgs",
34 "pre-commit-hooks": [
35 "niri",
36 "crate2nix"
37 ]
38 },
39 "locked": {
40 "lastModified": 1709700175,
41 "narHash": "sha256-A0/6ZjLmT9qdYzKHmevnEIC7G+GiZ4UCr8v0poRPzds=",
42 "owner": "cachix",
43 "repo": "cachix",
44 "rev": "be97b37989f11b724197b5f4c7ffd78f12c8c4bf",
45 "type": "github"
46 },
47 "original": {
48 "owner": "cachix",
49 "ref": "latest",
50 "repo": "cachix",
51 "type": "github"
52 }
53 },
54 "cachix_2": {
55 "inputs": {
56 "devenv": [
57 "niri",
58 "crate2nix",
59 "crate2nix_stable"
60 ],
61 "flake-compat": [
62 "niri",
63 "crate2nix",
64 "crate2nix_stable"
65 ],
66 "nixpkgs": "nixpkgs_2",
67 "pre-commit-hooks": [
68 "niri",
69 "crate2nix",
70 "crate2nix_stable"
71 ]
72 },
73 "locked": {
74 "lastModified": 1716549461,
75 "narHash": "sha256-lHy5kgx6J8uD+16SO47dPrbob98sh+W1tf4ceSqPVK4=",
76 "owner": "cachix",
77 "repo": "cachix",
78 "rev": "e2bb269fb8c0828d5d4d2d7b8d09ea85abcacbd4",
79 "type": "github"
80 },
81 "original": {
82 "owner": "cachix",
83 "ref": "latest",
84 "repo": "cachix",
85 "type": "github"
86 }
87 },
88 "cachix_3": {
89 "inputs": {
90 "devenv": [
91 "niri",
92 "crate2nix",
93 "crate2nix_stable",
94 "crate2nix_stable"
95 ],
96 "flake-compat": [
97 "niri",
98 "crate2nix",
99 "crate2nix_stable",
100 "crate2nix_stable"
101 ],
102 "nixpkgs": "nixpkgs_3",
103 "pre-commit-hooks": [
104 "niri",
105 "crate2nix",
106 "crate2nix_stable",
107 "crate2nix_stable"
108 ]
109 },
110 "locked": {
111 "lastModified": 1716549461,
112 "narHash": "sha256-lHy5kgx6J8uD+16SO47dPrbob98sh+W1tf4ceSqPVK4=",
113 "owner": "cachix",
114 "repo": "cachix",
115 "rev": "e2bb269fb8c0828d5d4d2d7b8d09ea85abcacbd4",
116 "type": "github"
117 },
118 "original": {
119 "owner": "cachix",
120 "ref": "latest",
121 "repo": "cachix",
122 "type": "github"
123 }
124 },
125 "crate2nix": {
126 "inputs": {
127 "cachix": "cachix",
128 "crate2nix_stable": "crate2nix_stable",
129 "devshell": "devshell_3",
130 "flake-compat": "flake-compat_3",
131 "flake-parts": "flake-parts_3",
132 "nix-test-runner": "nix-test-runner_3",
133 "nixpkgs": "nixpkgs_6",
134 "pre-commit-hooks": "pre-commit-hooks_3"
135 },
136 "locked": {
137 "lastModified": 1719760654,
138 "narHash": "sha256-L3VIJ9182wsYJqP27xO5qiWwfK+a00x0JHiy8ns3NQE=",
139 "owner": "nix-community",
140 "repo": "crate2nix",
141 "rev": "a6ca1e58132bab26fc08572f22a34bbb86f4d91d",
142 "type": "github"
143 },
144 "original": {
145 "owner": "nix-community",
146 "repo": "crate2nix",
147 "type": "github"
148 }
149 },
150 "crate2nix_stable": {
151 "inputs": {
152 "cachix": "cachix_2",
153 "crate2nix_stable": "crate2nix_stable_2",
154 "devshell": "devshell_2",
155 "flake-compat": "flake-compat_2",
156 "flake-parts": "flake-parts_2",
157 "nix-test-runner": "nix-test-runner_2",
158 "nixpkgs": "nixpkgs_5",
159 "pre-commit-hooks": "pre-commit-hooks_2"
160 },
161 "locked": {
162 "lastModified": 1719760004,
163 "narHash": "sha256-esWhRnt7FhiYq0CcIxw9pvH+ybOQmWBfHYMtleaMhBE=",
164 "owner": "nix-community",
165 "repo": "crate2nix",
166 "rev": "1dee214bb20855fa3e1e7bb98d28922ddaff8c57",
167 "type": "github"
168 },
169 "original": {
170 "owner": "nix-community",
171 "ref": "0.14.1",
172 "repo": "crate2nix",
173 "type": "github"
174 }
175 },
176 "crate2nix_stable_2": {
177 "inputs": {
178 "cachix": "cachix_3",
179 "crate2nix_stable": "crate2nix_stable_3",
180 "devshell": "devshell",
181 "flake-compat": "flake-compat",
182 "flake-parts": "flake-parts",
183 "nix-test-runner": "nix-test-runner",
184 "nixpkgs": "nixpkgs_4",
185 "pre-commit-hooks": "pre-commit-hooks"
186 },
187 "locked": {
188 "lastModified": 1712821484,
189 "narHash": "sha256-rGT3CW64cJS9nlnWPFWSc1iEa3dNZecVVuPVGzcsHe8=",
190 "owner": "nix-community",
191 "repo": "crate2nix",
192 "rev": "42883afcad3823fa5811e967fb7bff54bc3c9d6d",
193 "type": "github"
194 },
195 "original": {
196 "owner": "nix-community",
197 "ref": "0.14.0",
198 "repo": "crate2nix",
199 "type": "github"
200 }
201 },
202 "crate2nix_stable_3": {
203 "inputs": {
204 "flake-utils": "flake-utils"
205 },
206 "locked": {
207 "lastModified": 1702842982,
208 "narHash": "sha256-A9AowkHIjsy1a4LuiPiVP88FMxyCWK41flZEZOUuwQM=",
209 "owner": "nix-community",
210 "repo": "crate2nix",
211 "rev": "75ac2973affa6b9b4f661a7b592cba6e4f51d426",
212 "type": "github"
213 },
214 "original": {
215 "owner": "nix-community",
216 "ref": "0.12.0",
217 "repo": "crate2nix",
218 "type": "github"
219 }
220 },
221 "devshell": {
222 "inputs": {
223 "flake-utils": "flake-utils_2",
224 "nixpkgs": [
225 "niri",
226 "crate2nix",
227 "crate2nix_stable",
228 "crate2nix_stable",
229 "nixpkgs"
230 ]
231 },
232 "locked": {
233 "lastModified": 1717408969,
234 "narHash": "sha256-Q0OEFqe35fZbbRPPRdrjTUUChKVhhWXz3T9ZSKmaoVY=",
235 "owner": "numtide",
236 "repo": "devshell",
237 "rev": "1ebbe68d57457c8cae98145410b164b5477761f4",
238 "type": "github"
239 },
240 "original": {
241 "owner": "numtide",
242 "repo": "devshell",
243 "type": "github"
244 }
245 },
246 "devshell_2": {
247 "inputs": {
248 "flake-utils": "flake-utils_3",
249 "nixpkgs": [
250 "niri",
251 "crate2nix",
252 "crate2nix_stable",
253 "nixpkgs"
254 ]
255 },
256 "locked": {
257 "lastModified": 1717408969,
258 "narHash": "sha256-Q0OEFqe35fZbbRPPRdrjTUUChKVhhWXz3T9ZSKmaoVY=",
259 "owner": "numtide",
260 "repo": "devshell",
261 "rev": "1ebbe68d57457c8cae98145410b164b5477761f4",
262 "type": "github"
263 },
264 "original": {
265 "owner": "numtide",
266 "repo": "devshell",
267 "type": "github"
268 }
269 },
270 "devshell_3": {
271 "inputs": {
272 "flake-utils": "flake-utils_4",
273 "nixpkgs": [
274 "niri",
275 "crate2nix",
276 "nixpkgs"
277 ]
278 },
279 "locked": {
280 "lastModified": 1711099426,
281 "narHash": "sha256-HzpgM/wc3aqpnHJJ2oDqPBkNsqWbW0WfWUO8lKu8nGk=",
282 "owner": "numtide",
283 "repo": "devshell",
284 "rev": "2d45b54ca4a183f2fdcf4b19c895b64fbf620ee8",
285 "type": "github"
286 },
287 "original": {
288 "owner": "numtide",
289 "repo": "devshell",
290 "type": "github"
291 }
292 },
293 "flake-compat": {
294 "locked": {
295 "lastModified": 1696426674,
296 "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
297 "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
298 "revCount": 57,
299 "type": "tarball",
300 "url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.0.1/018afb31-abd1-7bff-a5e4-cff7e18efb7a/source.tar.gz"
301 },
302 "original": {
303 "type": "tarball",
304 "url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"
305 }
306 },
307 "flake-compat_2": {
308 "locked": {
309 "lastModified": 1696426674,
310 "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
311 "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
312 "revCount": 57,
313 "type": "tarball",
314 "url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.0.1/018afb31-abd1-7bff-a5e4-cff7e18efb7a/source.tar.gz"
315 },
316 "original": {
317 "type": "tarball",
318 "url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"
319 }
320 },
321 "flake-compat_3": {
322 "locked": {
323 "lastModified": 1696426674,
324 "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
325 "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
326 "revCount": 57,
327 "type": "tarball",
328 "url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.0.1/018afb31-abd1-7bff-a5e4-cff7e18efb7a/source.tar.gz"
329 },
330 "original": {
331 "type": "tarball",
332 "url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"
333 }
334 },
335 "flake-parts": {
336 "inputs": {
337 "nixpkgs-lib": [
338 "niri",
339 "crate2nix",
340 "crate2nix_stable",
341 "crate2nix_stable",
342 "nixpkgs"
343 ]
344 },
345 "locked": {
346 "lastModified": 1719745305,
347 "narHash": "sha256-xwgjVUpqSviudEkpQnioeez1Uo2wzrsMaJKJClh+Bls=",
348 "owner": "hercules-ci",
349 "repo": "flake-parts",
350 "rev": "c3c5ecc05edc7dafba779c6c1a61cd08ac6583e9",
351 "type": "github"
352 },
353 "original": {
354 "owner": "hercules-ci",
355 "repo": "flake-parts",
356 "type": "github"
357 }
358 },
359 "flake-parts_2": {
360 "inputs": {
361 "nixpkgs-lib": [
362 "niri",
363 "crate2nix",
364 "crate2nix_stable",
365 "nixpkgs"
366 ]
367 },
368 "locked": {
369 "lastModified": 1719745305,
370 "narHash": "sha256-xwgjVUpqSviudEkpQnioeez1Uo2wzrsMaJKJClh+Bls=",
371 "owner": "hercules-ci",
372 "repo": "flake-parts",
373 "rev": "c3c5ecc05edc7dafba779c6c1a61cd08ac6583e9",
374 "type": "github"
375 },
376 "original": {
377 "owner": "hercules-ci",
378 "repo": "flake-parts",
379 "type": "github"
380 }
381 },
382 "flake-parts_3": {
383 "inputs": {
384 "nixpkgs-lib": [
385 "niri",
386 "crate2nix",
387 "nixpkgs"
388 ]
389 },
390 "locked": {
391 "lastModified": 1712014858,
392 "narHash": "sha256-sB4SWl2lX95bExY2gMFG5HIzvva5AVMJd4Igm+GpZNw=",
393 "owner": "hercules-ci",
394 "repo": "flake-parts",
395 "rev": "9126214d0a59633752a136528f5f3b9aa8565b7d",
396 "type": "github"
397 },
398 "original": {
399 "owner": "hercules-ci",
400 "repo": "flake-parts",
401 "type": "github"
402 }
403 },
404 "flake-parts_4": {
405 "inputs": {
406 "nixpkgs-lib": "nixpkgs-lib"
407 },
408 "locked": {
409 "lastModified": 1719994518,
410 "narHash": "sha256-pQMhCCHyQGRzdfAkdJ4cIWiw+JNuWsTX7f0ZYSyz0VY=",
411 "owner": "hercules-ci",
412 "repo": "flake-parts",
413 "rev": "9227223f6d922fee3c7b190b2cc238a99527bbb7",
414 "type": "github"
415 },
416 "original": {
417 "owner": "hercules-ci",
418 "repo": "flake-parts",
419 "type": "github"
420 }
421 },
422 "flake-utils": {
423 "inputs": {
424 "systems": "systems"
425 },
426 "locked": {
427 "lastModified": 1694529238,
428 "narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=",
429 "owner": "numtide",
430 "repo": "flake-utils",
431 "rev": "ff7b65b44d01cf9ba6a71320833626af21126384",
432 "type": "github"
433 },
434 "original": {
435 "owner": "numtide",
436 "repo": "flake-utils",
437 "type": "github"
438 }
439 },
440 "flake-utils_2": {
441 "inputs": {
442 "systems": "systems_2"
443 },
444 "locked": {
445 "lastModified": 1701680307,
446 "narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=",
447 "owner": "numtide",
448 "repo": "flake-utils",
449 "rev": "4022d587cbbfd70fe950c1e2083a02621806a725",
450 "type": "github"
451 },
452 "original": {
453 "owner": "numtide",
454 "repo": "flake-utils",
455 "type": "github"
456 }
457 },
458 "flake-utils_3": {
459 "inputs": {
460 "systems": "systems_3"
461 },
462 "locked": {
463 "lastModified": 1701680307,
464 "narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=",
465 "owner": "numtide",
466 "repo": "flake-utils",
467 "rev": "4022d587cbbfd70fe950c1e2083a02621806a725",
468 "type": "github"
469 },
470 "original": {
471 "owner": "numtide",
472 "repo": "flake-utils",
473 "type": "github"
474 }
475 },
476 "flake-utils_4": {
477 "inputs": {
478 "systems": "systems_4"
479 },
480 "locked": {
481 "lastModified": 1701680307,
482 "narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=",
483 "owner": "numtide",
484 "repo": "flake-utils",
485 "rev": "4022d587cbbfd70fe950c1e2083a02621806a725",
486 "type": "github"
487 },
488 "original": {
489 "owner": "numtide",
490 "repo": "flake-utils",
491 "type": "github"
492 }
493 },
494 "flake-utils_5": {
495 "inputs": {
496 "systems": "systems_5"
497 },
498 "locked": {
499 "lastModified": 1710146030,
500 "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
501 "owner": "numtide",
502 "repo": "flake-utils",
503 "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
504 "type": "github"
505 },
506 "original": {
507 "owner": "numtide",
508 "repo": "flake-utils",
509 "type": "github"
510 }
511 },
23 "flaresolverr": { 512 "flaresolverr": {
24 "inputs": { 513 "inputs": {
25 "flaresolverr-src": "flaresolverr-src", 514 "flaresolverr-src": "flaresolverr-src",
@@ -59,6 +548,78 @@
59 "type": "github" 548 "type": "github"
60 } 549 }
61 }, 550 },
551 "gitignore": {
552 "inputs": {
553 "nixpkgs": [
554 "niri",
555 "crate2nix",
556 "crate2nix_stable",
557 "crate2nix_stable",
558 "pre-commit-hooks",
559 "nixpkgs"
560 ]
561 },
562 "locked": {
563 "lastModified": 1709087332,
564 "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
565 "owner": "hercules-ci",
566 "repo": "gitignore.nix",
567 "rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
568 "type": "github"
569 },
570 "original": {
571 "owner": "hercules-ci",
572 "repo": "gitignore.nix",
573 "type": "github"
574 }
575 },
576 "gitignore_2": {
577 "inputs": {
578 "nixpkgs": [
579 "niri",
580 "crate2nix",
581 "crate2nix_stable",
582 "pre-commit-hooks",
583 "nixpkgs"
584 ]
585 },
586 "locked": {
587 "lastModified": 1709087332,
588 "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
589 "owner": "hercules-ci",
590 "repo": "gitignore.nix",
591 "rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
592 "type": "github"
593 },
594 "original": {
595 "owner": "hercules-ci",
596 "repo": "gitignore.nix",
597 "type": "github"
598 }
599 },
600 "gitignore_3": {
601 "inputs": {
602 "nixpkgs": [
603 "niri",
604 "crate2nix",
605 "pre-commit-hooks",
606 "nixpkgs"
607 ]
608 },
609 "locked": {
610 "lastModified": 1709087332,
611 "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
612 "owner": "hercules-ci",
613 "repo": "gitignore.nix",
614 "rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
615 "type": "github"
616 },
617 "original": {
618 "owner": "hercules-ci",
619 "repo": "gitignore.nix",
620 "type": "github"
621 }
622 },
62 "home-manager": { 623 "home-manager": {
63 "inputs": { 624 "inputs": {
64 "nixpkgs": [ 625 "nixpkgs": [
@@ -79,6 +640,113 @@
79 "type": "github" 640 "type": "github"
80 } 641 }
81 }, 642 },
643 "niri": {
644 "inputs": {
645 "crate2nix": "crate2nix",
646 "flake-parts": "flake-parts_4",
647 "niri-stable": "niri-stable",
648 "niri-unstable": "niri-unstable",
649 "nixpkgs": [
650 "nixpkgs"
651 ],
652 "nixpkgs-stable": "nixpkgs-stable",
653 "xwayland-satellite": "xwayland-satellite"
654 },
655 "locked": {
656 "lastModified": 1722439832,
657 "narHash": "sha256-apJSOgDnwoBalhFgouiF3qdkanvsruM9stvIumqiBVY=",
658 "owner": "sodiboo",
659 "repo": "niri-flake",
660 "rev": "d90774e6f2cebf9dff4a9e6a480ed9400205feeb",
661 "type": "github"
662 },
663 "original": {
664 "owner": "sodiboo",
665 "repo": "niri-flake",
666 "type": "github"
667 }
668 },
669 "niri-stable": {
670 "flake": false,
671 "locked": {
672 "lastModified": 1719642458,
673 "narHash": "sha256-EdlOGL9RdO77HnZxv2UpPwrJdFH8qPrPSRtkBBV167s=",
674 "owner": "YaLTeR",
675 "repo": "niri",
676 "rev": "e7c201abba6fedaa57001639810af3b6bd9b852e",
677 "type": "github"
678 },
679 "original": {
680 "owner": "YaLTeR",
681 "ref": "v0.1.7",
682 "repo": "niri",
683 "type": "github"
684 }
685 },
686 "niri-unstable": {
687 "flake": false,
688 "locked": {
689 "lastModified": 1722438035,
690 "narHash": "sha256-1OhvdSA5Ix1iIzgkpE13x33QVt7/teSL09aMaJFodJE=",
691 "owner": "YaLTeR",
692 "repo": "niri",
693 "rev": "9728dbeeac39142cf9bec5d288495b29094654ae",
694 "type": "github"
695 },
696 "original": {
697 "owner": "YaLTeR",
698 "repo": "niri",
699 "type": "github"
700 }
701 },
702 "nix-test-runner": {
703 "flake": false,
704 "locked": {
705 "lastModified": 1588761593,
706 "narHash": "sha256-FKJykltAN/g3eIceJl4SfDnnyuH2jHImhMrXS2KvGIs=",
707 "owner": "stoeffel",
708 "repo": "nix-test-runner",
709 "rev": "c45d45b11ecef3eb9d834c3b6304c05c49b06ca2",
710 "type": "github"
711 },
712 "original": {
713 "owner": "stoeffel",
714 "repo": "nix-test-runner",
715 "type": "github"
716 }
717 },
718 "nix-test-runner_2": {
719 "flake": false,
720 "locked": {
721 "lastModified": 1588761593,
722 "narHash": "sha256-FKJykltAN/g3eIceJl4SfDnnyuH2jHImhMrXS2KvGIs=",
723 "owner": "stoeffel",
724 "repo": "nix-test-runner",
725 "rev": "c45d45b11ecef3eb9d834c3b6304c05c49b06ca2",
726 "type": "github"
727 },
728 "original": {
729 "owner": "stoeffel",
730 "repo": "nix-test-runner",
731 "type": "github"
732 }
733 },
734 "nix-test-runner_3": {
735 "flake": false,
736 "locked": {
737 "lastModified": 1588761593,
738 "narHash": "sha256-FKJykltAN/g3eIceJl4SfDnnyuH2jHImhMrXS2KvGIs=",
739 "owner": "stoeffel",
740 "repo": "nix-test-runner",
741 "rev": "c45d45b11ecef3eb9d834c3b6304c05c49b06ca2",
742 "type": "github"
743 },
744 "original": {
745 "owner": "stoeffel",
746 "repo": "nix-test-runner",
747 "type": "github"
748 }
749 },
82 "nixos-hardware": { 750 "nixos-hardware": {
83 "locked": { 751 "locked": {
84 "lastModified": 1662714967, 752 "lastModified": 1662714967,
@@ -96,6 +764,122 @@
96 }, 764 },
97 "nixpkgs": { 765 "nixpkgs": {
98 "locked": { 766 "locked": {
767 "lastModified": 1700612854,
768 "narHash": "sha256-yrQ8osMD+vDLGFX7pcwsY/Qr5PUd6OmDMYJZzZi0+zc=",
769 "owner": "NixOS",
770 "repo": "nixpkgs",
771 "rev": "19cbff58383a4ae384dea4d1d0c823d72b49d614",
772 "type": "github"
773 },
774 "original": {
775 "owner": "NixOS",
776 "ref": "nixos-unstable",
777 "repo": "nixpkgs",
778 "type": "github"
779 }
780 },
781 "nixpkgs-lib": {
782 "locked": {
783 "lastModified": 1719876945,
784 "narHash": "sha256-Fm2rDDs86sHy0/1jxTOKB1118Q0O3Uc7EC0iXvXKpbI=",
785 "type": "tarball",
786 "url": "https://github.com/NixOS/nixpkgs/archive/5daf0514482af3f97abaefc78a6606365c9108e2.tar.gz"
787 },
788 "original": {
789 "type": "tarball",
790 "url": "https://github.com/NixOS/nixpkgs/archive/5daf0514482af3f97abaefc78a6606365c9108e2.tar.gz"
791 }
792 },
793 "nixpkgs-stable": {
794 "locked": {
795 "lastModified": 1722221733,
796 "narHash": "sha256-sga9SrrPb+pQJxG1ttJfMPheZvDOxApFfwXCFO0H9xw=",
797 "owner": "NixOS",
798 "repo": "nixpkgs",
799 "rev": "12bf09802d77264e441f48e25459c10c93eada2e",
800 "type": "github"
801 },
802 "original": {
803 "owner": "NixOS",
804 "ref": "nixos-24.05",
805 "repo": "nixpkgs",
806 "type": "github"
807 }
808 },
809 "nixpkgs_2": {
810 "locked": {
811 "lastModified": 1715534503,
812 "narHash": "sha256-5ZSVkFadZbFP1THataCaSf0JH2cAH3S29hU9rrxTEqk=",
813 "owner": "NixOS",
814 "repo": "nixpkgs",
815 "rev": "2057814051972fa1453ddfb0d98badbea9b83c06",
816 "type": "github"
817 },
818 "original": {
819 "owner": "NixOS",
820 "ref": "nixos-unstable",
821 "repo": "nixpkgs",
822 "type": "github"
823 }
824 },
825 "nixpkgs_3": {
826 "locked": {
827 "lastModified": 1715534503,
828 "narHash": "sha256-5ZSVkFadZbFP1THataCaSf0JH2cAH3S29hU9rrxTEqk=",
829 "owner": "NixOS",
830 "repo": "nixpkgs",
831 "rev": "2057814051972fa1453ddfb0d98badbea9b83c06",
832 "type": "github"
833 },
834 "original": {
835 "owner": "NixOS",
836 "ref": "nixos-unstable",
837 "repo": "nixpkgs",
838 "type": "github"
839 }
840 },
841 "nixpkgs_4": {
842 "locked": {
843 "lastModified": 1719506693,
844 "narHash": "sha256-C8e9S7RzshSdHB7L+v9I51af1gDM5unhJ2xO1ywxNH8=",
845 "path": "/nix/store/4p0avw1s3vf27hspgqsrqs37gxk4i83i-source",
846 "rev": "b2852eb9365c6de48ffb0dc2c9562591f652242a",
847 "type": "path"
848 },
849 "original": {
850 "id": "nixpkgs",
851 "type": "indirect"
852 }
853 },
854 "nixpkgs_5": {
855 "locked": {
856 "lastModified": 1719506693,
857 "narHash": "sha256-C8e9S7RzshSdHB7L+v9I51af1gDM5unhJ2xO1ywxNH8=",
858 "path": "/nix/store/4p0avw1s3vf27hspgqsrqs37gxk4i83i-source",
859 "rev": "b2852eb9365c6de48ffb0dc2c9562591f652242a",
860 "type": "path"
861 },
862 "original": {
863 "id": "nixpkgs",
864 "type": "indirect"
865 }
866 },
867 "nixpkgs_6": {
868 "locked": {
869 "lastModified": 1712026416,
870 "narHash": "sha256-N/3VR/9e1NlN49p7kCiATiEY6Tzdo+CbrAG8kqCQKcI=",
871 "owner": "NixOS",
872 "repo": "nixpkgs",
873 "rev": "080a4a27f206d07724b88da096e27ef63401a504",
874 "type": "github"
875 },
876 "original": {
877 "id": "nixpkgs",
878 "type": "indirect"
879 }
880 },
881 "nixpkgs_7": {
882 "locked": {
99 "lastModified": 1721622093, 883 "lastModified": 1721622093,
100 "narHash": "sha256-iQ+quy3A1EKeFyLyAtjhgSvZHH7r+xybXZkxMhasN4I=", 884 "narHash": "sha256-iQ+quy3A1EKeFyLyAtjhgSvZHH7r+xybXZkxMhasN4I=",
101 "owner": "NixOS", 885 "owner": "NixOS",
@@ -110,6 +894,115 @@
110 "type": "github" 894 "type": "github"
111 } 895 }
112 }, 896 },
897 "pre-commit-hooks": {
898 "inputs": {
899 "flake-compat": [
900 "niri",
901 "crate2nix",
902 "crate2nix_stable",
903 "crate2nix_stable",
904 "flake-compat"
905 ],
906 "gitignore": "gitignore",
907 "nixpkgs": [
908 "niri",
909 "crate2nix",
910 "crate2nix_stable",
911 "crate2nix_stable",
912 "nixpkgs"
913 ],
914 "nixpkgs-stable": [
915 "niri",
916 "crate2nix",
917 "crate2nix_stable",
918 "crate2nix_stable",
919 "nixpkgs"
920 ]
921 },
922 "locked": {
923 "lastModified": 1719259945,
924 "narHash": "sha256-F1h+XIsGKT9TkGO3omxDLEb/9jOOsI6NnzsXFsZhry4=",
925 "owner": "cachix",
926 "repo": "pre-commit-hooks.nix",
927 "rev": "0ff4381bbb8f7a52ca4a851660fc7a437a4c6e07",
928 "type": "github"
929 },
930 "original": {
931 "owner": "cachix",
932 "repo": "pre-commit-hooks.nix",
933 "type": "github"
934 }
935 },
936 "pre-commit-hooks_2": {
937 "inputs": {
938 "flake-compat": [
939 "niri",
940 "crate2nix",
941 "crate2nix_stable",
942 "flake-compat"
943 ],
944 "gitignore": "gitignore_2",
945 "nixpkgs": [
946 "niri",
947 "crate2nix",
948 "crate2nix_stable",
949 "nixpkgs"
950 ],
951 "nixpkgs-stable": [
952 "niri",
953 "crate2nix",
954 "crate2nix_stable",
955 "nixpkgs"
956 ]
957 },
958 "locked": {
959 "lastModified": 1719259945,
960 "narHash": "sha256-F1h+XIsGKT9TkGO3omxDLEb/9jOOsI6NnzsXFsZhry4=",
961 "owner": "cachix",
962 "repo": "pre-commit-hooks.nix",
963 "rev": "0ff4381bbb8f7a52ca4a851660fc7a437a4c6e07",
964 "type": "github"
965 },
966 "original": {
967 "owner": "cachix",
968 "repo": "pre-commit-hooks.nix",
969 "type": "github"
970 }
971 },
972 "pre-commit-hooks_3": {
973 "inputs": {
974 "flake-compat": [
975 "niri",
976 "crate2nix",
977 "flake-compat"
978 ],
979 "flake-utils": "flake-utils_5",
980 "gitignore": "gitignore_3",
981 "nixpkgs": [
982 "niri",
983 "crate2nix",
984 "nixpkgs"
985 ],
986 "nixpkgs-stable": [
987 "niri",
988 "crate2nix",
989 "nixpkgs"
990 ]
991 },
992 "locked": {
993 "lastModified": 1712055707,
994 "narHash": "sha256-4XLvuSIDZJGS17xEwSrNuJLL7UjDYKGJSbK1WWX2AK8=",
995 "owner": "cachix",
996 "repo": "pre-commit-hooks.nix",
997 "rev": "e35aed5fda3cc79f88ed7f1795021e559582093a",
998 "type": "github"
999 },
1000 "original": {
1001 "owner": "cachix",
1002 "repo": "pre-commit-hooks.nix",
1003 "type": "github"
1004 }
1005 },
113 "prompt": { 1006 "prompt": {
114 "inputs": { 1007 "inputs": {
115 "nixpkgs": [ 1008 "nixpkgs": [
@@ -135,12 +1028,88 @@
135 "better-text-objs": "better-text-objs", 1028 "better-text-objs": "better-text-objs",
136 "flaresolverr": "flaresolverr", 1029 "flaresolverr": "flaresolverr",
137 "home-manager": "home-manager", 1030 "home-manager": "home-manager",
1031 "niri": "niri",
138 "nixos-hardware": "nixos-hardware", 1032 "nixos-hardware": "nixos-hardware",
139 "nixpkgs": "nixpkgs", 1033 "nixpkgs": "nixpkgs_7",
140 "prompt": "prompt", 1034 "prompt": "prompt",
141 "vim-colors-plain": "vim-colors-plain" 1035 "vim-colors-plain": "vim-colors-plain"
142 } 1036 }
143 }, 1037 },
1038 "systems": {
1039 "locked": {
1040 "lastModified": 1681028828,
1041 "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
1042 "owner": "nix-systems",
1043 "repo": "default",
1044 "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
1045 "type": "github"
1046 },
1047 "original": {
1048 "owner": "nix-systems",
1049 "repo": "default",
1050 "type": "github"
1051 }
1052 },
1053 "systems_2": {
1054 "locked": {
1055 "lastModified": 1681028828,
1056 "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
1057 "owner": "nix-systems",
1058 "repo": "default",
1059 "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
1060 "type": "github"
1061 },
1062 "original": {
1063 "owner": "nix-systems",
1064 "repo": "default",
1065 "type": "github"
1066 }
1067 },
1068 "systems_3": {
1069 "locked": {
1070 "lastModified": 1681028828,
1071 "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
1072 "owner": "nix-systems",
1073 "repo": "default",
1074 "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
1075 "type": "github"
1076 },
1077 "original": {
1078 "owner": "nix-systems",
1079 "repo": "default",
1080 "type": "github"
1081 }
1082 },
1083 "systems_4": {
1084 "locked": {
1085 "lastModified": 1681028828,
1086 "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
1087 "owner": "nix-systems",
1088 "repo": "default",
1089 "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
1090 "type": "github"
1091 },
1092 "original": {
1093 "owner": "nix-systems",
1094 "repo": "default",
1095 "type": "github"
1096 }
1097 },
1098 "systems_5": {
1099 "locked": {
1100 "lastModified": 1681028828,
1101 "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
1102 "owner": "nix-systems",
1103 "repo": "default",
1104 "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
1105 "type": "github"
1106 },
1107 "original": {
1108 "owner": "nix-systems",
1109 "repo": "default",
1110 "type": "github"
1111 }
1112 },
144 "undetected-chromedriver-src": { 1113 "undetected-chromedriver-src": {
145 "flake": false, 1114 "flake": false,
146 "locked": { 1115 "locked": {
@@ -176,6 +1145,22 @@
176 "type": "git", 1145 "type": "git",
177 "url": "https://git.peppe.rs/vim/vim-colors-plain" 1146 "url": "https://git.peppe.rs/vim/vim-colors-plain"
178 } 1147 }
1148 },
1149 "xwayland-satellite": {
1150 "flake": false,
1151 "locked": {
1152 "lastModified": 1721687061,
1153 "narHash": "sha256-zk62B0tIf2SRNCeQnXxatq2gvjtaJ8xp3Hp9RB43xs0=",
1154 "owner": "Supreeeme",
1155 "repo": "xwayland-satellite",
1156 "rev": "8892570093948de16a50e06b1a7d6890405de7a1",
1157 "type": "github"
1158 },
1159 "original": {
1160 "owner": "Supreeeme",
1161 "repo": "xwayland-satellite",
1162 "type": "github"
1163 }
179 } 1164 }
180 }, 1165 },
181 "root": "root", 1166 "root": "root",
diff --git a/flake.nix b/flake.nix
index a781e59..a8a606f 100644
--- a/flake.nix
+++ b/flake.nix
@@ -2,12 +2,12 @@
2 description = "nerdypepper's nixos config"; 2 description = "nerdypepper's nixos config";
3 3
4 inputs = { 4 inputs = {
5 nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; 5 nixpkgs.url = github:NixOS/nixpkgs/nixpkgs-unstable;
6 6
7 nixos-hardware.url = "github:nixos/nixos-hardware"; 7 nixos-hardware.url = "github:nixos/nixos-hardware";
8 8
9 home-manager = { 9 home-manager = {
10 url = "github:nix-community/home-manager"; 10 url = github:nix-community/home-manager;
11 inputs.nixpkgs.follows = "nixpkgs"; 11 inputs.nixpkgs.follows = "nixpkgs";
12 }; 12 };
13 13
@@ -31,6 +31,11 @@
31 inputs.nixpkgs.follows = "nixpkgs"; 31 inputs.nixpkgs.follows = "nixpkgs";
32 }; 32 };
33 33
34 niri = {
35 url = github:sodiboo/niri-flake;
36 inputs.nixpkgs.follows = "nixpkgs";
37 };
38
34 }; 39 };
35 40
36 outputs = 41 outputs =
@@ -42,6 +47,7 @@
42 , better-text-objs 47 , better-text-objs
43 , vim-colors-plain 48 , vim-colors-plain
44 , flaresolverr 49 , flaresolverr
50 , niri
45 , ... 51 , ...
46 } @ inputs: { 52 } @ inputs: {
47 53
@@ -51,6 +57,7 @@
51 better-text-objs = better-text-objs.overlay; 57 better-text-objs = better-text-objs.overlay;
52 vim-colors-plain = vim-colors-plain.overlay; 58 vim-colors-plain = vim-colors-plain.overlay;
53 flaresolverr = flaresolverr.overlays.default; 59 flaresolverr = flaresolverr.overlays.default;
60 niri = niri.overlays.niri;
54 }; 61 };
55 62
56 formatter."x86_64-linux" = nixpkgs.legacyPackages."x86_64-linux".nixpkgs-fmt; 63 formatter."x86_64-linux" = nixpkgs.legacyPackages."x86_64-linux".nixpkgs-fmt;
@@ -101,6 +108,7 @@
101 _module.args.font = import ./font.nix; 108 _module.args.font = import ./font.nix;
102 }; 109 };
103 } 110 }
111 niri.nixosModules.niri
104 ]; 112 ];
105 }; 113 };
106 114
diff --git a/scripts/default.nix b/scripts/default.nix
index c7a485c..59b1ca5 100644
--- a/scripts/default.nix
+++ b/scripts/default.nix
@@ -64,6 +64,11 @@ let
64 ${pkgs.xorg.xinput}/bin/xinput set-prop "${touchscreen}" --type=float "Coordinate Transformation Matrix" ${portait-transform} 64 ${pkgs.xorg.xinput}/bin/xinput set-prop "${touchscreen}" --type=float "Coordinate Transformation Matrix" ${portait-transform}
65 ${pkgs.xorg.xinput}/bin/xinput set-prop "${stylus}" --type=float "Coordinate Transformation Matrix" ${portait-transform} 65 ${pkgs.xorg.xinput}/bin/xinput set-prop "${stylus}" --type=float "Coordinate Transformation Matrix" ${portait-transform}
66 ''; 66 '';
67 portrait2 = pkgs.writeScriptBin "portrait2" ''
68 ${pkgs.xorg.xrandr}/bin/xrandr -o right
69 ${pkgs.xorg.xinput}/bin/xinput set-prop "${touchscreen}" --type=float "Coordinate Transformation Matrix" ${portait-transform}
70 ${pkgs.xorg.xinput}/bin/xinput set-prop "${stylus}" --type=float "Coordinate Transformation Matrix" ${portait-transform}
71 '';
67 landscape = pkgs.writeScriptBin "landscape" '' 72 landscape = pkgs.writeScriptBin "landscape" ''
68 ${pkgs.xorg.xrandr}/bin/xrandr -o normal 73 ${pkgs.xorg.xrandr}/bin/xrandr -o normal
69 ${pkgs.xorg.xinput}/bin/xinput set-prop "${touchscreen}" --type=float "Coordinate Transformation Matrix" ${landscape-transform} 74 ${pkgs.xorg.xinput}/bin/xinput set-prop "${touchscreen}" --type=float "Coordinate Transformation Matrix" ${landscape-transform}
@@ -82,6 +87,7 @@ in
82 battery 87 battery
83 tmux-fzf 88 tmux-fzf
84 portrait 89 portrait
90 portrait2
85 landscape 91 landscape
86 nvidia-offload 92 nvidia-offload
87 m2m 93 m2m
diff --git a/services/default.nix b/services/default.nix
index bef7c85..a45f53a 100644
--- a/services/default.nix
+++ b/services/default.nix
@@ -1,6 +1,7 @@
1{ config 1{ config
2, pkgs 2, pkgs
3, theme 3, theme
4, font
4, ... 5, ...
5}: 6}:
6 7
@@ -24,5 +25,4 @@
24 pinentryPackage = pkgs.pinentry-tty; 25 pinentryPackage = pkgs.pinentry-tty;
25 }; 26 };
26 }; 27 };
27
28} 28}
diff --git a/services/sxhkd.nix b/services/sxhkd.nix
index b1fc55c..58b8340 100644
--- a/services/sxhkd.nix
+++ b/services/sxhkd.nix
@@ -19,21 +19,21 @@ in
19{ 19{
20 services.sxhkd = { 20 services.sxhkd = {
21 enable = true; 21 enable = true;
22 keybindings = 22 keybindings =
23 let 23 let
24 vol_up ="${volume}/bin/volume sset Master 2%+"; 24 vol_up = "${volume}/bin/volume sset Master 2%+";
25 vol_down ="${volume}/bin/volume sset Master 2%-"; 25 vol_down = "${volume}/bin/volume sset Master 2%-";
26 in 26 in
27 { 27 {
28 "super + slash" = "${pkgs.light}/bin/light -A 2"; 28 "super + slash" = "${pkgs.light}/bin/light -A 2";
29 "super + shift + slash" = "${pkgs.light}/bin/light -U 2"; 29 "super + shift + slash" = "${pkgs.light}/bin/light -U 2";
30 "super + semicolon" = vol_up; 30 "super + semicolon" = vol_up;
31 "super + shift + semicolon" = vol_down; 31 "super + shift + semicolon" = vol_down;
32 "XF86AudioRaiseVolume" = vol_up; 32 "XF86AudioRaiseVolume" = vol_up;
33 "XF86AudioLowerVolume" = vol_down; 33 "XF86AudioLowerVolume" = vol_down;
34 "super + ctrl + space" = "${pkgs.dunst}/bin/dunstctl close"; 34 "super + ctrl + space" = "${pkgs.dunst}/bin/dunstctl close";
35 "super + shift + space" = "${pkgs.dunst}/bin/dunstctl history-pop"; 35 "super + shift + space" = "${pkgs.dunst}/bin/dunstctl history-pop";
36 "super + ctrl + shift + space" = "${pkgs.dunst}/bin/dunstctl close-all"; 36 "super + ctrl + shift + space" = "${pkgs.dunst}/bin/dunstctl close-all";
37 }; 37 };
38 }; 38 };
39} 39}
diff --git a/theme/default.nix b/theme/default.nix
index b3af086..7c67057 100644
--- a/theme/default.nix
+++ b/theme/default.nix
@@ -3,4 +3,4 @@ let
3 night = import ./night.nix; 3 night = import ./night.nix;
4 gruvbox = import ./gruvbox.nix; 4 gruvbox = import ./gruvbox.nix;
5in 5in
6night 6day
diff --git a/x/default.nix b/x/default.nix
index 0b48175..d262ce7 100644
--- a/x/default.nix
+++ b/x/default.nix
@@ -9,6 +9,6 @@
9 ./2bwm.nix 9 ./2bwm.nix
10 ./xft.nix 10 ./xft.nix
11 ./rxvt.nix 11 ./rxvt.nix
12 ./xlock.nix 12 # ./xlock.nix
13 ]; 13 ];
14} 14}
diff --git a/x/rxvt.nix b/x/rxvt.nix
index b5401ab..98f2ab7 100644
--- a/x/rxvt.nix
+++ b/x/rxvt.nix
@@ -31,9 +31,9 @@ with theme;
31 "*color15" = base07; 31 "*color15" = base07;
32 32
33 "*.cursorBlink" = "on"; 33 "*.cursorBlink" = "on";
34 "URxvt.font" = "xft:${font.name}:size=11:style=Medium"; 34 "URxvt.font" = "xft:scientifica:size=11:style=Medium";
35 "URxvt.italicFont" = "xft:${font.name}:size=11:style=Medium"; 35 "URxvt.italicFont" = "xft:scientifica:size=11:style=Medium";
36 "URxvt.boldFont" = "xft:${font.name}:size=11:style=Medium"; 36 "URxvt.boldFont" = "xft:scientifica:size=11:style=Medium";
37 "*font" = "${font.name}:size=11:style=Regular"; 37 "*font" = "${font.name}:size=11:style=Regular";
38 "*italicFont" = "${font.name}:size=11:style=Italic"; 38 "*italicFont" = "${font.name}:size=11:style=Italic";
39 "*boldFont" = "${font.name}:size=11:style=Bold"; 39 "*boldFont" = "${font.name}:size=11:style=Bold";
diff --git a/x/xft.nix b/x/xft.nix
index 32a1957..e4479e1 100644
--- a/x/xft.nix
+++ b/x/xft.nix
@@ -11,6 +11,6 @@
11 "Xft.hintstyle" = "hintslight"; 11 "Xft.hintstyle" = "hintslight";
12 "Xft.hinting" = true; 12 "Xft.hinting" = true;
13 "Xft.rgba" = "rgb"; 13 "Xft.rgba" = "rgb";
14 "Xft.dpi" = 192; 14 # "Xft.dpi" = 96;
15 }; 15 };
16} 16}