tangled
alpha
login
or
join now
hyl.st
/
helm
2
fork
atom
nix config
2
fork
atom
overview
issues
pulls
pipelines
all: welcome to 23.05
Anish Lakhwara
2 years ago
e352f951
d3a469a3
+182
-192
20 changed files
expand all
collapse all
unified
split
flake.lock
flake.nix
home
profiles
desktop
default.nix
polybar
config
hosts
box
configuration.nix
cube
configuration.nix
curve
configuration.nix
helix
configuration.nix
lituus
configuration.nix
profiles
core
default.nix
desktop
default.nix
gitea
default.nix
gonic
default.nix
kuberenetes
default.nix
monitoring
default.nix
music
default.nix
server
default.nix
users
anish
default.nix
modules
nixos
default.nix
gonic.nix
+113
-93
flake.lock
···
3
3
"agenix": {
4
4
"inputs": {
5
5
"darwin": "darwin",
6
6
+
"home-manager": "home-manager",
6
7
"nixpkgs": [
7
8
"nixpkgs"
8
9
]
9
10
},
10
11
"locked": {
11
11
-
"lastModified": 1677126346,
12
12
-
"narHash": "sha256-4s+PPGC1M07QsPyeye5drc2JLa1lhDnCV3XAsG8+pH4=",
12
12
+
"lastModified": 1690228878,
13
13
+
"narHash": "sha256-9Xe7JV0krp4RJC9W9W9WutZVlw6BlHTFMiUP/k48LQY=",
13
14
"owner": "ryantm",
14
15
"repo": "agenix",
15
15
-
"rev": "c2a71c83c70844c5e31db69347e86af080bcdad0",
16
16
+
"rev": "d8c973fd228949736dedf61b7f8cc1ece3236792",
16
17
"type": "github"
17
18
},
18
19
"original": {
···
77
78
"utils": "utils"
78
79
},
79
80
"locked": {
80
80
-
"lastModified": 1683779844,
81
81
-
"narHash": "sha256-sIeOU0GsCeQEn5TpqE/jFRN4EGsPsjqVRsPdrzIDABM=",
81
81
+
"lastModified": 1686747123,
82
82
+
"narHash": "sha256-XUQK9kwHpTeilHoad7L4LjMCCyY13Oq383CoFADecRE=",
82
83
"owner": "serokell",
83
84
"repo": "deploy-rs",
84
84
-
"rev": "c80189917086e43d49eece2bd86f56813500a0eb",
85
85
+
"rev": "724463b5a94daa810abfc64a4f87faef4e00f984",
85
86
"type": "github"
86
87
},
87
88
"original": {
···
129
130
]
130
131
},
131
132
"locked": {
132
132
-
"lastModified": 1684783210,
133
133
-
"narHash": "sha256-hxRbwwBTu1G1u1EdI9nEo/n4HIsQIfNi+2BQ1nEoj/o=",
133
133
+
"lastModified": 1690739034,
134
134
+
"narHash": "sha256-roW02IaiQ3gnEEDMCDWL5YyN+C4nBf/te6vfL7rG0jk=",
134
135
"owner": "nix-community",
135
136
"repo": "disko",
136
136
-
"rev": "f0b9f374bb42fdcd57baa7d4448ac5d4788226bd",
137
137
+
"rev": "4015740375676402a2ee6adebc3c30ea625b9a94",
137
138
"type": "github"
138
139
},
139
140
"original": {
···
153
154
]
154
155
},
155
156
"locked": {
156
156
-
"lastModified": 1672946489,
157
157
-
"narHash": "sha256-IliWerC9qk4MxYNRoe/8uuQZkqjPJPsph46fmVBvo9U=",
157
157
+
"lastModified": 1690660426,
158
158
+
"narHash": "sha256-YUuH1BZ3G5dhHRZ1Z9XPXyorm8vV8G+jYbcdIGxOcOs=",
158
159
"owner": "elkowar",
159
160
"repo": "eww",
160
160
-
"rev": "6a64a286291456984011c4fb160def106ee55dff",
161
161
+
"rev": "dc3129aee2806823bdad87785f7ef80651d5245c",
161
162
"type": "github"
162
163
},
163
164
"original": {
···
245
246
}
246
247
},
247
248
"flake-utils_3": {
249
249
+
"inputs": {
250
250
+
"systems": "systems"
251
251
+
},
248
252
"locked": {
249
249
-
"lastModified": 1676283394,
250
250
-
"narHash": "sha256-XX2f9c3iySLCw54rJ/CZs+ZK6IQy7GXNY4nSOyu2QG4=",
253
253
+
"lastModified": 1685518550,
254
254
+
"narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=",
251
255
"owner": "numtide",
252
256
"repo": "flake-utils",
253
253
-
"rev": "3db36a8b464d0c4532ba1c7dda728f4576d6d073",
257
257
+
"rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef",
254
258
"type": "github"
255
259
},
256
260
"original": {
···
260
264
}
261
265
},
262
266
"flake-utils_4": {
267
267
+
"inputs": {
268
268
+
"systems": "systems_2"
269
269
+
},
263
270
"locked": {
264
264
-
"lastModified": 1659877975,
265
265
-
"narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=",
271
271
+
"lastModified": 1681202837,
272
272
+
"narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=",
266
273
"owner": "numtide",
267
274
"repo": "flake-utils",
268
268
-
"rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0",
275
275
+
"rev": "cfacdce06f30d2b68473a46042957675eebb3401",
269
276
"type": "github"
270
277
},
271
278
"original": {
···
298
305
},
299
306
"hardware": {
300
307
"locked": {
301
301
-
"lastModified": 1677232326,
302
302
-
"narHash": "sha256-rAk2/80kLvA3yIMmSV86T1B4kNvwCFMSQ1FxXndaUB0=",
308
308
+
"lastModified": 1691179816,
309
309
+
"narHash": "sha256-WSMwqzU70ZMRHv1CUAfHEEKJuB0c9c9r0F+lJehXfSI=",
303
310
"owner": "nixos",
304
311
"repo": "nixos-hardware",
305
305
-
"rev": "2d44015779cced4eec9df5b8dab238b9f6312cb2",
312
312
+
"rev": "87e3122b67587492a617764f88c71991893fcf8a",
306
313
"type": "github"
307
314
},
308
315
"original": {
···
314
321
"home-manager": {
315
322
"inputs": {
316
323
"nixpkgs": [
324
324
+
"agenix",
317
325
"nixpkgs"
318
318
-
],
319
319
-
"utils": "utils_2"
326
326
+
]
327
327
+
},
328
328
+
"locked": {
329
329
+
"lastModified": 1682203081,
330
330
+
"narHash": "sha256-kRL4ejWDhi0zph/FpebFYhzqlOBrk0Pl3dzGEKSAlEw=",
331
331
+
"owner": "nix-community",
332
332
+
"repo": "home-manager",
333
333
+
"rev": "32d3e39c491e2f91152c84f8ad8b003420eab0a1",
334
334
+
"type": "github"
335
335
+
},
336
336
+
"original": {
337
337
+
"owner": "nix-community",
338
338
+
"repo": "home-manager",
339
339
+
"type": "github"
340
340
+
}
341
341
+
},
342
342
+
"home-manager_2": {
343
343
+
"inputs": {
344
344
+
"nixpkgs": [
345
345
+
"nixpkgs"
346
346
+
]
320
347
},
321
348
"locked": {
322
322
-
"lastModified": 1677104801,
323
323
-
"narHash": "sha256-2V5nKOYVFMYlseYdDKiEaww2xqcE0GtS1ax3SoUX99I=",
349
349
+
"lastModified": 1687871164,
350
350
+
"narHash": "sha256-bBFlPthuYX322xOlpJvkjUBz0C+MOBjZdDOOJJ+G2jU=",
324
351
"owner": "nix-community",
325
352
"repo": "home-manager",
326
326
-
"rev": "4295fdfa6b0005c32f2e1f0b732faf5810c1bc7f",
353
353
+
"rev": "07c347bb50994691d7b0095f45ebd8838cf6bc38",
327
354
"type": "github"
328
355
},
329
356
"original": {
330
357
"owner": "nix-community",
358
358
+
"ref": "release-23.05",
331
359
"repo": "home-manager",
332
360
"type": "github"
333
361
}
···
340
368
]
341
369
},
342
370
"locked": {
343
343
-
"lastModified": 1681311976,
344
344
-
"narHash": "sha256-vxtBq4PeYkRWML6IJhbhDhdyBfaLSzCg1rNu2ozuPAk=",
371
371
+
"lastModified": 1691180171,
372
372
+
"narHash": "sha256-ZmSRPACkLlPWtKfux9o+FB0mXZbINowyb0057ouAL/0=",
345
373
"owner": "ggerganov",
346
374
"repo": "llama.cpp",
347
347
-
"rev": "e7f6997f897a18b6372a6460e25c5f89e1469f1d",
375
375
+
"rev": "332311234a0aa2974b2450710e22e09d90dd6b0b",
348
376
"type": "github"
349
377
},
350
378
"original": {
···
361
389
"nixpkgs": "nixpkgs"
362
390
},
363
391
"locked": {
364
364
-
"lastModified": 1663958238,
365
365
-
"narHash": "sha256-l4VrBCswq500YwsgjK7M8HUmnVWrHYY7DKZ7uZK5Abg=",
392
392
+
"lastModified": 1683490239,
393
393
+
"narHash": "sha256-QKzpvl2XrqbobWq/I/smDa9hEniwctjJybXPVILHP0w=",
366
394
"owner": "coffeetables",
367
395
"repo": "nix-matrix-appservices",
368
368
-
"rev": "efdc09f26e3b01801edaa3b0e2bdd46d9d133bba",
396
396
+
"rev": "e795d2fbc61da45d49802bb3e8f8d0c70ddc1e68",
369
397
"type": "gitlab"
370
398
},
371
399
"original": {
···
391
419
},
392
420
"nixos-hardware": {
393
421
"locked": {
394
394
-
"lastModified": 1677232326,
395
395
-
"narHash": "sha256-rAk2/80kLvA3yIMmSV86T1B4kNvwCFMSQ1FxXndaUB0=",
422
422
+
"lastModified": 1691179816,
423
423
+
"narHash": "sha256-WSMwqzU70ZMRHv1CUAfHEEKJuB0c9c9r0F+lJehXfSI=",
396
424
"owner": "NixOS",
397
425
"repo": "nixos-hardware",
398
398
-
"rev": "2d44015779cced4eec9df5b8dab238b9f6312cb2",
426
426
+
"rev": "87e3122b67587492a617764f88c71991893fcf8a",
399
427
"type": "github"
400
428
},
401
429
"original": {
···
423
451
},
424
452
"nixpkgs_2": {
425
453
"locked": {
426
426
-
"lastModified": 1677075010,
427
427
-
"narHash": "sha256-X+UmR1AkdR//lPVcShmLy8p1n857IGf7y+cyCArp8bU=",
454
454
+
"lastModified": 1691155011,
455
455
+
"narHash": "sha256-O15tC0ysw+fcacEbOzrDrkVNIR+SgtArSGvpgsEqpvA=",
428
456
"owner": "nixos",
429
457
"repo": "nixpkgs",
430
430
-
"rev": "c95bf18beba4290af25c60cbaaceea1110d0f727",
458
458
+
"rev": "9652a97d9738d3e65cf33c0bc24429e495a7868f",
431
459
"type": "github"
432
460
},
433
461
"original": {
434
462
"owner": "nixos",
435
435
-
"ref": "nixos-22.11",
463
463
+
"ref": "nixos-23.05",
436
464
"repo": "nixpkgs",
437
465
"type": "github"
438
466
}
439
467
},
440
468
"nur": {
441
469
"locked": {
442
442
-
"lastModified": 1677243766,
443
443
-
"narHash": "sha256-a+2V68cLjb951pYBEGbQGEVBcgti40uWtxTVnzvGFhY=",
470
470
+
"lastModified": 1691214006,
471
471
+
"narHash": "sha256-kdfBd+Y0DTOOdgSA6h6iIn403xVj4bzLnXqb7+yM6lQ=",
444
472
"owner": "nix-community",
445
473
"repo": "NUR",
446
446
-
"rev": "9bde3171aeb5954b7955fcb09b231f53caf76b54",
474
474
+
"rev": "963ad2d1bb0a8f59b2c23ab521d4dff2148aad16",
447
475
"type": "github"
448
476
},
449
477
"original": {
···
456
484
"inputs": {
457
485
"nixpkgs": [
458
486
"nixpkgs"
459
459
-
],
460
460
-
"vimwiki-cli": "vimwiki-cli"
487
487
+
]
461
488
},
462
489
"locked": {
463
463
-
"lastModified": 1684565989,
464
464
-
"narHash": "sha256-sz80CLeeJ3+o1GT2ruBd7jjhN8qaraXA7SCUulg99mM=",
490
490
+
"lastModified": 1691215224,
491
491
+
"narHash": "sha256-sajUJsMFxIVUiDUxbRdukGy650lDLmUQG6FUOuzLs+A=",
465
492
"ref": "main",
466
466
-
"rev": "ab56f9f23502475e6d88785155023a80dc2bda4f",
467
467
-
"revCount": 716,
493
493
+
"rev": "cb1c91802c74065cf9b8ecb35e14fb75d896bc39",
494
494
+
"revCount": 943,
468
495
"type": "git",
469
496
"url": "ssh://gitea@git.sealight.xyz/aynish/kitaab"
470
497
},
···
483
510
"eww": "eww",
484
511
"grasp": "grasp",
485
512
"hardware": "hardware",
486
486
-
"home-manager": "home-manager",
513
513
+
"home-manager": "home-manager_2",
487
514
"llamacpp": "llamacpp",
488
515
"nix-matrix-appservices": "nix-matrix-appservices",
489
516
"nixos-hardware": "nixos-hardware",
···
504
531
]
505
532
},
506
533
"locked": {
507
507
-
"lastModified": 1677205778,
508
508
-
"narHash": "sha256-DFe09uzS+8LjGBAAyHkB/5Axs0j/PQ8RLWFzm2FUZLA=",
534
534
+
"lastModified": 1691201768,
535
535
+
"narHash": "sha256-h+QJMpawZoK1+8efF6UjQoY1EHZfHteXVa5OYnlqRWA=",
509
536
"owner": "oxalica",
510
537
"repo": "rust-overlay",
511
511
-
"rev": "b91706f9d5a68fecf97b63753da8e9670dff782b",
538
538
+
"rev": "18ee2a71de24273e4ad4503b5604532f0b53f382",
512
539
"type": "github"
513
540
},
514
541
"original": {
···
534
561
"type": "github"
535
562
}
536
563
},
564
564
+
"systems": {
565
565
+
"locked": {
566
566
+
"lastModified": 1681028828,
567
567
+
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
568
568
+
"owner": "nix-systems",
569
569
+
"repo": "default",
570
570
+
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
571
571
+
"type": "github"
572
572
+
},
573
573
+
"original": {
574
574
+
"owner": "nix-systems",
575
575
+
"repo": "default",
576
576
+
"type": "github"
577
577
+
}
578
578
+
},
579
579
+
"systems_2": {
580
580
+
"locked": {
581
581
+
"lastModified": 1681028828,
582
582
+
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
583
583
+
"owner": "nix-systems",
584
584
+
"repo": "default",
585
585
+
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
586
586
+
"type": "github"
587
587
+
},
588
588
+
"original": {
589
589
+
"owner": "nix-systems",
590
590
+
"repo": "default",
591
591
+
"type": "github"
592
592
+
}
593
593
+
},
537
594
"tidal-src": {
538
595
"flake": false,
539
596
"locked": {
···
559
616
],
560
617
"superdirt-src": "superdirt-src",
561
618
"tidal-src": "tidal-src",
562
562
-
"utils": "utils_3",
619
619
+
"utils": "utils_2",
563
620
"vim-tidal-src": "vim-tidal-src",
564
621
"vowel-src": "vowel-src"
565
622
},
···
579
636
},
580
637
"unstable": {
581
638
"locked": {
582
582
-
"lastModified": 1682268651,
583
583
-
"narHash": "sha256-2eZriMhnD24Pmb8ideZWZDiXaAVe6LzJrHQiNPck+Lk=",
639
639
+
"lastModified": 1691186842,
640
640
+
"narHash": "sha256-wxBVCvZUwq+XS4N4t9NqsHV4E64cPVqQ2fdDISpjcw0=",
584
641
"owner": "nixos",
585
642
"repo": "nixpkgs",
586
586
-
"rev": "e78d25df6f1036b3fa76750ed4603dd9d5fe90fc",
643
643
+
"rev": "18036c0be90f4e308ae3ebcab0e14aae0336fe42",
587
644
"type": "github"
588
645
},
589
646
"original": {
···
610
667
},
611
668
"utils_2": {
612
669
"locked": {
613
613
-
"lastModified": 1667395993,
614
614
-
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
615
615
-
"owner": "numtide",
616
616
-
"repo": "flake-utils",
617
617
-
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
618
618
-
"type": "github"
619
619
-
},
620
620
-
"original": {
621
621
-
"owner": "numtide",
622
622
-
"repo": "flake-utils",
623
623
-
"type": "github"
624
624
-
}
625
625
-
},
626
626
-
"utils_3": {
627
627
-
"locked": {
628
670
"lastModified": 1653893745,
629
671
"narHash": "sha256-0jntwV3Z8//YwuOjzhV2sgJJPt+HY6KhU7VZUL0fKZQ=",
630
672
"owner": "numtide",
···
653
695
"ref": "master",
654
696
"repo": "vim-tidal",
655
697
"type": "github"
656
656
-
}
657
657
-
},
658
658
-
"vimwiki-cli": {
659
659
-
"inputs": {
660
660
-
"nixpkgs": [
661
661
-
"poonam",
662
662
-
"nixpkgs"
663
663
-
]
664
664
-
},
665
665
-
"locked": {
666
666
-
"lastModified": 1662448409,
667
667
-
"narHash": "sha256-Xd8CuFcEpEQK/TjNBXcp1HqPJCc7LwkMqKa1WiAP1Zc=",
668
668
-
"ref": "main",
669
669
-
"rev": "a73c4695cf116c2e8194a5caa837c2f9e1a7e2fb",
670
670
-
"revCount": 7,
671
671
-
"type": "git",
672
672
-
"url": "ssh://gitea@git.sealight.xyz/aynish/vimwiki-cli"
673
673
-
},
674
674
-
"original": {
675
675
-
"ref": "main",
676
676
-
"type": "git",
677
677
-
"url": "ssh://gitea@git.sealight.xyz/aynish/vimwiki-cli"
678
698
}
679
699
},
680
700
"vimwikicli": {
+3
-4
flake.nix
···
3
3
4
4
inputs = {
5
5
# Nixpkgs
6
6
-
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
6
6
+
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
7
7
unstable.url = "github:nixos/nixpkgs/nixos-unstable";
8
8
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
9
9
10
10
# Home manager
11
11
-
home-manager.url = "github:nix-community/home-manager";
11
11
+
home-manager.url = "github:nix-community/home-manager/release-23.05";
12
12
home-manager.inputs.nixpkgs.follows = "nixpkgs";
13
13
hardware.url = "github:nixos/nixos-hardware";
14
14
···
233
233
agenix.nixosModules.age
234
234
self.nixosModules.backup
235
235
self.nixosModules.wireguard
236
236
-
self.nixosModules.wallabag
237
236
self.nixosModules.gonic
237
237
+
self.nixosModules.wallabag
238
238
self.nixosModules.ulogger-server
239
239
-
self.nixosModules.photoprism
240
239
grasp.nixosModule
241
240
home-manager.nixosModules.home-manager
242
241
{
+13
-2
home/profiles/desktop/default.nix
···
33
33
termpdfpy
34
34
];
35
35
36
36
+
# GTK4 color scheme?
37
37
+
dconf.settings = {
38
38
+
"org/gnome/desktop/interface" = {
39
39
+
color-scheme = "prefer-dark";
40
40
+
};
41
41
+
};
42
42
+
36
43
# Move required config files around
37
44
xdg.enable = true; # This doesn't seem to do anything so we have below
38
45
xdg.configHome = "/home/anish/.config"; # TODO bad hardcode
···
58
65
".config/kitty/ayu.conf".source = ./ayu-kitty.conf;
59
66
".config/zathura/zathurarc".source = ./zathurarc;
60
67
".background-image".source = ./background.jpg;
68
68
+
#gtk4 theme
69
69
+
".config/gtk-4.0/settings.ini".text = ''
70
70
+
[Settings]
71
71
+
gtk-application-prefer-dark-theme=1
72
72
+
'';
61
73
# gtk3 theme
62
74
".config/gtk-3.0/settings.ini".text = ''
63
75
[Settings]
···
65
77
gtk-icon-theme-name=Paper
66
78
gtk-cursor-theme-name=Capitaine Cursors - White
67
79
gtk-fallback-icon-theme=gnome
68
68
-
gtk-application-prefer-dark-theme=true
80
80
+
gtk-application-prefer-dark-theme=1
69
81
gtk-xft-hinting=1
70
82
gtk-xft-hintstyle=hintfull
71
83
gtk-xft-rgba=none
···
76
88
gtk-icon-theme-name=Capitaine Cursors - White
77
89
gtk-font-name="Sans 10"
78
90
'';
79
79
-
# TODO hardcoded
80
91
".local/bin/passmenu".source = ./bin/passmenu;
81
92
".local/bin/paste".source = ./bin/paste;
82
93
".local/bin/bluetoothmenu".source = ./bin/bluetoothmenu;
+20
-54
home/profiles/desktop/polybar/config
···
34
34
width = 100%
35
35
height = 34
36
36
37
37
-
offset-x =
38
38
-
offset-y =
39
39
-
40
37
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
41
38
background = ${colors.bg}
42
39
···
49
46
; Number of spaces to add at the beginning/end of the bar
50
47
; Individual side values can be defined using:
51
48
; padding-{left,right}
52
52
-
padding-right = 1
49
49
+
padding-right = 1
53
50
padding-left = 0
54
51
55
52
; Number of spaces to add before/after each module
···
58
55
module-margin = 0
59
56
margin-bottom = 34
60
57
61
61
-
font-0 = "Iosevka Term:pixelsize=13;4"
62
62
-
font-1 = "Iosevka Term:pixelsize=6;1"
63
63
-
font-2 = "Fira Code:pixelsize=13;2"
58
58
+
font-0 = "Iosevka Nerd Font,Iosevka NF:pixelsize=12;4"
59
59
+
font-1 = "Iosevka Nerd Font,Iosevka NF:pixelsize=6;1"
60
60
+
font-2 = "FiraCode Nerd Font:pixelsize=12;2"
64
61
font-3 = "Siji:pixelsize=8;2"
65
62
66
63
; Add module mpd for artist - title info
67
64
modules-left = bspwm sps volume
68
68
-
modules-center = title
65
65
+
; modules-center = title
69
66
modules-right = wireless-network sps battery sps memory sps cpu sps date
70
67
71
68
; The separator will be inserted between the output of each module
···
116
113
pin-workspaces = true
117
114
enable-click = true
118
115
119
119
-
ws-icon-0 = 1;%{T1}%{T-}
120
120
-
ws-icon-1 = 2;%{T1}%{T-}
121
121
-
ws-icon-2 = 3;%{T1}%{T-}
122
122
-
ws-icon-3 = 4;%{T1}%{T-}
123
123
-
ws-icon-4 = 5;%{T1}%{T-}
116
116
+
ws-icon-0 = 1;%{T1} %{T-}
117
117
+
ws-icon-1 = 2;%{T1} %{T-}
118
118
+
ws-icon-2 = 3;%{T1} %{T-}
119
119
+
ws-icon-3 = 4;%{T1} %{T-}
120
120
+
ws-icon-4 = 5;%{T1} %{T-}
124
121
ws-icon-default =
125
122
; fuzzy-match = true
126
123
···
157
154
158
155
; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
159
156
; NOTE: if you want to use syntax tags here you need to use %%{...}
160
160
-
date = %{T1}%{T-}%{T2} %d/%a%{T-}
157
157
+
date = %{T1} %{T-}%{T2} %d/%a%{T-}
161
158
162
159
; Optional time format
163
160
time = %{T2} %H:%M%{T-}
164
161
165
162
; if `date-alt` or `time-alt` is defined, clicking
166
163
; the module will toggle between formats
167
167
-
date-alt = %{T1}%{T-}%{T2} %a, %d %b %y%{T-}
164
164
+
date-alt = %{T1} %{T-} %{T2} %a, %d %b %y%{T-}
168
165
time-alt = %{T2} %H:%M:%S%{T-}
169
166
170
167
label = %date%%time%
···
177
174
178
175
label-connected = %essid%
179
176
label-connected-font = 2
180
180
-
format-connected = <ramp-signal><label-connected>
177
177
+
format-connected = <ramp-signal> <label-connected>
181
178
label-connected-foreground = #82b414
182
179
183
180
format-disconnected = <label-disconnected>
184
184
-
label-disconnected = "睊"
181
181
+
label-disconnected = ""
185
182
label-disconnected-foreground = #f92672
186
183
187
184
ramp-signal-foreground = #82b414
···
199
196
; Default: 1
200
197
interval = 0.5
201
198
202
202
-
label = %{T1}%{T-}%{T2} %percentage:2%%%{T-}
199
199
+
label = %{T1} %{T-}%{T2} %percentage:2%%%{T-}
203
200
204
201
label-foreground = ${colors.cyan}
205
202
···
229
226
; %gb_swap_free%
230
227
; %gb_swap_used%
231
228
232
232
-
label = %{T1}%{T-}%{T2} %gb_used%%{T-}
229
229
+
label = %{T1} %{T-}%{T2} %gb_used%%{T-}
233
230
234
231
label-foreground = ${colors.cyan}
235
232
···
277
274
content = " "
278
275
content-padding = 0
279
276
280
280
-
[module/network]
281
281
-
type = internal/network
282
282
-
interface = wlp3s0
283
283
-
;enp0s29u1u2
284
284
-
interval = 1.0
285
285
-
label-connected = "%{T1}龍%{T-}%{T2} %downspeed% | %upspeed%%{T-}"
286
286
-
label-disconnected = "%{T2}0/0%{T-}"
287
287
-
label-connected-background = ${colors.bg}
288
288
-
label-connected-foreground = ${colors.blue}
289
289
-
label-disconnected-foreground = ${colors.red}
290
290
-
291
291
-
[module/title]
292
292
-
type = internal/xwindow
293
293
-
; Available tags:
294
294
-
; <label> (default)
295
295
-
format = <label>
296
296
-
format-background = ${colors.bg}
297
297
-
format-foreground = ${colors.green}
298
298
-
format-padding = 4
299
299
-
300
300
-
; Available tokens:
301
301
-
; %title%
302
302
-
; Default: %title%
303
303
-
label = "%{T1}类%{T-}%{T2} %title%%{T-}"
304
304
-
label-maxlen = 65
305
305
-
306
306
-
; Used instead of label when there is no window title
307
307
-
; Available tokens:
308
308
-
; None
309
309
-
label-empty =%{T2}Empty%{T-}
310
310
-
label-empty-foreground = #707880
311
311
-
312
277
[module/volume]
313
278
type = internal/pulseaudio
314
279
···
316
281
317
282
interval = 5
318
283
319
319
-
format-volume = <ramp-volume><bar-volume>
284
284
+
format-volume = <ramp-volume> <bar-volume>
320
285
321
286
format-muted = <label-muted>
322
287
format-muted-prefix = " "
···
370
335
poll-interval = 2
371
336
time-format = %H:%M
372
337
373
373
-
format-charging = <animation-charging><label-charging>
338
338
+
format-charging = <animation-charging> <label-charging>
374
339
format-charging-prefix =
375
340
376
376
-
format-discharging = <ramp-capacity><label-discharging>
341
341
+
format-discharging = <ramp-capacity> <label-discharging>
377
342
378
343
format-full = <label-full>
379
344
format-full-prefix = " "
···
409
374
animation-charging-framerate = 750
410
375
411
376
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
377
377
+
-4
hosts/box/configuration.nix
···
20
20
boot.loader.grub = {
21
21
enable = true;
22
22
device = "nodev";
23
23
-
version = 2;
24
23
efiSupport = true;
25
24
enableCryptodisk = true;
26
25
efiInstallAsRemovable = true;
···
85
84
# replicates the default behaviour.
86
85
networking.useDHCP = false;
87
86
networking.interfaces.wlp3s0.useDHCP = true;
88
88
-
89
89
-
# Set your time zone.
90
90
-
time.timeZone = "Australia/Brisbane";
91
87
92
88
# Enable the OpenSSH daemon.
93
89
services.openssh.enable = true;
-2
hosts/cube/configuration.nix
···
8
8
];
9
9
10
10
boot.loader.grub.enable = true;
11
11
-
boot.loader.grub.version = 2;
12
11
boot.loader.grub.device = "/dev/vda"; # or "nodev" for efi only
13
12
14
13
networking.hostName = "cube"; # Define your hostname.
15
15
-
time.timeZone = "Australia/Brisbane";
16
14
17
15
networking.useDHCP = false;
18
16
networking.interfaces.ens3.useDHCP = true;
-3
hosts/curve/configuration.nix
···
1
1
{
2
2
imports = [ ./hardware-configuration.nix ];
3
3
boot.loader.grub.enable = true;
4
4
-
boot.loader.grub.version = 2;
5
4
# Define on which hard drive you want to install Grub.
6
5
boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
7
6
···
27
26
};
28
27
networking.hostName = "curve";
29
28
#networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
30
30
-
31
31
-
time.timeZone = "Australia/Brisbane";
32
29
33
30
# Select internationalisation properties.
34
31
i18n.defaultLocale = "en_US.UTF-8";
-3
hosts/helix/configuration.nix
···
8
8
9
9
# Use the GRUB 2 boot loader.
10
10
boot.loader.grub.enable = true;
11
11
-
boot.loader.grub.version = 2;
12
11
boot.loader.grub.device = "/dev/vda"; # or "nodev" for efi only
13
12
14
13
networking.hostName = "helix"; # Define your hostname.
···
22
21
23
22
# Enable the OpenSSH daemon.
24
23
services.openssh.enable = true;
25
25
-
services.openssh.passwordAuthentication = false;
26
26
-
services.openssh.permitRootLogin = "no";
27
24
sound.enable = false;
28
25
29
26
# Define a user account. Don't forget to set a password with ‘passwd’.
-1
hosts/lituus/configuration.nix
···
8
8
9
9
# Use the GRUB 2 boot loader.
10
10
boot.loader.grub.enable = true;
11
11
-
boot.loader.grub.version = 2;
12
11
boot.loader.grub.device = "/dev/vda"; # or "nodev" for efi only
13
12
14
13
networking.hostName = "lituus"; # Define your hostname.
+2
hosts/profiles/core/default.nix
···
42
42
openFirewall = lib.mkDefault false;
43
43
};
44
44
45
45
+
time.timeZone = "Canada/Pacific";
46
46
+
45
47
# programs.gnupg.agent.enable = true;
46
48
# programs.gnupg.agent.pinentryFlavor = "curses";
47
49
+2
-1
hosts/profiles/desktop/default.nix
···
44
44
packages = [ pkgs.dconf ];
45
45
};
46
46
};
47
47
+
programs.dconf.enable = true;
47
48
48
49
security.pam.services.Default.enableGnomeKeyring = true;
49
50
security.pam.services.Login.enableGnomeKeyring = true;
···
63
64
environment.systemPackages = with pkgs; [
64
65
unstable.sublime-music
65
66
unstable.nheko
66
66
-
unstable.tootle
67
67
+
unstable.tuba
67
68
unstable.newsflash
68
69
unstable.liferea
69
70
+6
-4
hosts/profiles/gitea/default.nix
···
6
6
7
7
services.gitea = {
8
8
enable = true;
9
9
-
package = pkgs.unstable.forgejo;
9
9
+
package = pkgs.forgejo;
10
10
appName = "Sealight Git Forge";
11
11
-
domain = "git.sealight.xyz";
12
12
-
rootUrl = "https://git.sealight.xyz";
13
13
-
httpPort = 3001;
14
11
database = {
15
12
type = "postgres";
16
13
passwordFile = "/run/agenix/gitea-dbpass";
17
14
};
18
15
settings = {
16
16
+
server = {
17
17
+
DOMAIN = "git.sealight.xyz";
18
18
+
ROOT_URL = "https://git.sealight.xyz";
19
19
+
HTTP_PORT = 3001;
20
20
+
};
19
21
metrics = {
20
22
ENABLED = true;
21
23
};
+4
-4
hosts/profiles/gonic/default.nix
···
1
1
{ config, lib, pkgs, ... }:
2
2
{
3
3
-
services.gonic.enable = true;
4
4
-
services.gonic.settings = ''
3
3
+
mossnet.gonic.enable = true;
4
4
+
mossnet.gonic.settings = ''
5
5
music-path /mnt/two/music/
6
6
podcast-path /data/podcasts
7
7
cache-path /data/cache
8
8
'';
9
9
-
services.gonic.group = "audio";
10
10
-
services.gonic.user = "headphones";
9
9
+
mossnet.gonic.user = "headphones";
10
10
+
mossnet.gonic.group = "audio";
11
11
networking.firewall.allowedTCPPorts = [ 4747 ];
12
12
}
+2
-2
hosts/profiles/kuberenetes/default.nix
···
3
3
{
4
4
# k3s
5
5
networking.firewall.allowedTCPPorts = [ 6443 ];
6
6
-
services.k3s.enable = false;
6
6
+
services.k3s.enable = true;
7
7
services.k3s.role = "server";
8
8
-
services.k3s.clusterInit = true;
8
8
+
services.k3s.clusterInit = false;
9
9
# services.k3s.extraFlags = toString [
10
10
# "--kubelet-arg=v=4" # Optionally add additional args to k3s
11
11
# ];
+4
-3
hosts/profiles/monitoring/default.nix
···
37
37
ensureUsers = [{
38
38
name = "grafana";
39
39
ensurePermissions = {
40
40
-
"DATABASE wallabag" = "SELECT";
41
41
-
"DATABASE ulogger" = "SELECT";
42
42
-
"DATABASE photoprism" = "SELECT";
40
40
+
"ALL TABLES IN SCHEMA public" = "SELECT";
41
41
+
"DATABASE wallabag" = "CONNECT";
42
42
+
"DATABASE ulogger" = "CONNECT";
43
43
+
"DATABASE photoprism" = "CONNECT";
43
44
};
44
45
}];
45
46
};
+8
-7
hosts/profiles/music/default.nix
···
39
39
alsa.support32Bit = true;
40
40
pulse.enable = true;
41
41
jack.enable = true;
42
42
-
config = {
43
43
-
pipewire."context.properties"."default.clock.rate" = "48000";
44
44
-
pipewire-pulse."stream.properties"."resample.quality" = 15;
45
45
-
client."stream.properties"."resample.quality" = 15;
46
46
-
client-rt."stream.properties"."resample.quality" = 15;
47
47
-
#jack."context.modules" = [];
48
48
-
};
42
42
+
# Deprecated as of 23.05
43
43
+
# config = {
44
44
+
# pipewire."context.properties"."default.clock.rate" = "48000";
45
45
+
# pipewire-pulse."stream.properties"."resample.quality" = 15;
46
46
+
# client."stream.properties"."resample.quality" = 15;
47
47
+
# client-rt."stream.properties"."resample.quality" = 15;
48
48
+
# #jack."context.modules" = [];
49
49
+
# };
49
50
#media-session.config.bluez-monitor.properties = {
50
51
# "bluez5.headset-roles" = [ "hsp_hs" "hsp_ag" ];
51
52
# "bluez5.codecs" = [ "aac" "ldac" "aptx_hd" ];
+2
-2
hosts/profiles/server/default.nix
···
2
2
{
3
3
services.openssh = {
4
4
enable = true;
5
5
-
passwordAuthentication = false;
6
6
-
permitRootLogin = "no";
5
5
+
settings.PasswordAuthentication = false;
6
6
+
settings.PermitRootLogin = "no";
7
7
};
8
8
networking.firewall.allowedTCPPorts = [ 80 443 22 ]; # ssh and website
9
9
security.sudo.wheelNeedsPassword = false; # needed for deploy-rs
+1
hosts/users/anish/default.nix
···
1
1
{ pkgs, ... }:
2
2
3
3
{
4
4
+
programs.zsh.enable = true;
4
5
users.users.anish = {
5
6
description = "Personal user for Anish";
6
7
hashedPassword = "$y$j9T$y3DPt/dWaPE.gRazQqw1w0$1RMH5sl/Nu8kW3ZMywYCPRniHD/jF5qRh0VKrdJ.bV2";
-1
modules/nixos/default.nix
···
10
10
backup = import ./backup.nix;
11
11
ulogger-server = import ./ulogger.nix;
12
12
microbin = import ./microbin.nix;
13
13
-
photoprism = import ./photoprism.nix; #TODO remove once updated to 23.05, stolen from nixpkgs anyway
14
13
}
+2
-2
modules/nixos/gonic.nix
···
3
3
with lib;
4
4
5
5
let
6
6
-
cfg = config.services.gonic;
6
6
+
cfg = config.mossnet.gonic;
7
7
configFile = "/etc/gonic/config";
8
8
dataFolder = "/var/lib/gonic";
9
9
in {
10
10
options = {
11
11
12
12
-
services.gonic = {
12
12
+
mossnet.gonic = {
13
13
enable = mkEnableOption "Gonic music server and streamer";
14
14
15
15
settings = lib.mkOption {