Compare commits

...

383 Commits

Author SHA1 Message Date
1238fa76db wyoming 2026-01-22 13:00:27 -06:00
58e0b82520 wyoming 2026-01-22 12:54:52 -06:00
b4bac11cf9 option 2026-01-22 12:50:44 -06:00
bb45b7b08a option 2026-01-22 12:49:45 -06:00
9a07fe0d59 proper ssh port 2026-01-22 12:46:55 -06:00
5c8ebb84bb proper ssh port 2026-01-22 12:15:03 -06:00
6dfacb91da proper ssh port 2026-01-22 12:10:02 -06:00
128a560bb0 use ssh for submodules 2026-01-22 10:20:51 -06:00
86fbc59bcf virtual machines 2026-01-22 09:18:06 -06:00
82e15df890 next step 2026-01-22 09:15:41 -06:00
a60a5b738b use recent packages 2026-01-21 22:23:00 -06:00
191a54670e option 2026-01-21 22:16:15 -06:00
7949acb8f0 option 2026-01-21 21:58:19 -06:00
11e881b1cc import 2026-01-21 21:55:42 -06:00
2223acef57 inputs 2026-01-21 21:52:29 -06:00
b1d54ce420 import 2026-01-21 21:50:20 -06:00
d3c63aa684 import 2026-01-21 21:41:17 -06:00
dac6771f58 import 2026-01-21 21:33:52 -06:00
cf784f3847 inputs 2026-01-21 18:49:59 -06:00
e9c4339640 inputs 2026-01-21 17:55:17 -06:00
386c4d6561 submodules should use https 2026-01-21 17:44:50 -06:00
66171880bc submodules should use https 2026-01-21 17:43:55 -06:00
65430099bf submodules should use https 2026-01-21 17:40:57 -06:00
a65cfacb79 Revert "submodules should use https"
This reverts commit c6a21aee85.
2026-01-21 17:37:32 -06:00
c6a21aee85 submodules should use https 2026-01-21 17:30:50 -06:00
514e4864ca options 2026-01-21 16:30:18 -06:00
69d16e38a8 nix-on-droid only goes to 24.05 2026-01-21 12:24:27 -06:00
e86a839bd7 rename options 2026-01-21 09:42:51 -06:00
65f878b20d prepare android 2026-01-21 09:27:44 -06:00
b893475db6 prepare android 2026-01-21 09:22:22 -06:00
1ada91d5ef reorganize 2026-01-20 17:34:34 -06:00
42bf08084e reorganize and fix searxng 2026-01-20 17:30:56 -06:00
50d192c809 reorganize 2026-01-20 13:34:12 -06:00
c028bad2a6 fix portainer domain 2026-01-20 12:44:01 -06:00
9b218f88fa fix traefik docker 2026-01-20 12:34:45 -06:00
276823d2aa fix traefik docker 2026-01-20 11:53:31 -06:00
ab47a1ea52 fix traefik docker 2026-01-20 11:48:40 -06:00
4a7615b50c fix traefik docker 2026-01-20 11:40:43 -06:00
ea37cbe865 no error 2026-01-20 11:17:08 -06:00
8cc337ca0e no error 2026-01-20 11:16:46 -06:00
f99cb4f761 try docker provider for traefik 2026-01-20 11:15:55 -06:00
6abef03321 networking 2026-01-19 19:46:45 -06:00
f584fb2e32 networking 2026-01-19 19:40:29 -06:00
b7763031dd networking 2026-01-19 19:36:09 -06:00
761624c21c networking 2026-01-19 17:53:14 -06:00
43d87cb6b3 networking 2026-01-19 17:42:51 -06:00
be310b9ae7 docker network 2026-01-19 17:25:19 -06:00
39fb19f62e setup internal services 2026-01-19 16:06:23 -06:00
f7041607d7 try 2026-01-19 11:10:07 -06:00
6ef3081bd1 try 2026-01-19 10:46:19 -06:00
c69e8ed0ef help 2026-01-19 10:35:43 -06:00
9e3023c26b help 2026-01-19 10:33:23 -06:00
3a6c6673eb help 2026-01-19 10:08:09 -06:00
c6baa8fc5b try pihole network 2026-01-19 09:13:22 -06:00
9a89b1ee6a try pihole network 2026-01-19 09:10:54 -06:00
eda60a7fec try pihole network 2026-01-19 08:49:42 -06:00
e69f8348be try pihole network 2026-01-19 08:42:11 -06:00
23b4035da1 try pihole network 2026-01-19 01:09:51 -06:00
02427aca71 try netbird + pihole 2026-01-19 00:42:13 -06:00
03274e6e46 try netbird + pihole 2026-01-19 00:35:11 -06:00
bf994f7e13 try compartmental traefik 2026-01-18 23:59:14 -06:00
3696bab033 try compartmental traefik 2026-01-18 23:16:54 -06:00
ea2a03037a try compartmental traefik 2026-01-18 23:14:32 -06:00
0947941c11 dns trouble 2026-01-18 22:22:48 -06:00
c48ecab2bd dns trouble 2026-01-18 22:11:32 -06:00
55b1cae63b set pihole as sole dns 2026-01-18 21:34:28 -06:00
76a072d274 try pihole as sole dns 2026-01-18 19:41:19 -06:00
346907fce4 try pihole as sole dns 2026-01-18 18:58:59 -06:00
86810b6105 fix remote build 2026-01-18 18:27:02 -06:00
eba2b6e52f fix remote build 2026-01-18 18:23:45 -06:00
96e4476934 fix remote build 2026-01-18 18:22:40 -06:00
560f36b18e packages 2026-01-18 17:22:49 -06:00
0c9d45ad39 packages 2026-01-18 17:17:23 -06:00
e39eeac850 packages 2026-01-18 17:14:48 -06:00
46cc39c91f options 2026-01-18 17:11:03 -06:00
9f7b03679a options 2026-01-18 17:10:23 -06:00
96ab25c6ad move options 2026-01-18 17:08:05 -06:00
d530844886 docker ollama tune 2026-01-18 14:34:43 -06:00
8bb52d7df6 docker ollama tune 2026-01-18 14:31:50 -06:00
05d4280ad6 docker ollama debug 2026-01-18 14:17:46 -06:00
90b99dbf19 docker ollama debug 2026-01-18 14:13:22 -06:00
f96f7182c4 docker ollama debug 2026-01-18 14:08:35 -06:00
bd8b5f1327 docker perms 2026-01-18 13:40:15 -06:00
d13b59e7ac docker ollama 2026-01-18 13:34:23 -06:00
69b47de1fc docker pihole debug 2026-01-18 12:42:14 -06:00
06cb547197 docker pihole debug 2026-01-18 12:32:47 -06:00
f0ec952442 docker pihole enable 2026-01-18 12:23:46 -06:00
2fab28204d docker pihole 2026-01-18 12:21:50 -06:00
9b32b8a6db option 2026-01-18 11:01:24 -06:00
71e6fbcef4 spellcheck 2026-01-18 10:57:51 -06:00
1b140efc19 mkIf nonsense 2026-01-18 10:57:03 -06:00
8c21db0a08 try 2026-01-18 10:54:34 -06:00
d5a7657410 spellcheck 2026-01-18 10:47:22 -06:00
e5b8871d4e try docker 2026-01-18 10:45:33 -06:00
a6808a984e try 2026-01-17 10:24:00 -06:00
e5f6a4bc69 dns 2026-01-17 10:19:35 -06:00
eb857b8d03 timeout 2026-01-17 10:13:32 -06:00
712aaab720 spellcheck 2026-01-17 10:10:47 -06:00
778433b318 try networkd again 2026-01-17 10:08:11 -06:00
7440ef91b4 try preStart 2026-01-16 20:37:49 -06:00
265a526c8b try networkd 2026-01-16 19:15:29 -06:00
6cd5770452 pihole and dots 2026-01-16 18:33:53 -06:00
66d2dde112 try cname 2026-01-16 07:42:43 -06:00
7974a95659 pihole please 2026-01-15 23:37:22 -06:00
8b605d692f pihole please 2026-01-15 23:23:27 -06:00
b911a7931e pihole? 2026-01-15 23:16:49 -06:00
574b2c058b pihole? 2026-01-15 23:11:54 -06:00
f4f69a4a25 pihole? 2026-01-15 23:07:10 -06:00
640c5911f6 ollama env var 2026-01-15 21:20:53 -06:00
be74b8caaf test dns 2026-01-15 21:05:12 -06:00
be199acad3 rewrite colorPrefix 2026-01-15 19:45:55 -06:00
3335542d54 rewrite colorPrefix 2026-01-15 19:39:46 -06:00
e008cd4d89 don't use bs nameservers 2026-01-15 19:23:52 -06:00
4dbffa89c2 help 2026-01-15 19:16:24 -06:00
c89816839a help 2026-01-15 19:06:50 -06:00
b5b1e07f3a option 2026-01-15 18:53:34 -06:00
340ea873ce option 2026-01-15 18:51:43 -06:00
1fa30bdb94 option 2026-01-15 18:49:46 -06:00
f480a1f8c9 lots 2026-01-15 18:47:31 -06:00
fd3f3639bd try 2026-01-14 15:49:11 -06:00
be4f0c5e6b try 2026-01-14 15:28:25 -06:00
46f546a0e0 ssh key 2026-01-12 15:24:08 -06:00
22535fbbaf ollama gpu 2026-01-11 22:25:28 -06:00
10cf6bba46 fix homebox 2026-01-11 21:44:12 -06:00
f07c4ae0d3 fix homebox 2026-01-11 21:02:39 -06:00
c1f8c704b3 fix homebox 2026-01-11 20:43:00 -06:00
0aa7f459dd update machines 2026-01-11 20:32:16 -06:00
15dfb83bb7 propare homebox 2026-01-11 18:08:00 -06:00
6b8a9a2152 propare homebox 2026-01-11 17:45:06 -06:00
482f1b5912 propare homebox 2026-01-11 17:35:19 -06:00
78277afa8a propare homebox 2026-01-11 17:33:24 -06:00
680454c6b2 propare homebox 2026-01-11 17:32:04 -06:00
ec1a12e2a1 propare homebox 2026-01-11 17:24:24 -06:00
960af2d43b propare homebox 2026-01-11 17:19:52 -06:00
a7e636e7a2 propare homebox 2026-01-11 17:18:05 -06:00
099b8e40b2 prepare homebox 2026-01-11 17:15:15 -06:00
32bf3e0bc0 propare homebox 2026-01-11 17:14:29 -06:00
905de63f78 lock 2026-01-11 14:26:13 -06:00
c977f9d3a2 proper branch stuff 2026-01-11 14:24:50 -06:00
bc666ecab5 git tomfoolery 2026-01-11 14:23:31 -06:00
8e0d66eff5 fix file not found stuff? 2026-01-11 14:12:49 -06:00
c657f03912 update machines 2026-01-11 10:20:05 -06:00
2ec608c5ae update machines 2026-01-11 10:12:55 -06:00
6a3a44b2f0 add more opencode models 2026-01-10 23:23:33 -06:00
1c96a54c52 use instruct model for opencode 2026-01-10 21:23:53 -06:00
30d55ebb5a unfree problems 2026-01-10 19:06:55 -06:00
daf0ea1169 update ollama, add magic space, install opencode 2026-01-10 18:58:54 -06:00
bd20e9a29b fix pypr 2026-01-10 11:58:17 -06:00
f8d3994ad9 update hyprland window rules 2026-01-10 10:50:33 -06:00
3b376d7657 update laptop 2026-01-10 10:33:52 -06:00
082f0bdcc5 fix hyprrun 2026-01-10 10:09:29 -06:00
137e3753da no hypr errors 2026-01-10 09:09:03 -06:00
c012163715 fix syntax 2026-01-10 08:58:54 -06:00
be4b7c7d82 fix warning 2026-01-10 08:07:25 -06:00
6c88dcd775 fix warning 2026-01-10 08:02:07 -06:00
a1f0bf30cd stop warning? 2026-01-10 07:56:48 -06:00
873230cfe3 use an option that exists 2026-01-09 20:33:01 -06:00
1bf5944f11 include quickshell for option 2026-01-09 19:53:28 -06:00
ff5e0d6bb2 try uwsm again 2026-01-09 19:47:53 -06:00
795bca39f8 submodules 2026-01-07 12:28:22 -06:00
707e839517 submodules incoming 2026-01-07 10:39:37 -06:00
a9db2c09e7 remove laptop to add as submodule 2026-01-07 10:08:46 -06:00
c657dae471 update scripts 2026-01-06 02:13:40 -06:00
d1237dab12 update syntax 2026-01-06 02:03:50 -06:00
61bcc8776f hyprland error fix 2026-01-06 01:46:52 -06:00
e05dc795b3 re-add nh? 2026-01-06 01:34:58 -06:00
eafa73042a no nh? 2026-01-06 00:56:03 -06:00
e36f899e93 unstable nh? 2026-01-06 00:48:55 -06:00
671b5f92c0 try 2026-01-06 00:19:34 -06:00
4e3d74795b update lock 2026-01-05 20:32:55 -06:00
036969de6e lock 2026-01-05 15:39:45 -06:00
793956deba fix? 2026-01-05 15:38:58 -06:00
f3ecc2cfc6 update 2026-01-05 15:29:15 -06:00
c212117355 defaults 2026-01-05 15:26:12 -06:00
7c61d646a6 may work 2026-01-05 15:20:14 -06:00
ea3c826c63 try 2026-01-05 10:23:29 -06:00
f9eca3ebde fix? 2026-01-05 10:09:18 -06:00
10f8d192fd try 2026-01-05 10:05:47 -06:00
d187ede4f6 lock 2026-01-05 10:03:53 -06:00
2faa4e8618 fixn't 2026-01-05 10:01:16 -06:00
f967055296 prototyping 2026-01-05 09:55:02 -06:00
e665f8e46d fixn't 2026-01-05 09:50:21 -06:00
cc834fd85d help 2026-01-04 16:33:14 -06:00
e4e6db94aa help 2025-12-31 18:45:10 -06:00
c3883abef9 no inputs toplevel 2025-12-31 18:37:46 -06:00
7097253186 insert inputs 2025-12-31 16:36:19 -06:00
a08a4ac461 Reapply "https"
This reverts commit 2a5613bdee.
2025-12-31 16:32:23 -06:00
ceb211ae51 Revert "no sandbox"
This reverts commit 112782fa91.
2025-12-31 16:31:24 -06:00
2a5613bdee Revert "https"
This reverts commit f34031285b.
2025-12-31 16:30:40 -06:00
112782fa91 no sandbox 2025-12-31 16:18:29 -06:00
f34031285b https 2025-12-31 15:23:53 -06:00
f07d4a4060 name 2025-12-31 14:58:33 -06:00
5876d03f45 name 2025-12-31 14:53:59 -06:00
ce6885a76e relock 2025-12-31 14:50:45 -06:00
d8058560b1 probably broken 2025-12-31 12:24:43 -06:00
0c1f0a4639 consolidate 2025-12-18 12:08:45 -06:00
2d09cfeea1 openrgb 2025-11-27 02:18:43 -06:00
892ae40180 weird 2025-11-23 17:29:03 -06:00
4a1cd4804d default 2025-11-23 17:27:21 -06:00
31fa6033b0 once more 2025-11-23 16:50:07 -06:00
b88445e529 set graphical 2025-11-23 16:43:30 -06:00
e3597c147a no desktop for server 2025-11-23 16:34:22 -06:00
e1e1b316cf bar 2025-11-13 19:27:26 -06:00
184e939bb6 only use domains you own publicly dummy 2025-11-13 19:26:40 -06:00
103c8e803a quickshell work 2025-11-09 18:02:29 -06:00
160ae56e03 quickshell 2025-11-08 12:24:02 -06:00
d178e340b4 no option 2025-11-08 12:24:02 -06:00
e2ec5cae11 uninclude 2025-11-08 12:24:02 -06:00
d9261385de packages 2025-11-08 12:24:02 -06:00
b0c84b9b27 no option 2025-11-08 12:24:02 -06:00
d036eb2512 include 2025-11-08 12:24:02 -06:00
83f48b3403 fix 2025-11-08 12:22:32 -06:00
9d56a9bd10 change domain name 2025-11-08 12:22:32 -06:00
86272d668d start on quickshell 2025-10-16 17:11:21 -05:00
7f224bd6fc finish later 2025-10-08 17:25:39 -05:00
3d0bd560fb fix bar colors 2025-09-17 10:21:26 -05:00
214c833821 dont include the directory 2025-09-16 12:45:51 -05:00
8e519e9ad1 conflicting binds 2025-09-16 12:10:34 -05:00
a706f7c5cb new Wallpaper 2025-09-16 11:46:39 -05:00
f49edaf975 bind for wallpaper 2025-09-16 11:44:28 -05:00
8545cccd46 tested 2025-09-16 11:42:16 -05:00
6e28e26d5a tested 2025-09-16 10:39:44 -05:00
538b6051e2 no quotes 2025-09-16 10:21:33 -05:00
91f6c637de scripts 2025-09-16 10:08:03 -05:00
0280315031 interpolate 2025-09-16 09:32:03 -05:00
54dd1d2321 escape 2025-09-16 08:50:27 -05:00
7d77da5619 fix 2025-09-16 00:59:15 -05:00
668e6117fd big hyprland changes 2025-09-15 22:35:05 -05:00
9cb4e51316 manage wallpaper without hyprpanel 2025-09-10 12:44:40 -05:00
43fde8741b fix 2025-09-10 12:22:58 -05:00
feec4dd416 try no systemd 2025-09-10 12:08:48 -05:00
9a1a025ec9 no extra desktops 2025-09-10 10:25:41 -05:00
20731b35ca fix 2025-09-10 10:20:05 -05:00
784a783fff no unstable 2025-09-09 09:33:54 -05:00
65f7cad037 use wifi dummy 2025-09-09 09:04:13 -05:00
bd1cfad6f9 try 2025-09-08 18:47:49 -05:00
154dd13425 no unstable server 2025-09-08 18:33:04 -05:00
504ae33109 option 2025-09-08 18:20:44 -05:00
d07fbe229b dont include pihole 2025-09-08 18:18:43 -05:00
632362235b update 2025-09-08 14:14:12 -05:00
9e11e7cb70 hypridle 2025-09-08 14:09:00 -05:00
0829506111 unstable 2025-09-08 14:07:00 -05:00
ee6893038a try unstable 2025-09-08 13:39:49 -05:00
02156b877e no idle 2025-09-08 10:35:07 -05:00
64a2588a11 fix 2025-09-07 21:51:02 -05:00
b9d3b14b23 stuff 2025-09-07 21:34:45 -05:00
f17ac4ce4f user service 2025-09-07 21:09:49 -05:00
bce5fdf68a force no idle 2025-09-07 21:06:00 -05:00
bd1323c2d8 package 2025-09-07 14:45:01 -05:00
5ad050b056 do NOT idle! 2025-09-07 14:39:01 -05:00
d4a11b9ba2 fix 2025-09-06 23:41:07 -05:00
86f16a2394 openwebui 2025-09-06 23:30:14 -05:00
35fa4a55da script better 2025-09-05 12:15:56 -05:00
bb9f3f390f update 2025-09-04 20:44:44 -05:00
e2de1c34e3 function 2025-09-04 20:28:30 -05:00
6f7f078dd9 fix 2025-09-04 20:27:11 -05:00
8e3092fc0f bind 2025-09-03 17:28:42 -05:00
f5ba6bf991 help 2025-09-03 14:42:44 -05:00
2cd6e41686 pkexec 2025-09-03 13:00:26 -05:00
0a87520fe7 not relative to current system 2025-09-03 12:33:23 -05:00
c5f1cb3624 sudo 2025-09-03 10:28:22 -05:00
1520b9872b scratchpad name 2025-09-02 12:47:12 -05:00
6fba3fd698 lf 2025-09-02 12:35:45 -05:00
cf67655b3d only finegrained with offload 2025-09-01 18:54:23 -05:00
e441f92216 fine 2025-09-01 18:51:48 -05:00
bf5df9d23a try 2025-09-01 18:48:38 -05:00
4a79ac63d7 try open nvidia drivers 2025-09-01 18:42:08 -05:00
f7c4059445 specialize 2025-09-01 17:45:31 -05:00
cbd4b177ba try 2025-09-01 07:34:52 -05:00
97a62eaa24 live 2025-08-31 22:01:30 -05:00
eeb29a80f4 fix 2025-08-31 21:42:27 -05:00
6b98345a97 work on live 2025-08-31 14:53:21 -05:00
c3457da03c prepare live 2025-08-31 14:07:21 -05:00
85c96cd78b scripts 2025-08-31 13:27:12 -05:00
9698873c0b fonts please 2025-08-31 10:07:36 -05:00
6be91c5617 shutdown behavior 2025-08-31 09:38:48 -05:00
32d95647f8 this should work 2025-08-30 23:39:52 -05:00
c811e4d4df font 2025-08-30 23:11:03 -05:00
4eeed736ad spellcheck 2025-08-30 21:13:09 -05:00
325e4c63d5 fonts please 2025-08-30 21:09:52 -05:00
6474b10e9f sddm theme 2025-08-30 15:42:34 -05:00
0ce461f34d syntax 2025-08-30 13:32:09 -05:00
bb3d875d77 hyprland config 2025-08-30 13:22:25 -05:00
fcd33c7924 test iso 2025-08-30 10:11:07 -05:00
dc6c5ed8d4 test iso 2025-08-30 09:40:43 -05:00
f850d4ff1a try cosmic 2025-08-29 20:35:43 -05:00
b52c8dff65 pkg 2025-08-28 23:48:07 -05:00
1ca0f169fb more things 2025-08-28 23:44:50 -05:00
f3fe568d7a separate ohmyposh from zsh 2025-08-28 15:57:34 -05:00
65ec180ad6 lock hyprpanel 2025-08-28 14:11:05 -05:00
515e8cb86d zsh python weird 2025-08-28 13:26:31 -05:00
1b9c2564ff spellcheck 2025-08-28 00:48:38 -05:00
d5dbc09e2c try firmware 2025-08-28 00:46:08 -05:00
14c3f7ad1b swaylock broke 2025-08-27 21:43:18 -05:00
cbdc9b0d7c hardware specific pi4 stuff 2025-08-27 20:37:55 -05:00
38bd11aea7 pi4 almost ready 2025-08-27 09:44:13 -05:00
e74d097f0f xdg open 2025-08-26 19:19:37 -05:00
4d5be9828f name 2025-08-26 18:57:39 -05:00
fb77aba463 am 2025-08-26 18:56:31 -05:00
f133c4e4b3 dont control jobs 2025-08-26 18:54:20 -05:00
92d4984e36 integrations 2025-08-26 18:45:50 -05:00
01a329efc9 try 2025-08-26 18:37:28 -05:00
6e94fbde00 match blocks 2025-08-26 18:31:32 -05:00
c091282f94 match blocks 2025-08-26 18:25:13 -05:00
b122fc88f7 piper broken? 2025-08-26 17:35:33 -05:00
f33df39f60 add ssh key 2025-08-26 17:28:48 -05:00
006537f264 name 2025-08-26 17:09:47 -05:00
e7ce67509d ssh always 2025-08-26 17:08:25 -05:00
4161c7f4d3 name 2025-08-26 16:54:21 -05:00
37e0823d35 help 2025-08-26 16:51:45 -05:00
04ac0c9d43 stuff 2025-08-26 16:33:01 -05:00
56beb43a68 add ssh 2025-08-26 16:31:42 -05:00
6142f645ed path 2025-08-26 16:26:13 -05:00
3914894495 set username 2025-08-26 14:31:36 -05:00
87051915bc try 2025-08-26 14:03:42 -05:00
7e10a8e74b update sops keys 2025-08-26 12:50:19 -05:00
02f3aab181 semantics 2025-08-26 12:18:05 -05:00
73ab90ca13 try 2025-08-26 12:09:15 -05:00
39818a3989 help 2025-08-26 12:06:48 -05:00
2345b39b79 weird 2025-08-26 12:04:26 -05:00
2237999734 inputs 2025-08-26 11:58:32 -05:00
eb82434bab try 2025-08-26 11:54:59 -05:00
059d19c14f try 2025-08-26 11:53:27 -05:00
7cc114a056 update 2025-08-26 11:49:35 -05:00
b15721fc44 try 2025-08-26 11:29:27 -05:00
849451abed path 2025-08-26 11:25:33 -05:00
04a08124aa no wayvnc 2025-08-26 11:22:10 -05:00
4744f74f18 input 2025-08-26 11:13:53 -05:00
7e76c6fc28 nix settings 2025-08-26 10:26:22 -05:00
7150237391 fix startup script 2025-08-26 09:42:52 -05:00
fde35faf49 add hyprpanel theming 2025-08-25 23:10:03 -05:00
9cc1e41d03 discord 2025-08-25 23:00:19 -05:00
634f78439b no ags 2025-08-25 22:09:39 -05:00
21bc59e7b5 destroy ags 2025-08-25 21:18:36 -05:00
60c213ab89 no global pkgs 2025-08-25 20:53:58 -05:00
2498e8e56b fix 2025-08-25 20:27:04 -05:00
3e6f3d1aac remove ags 2025-08-25 20:23:13 -05:00
950df24b8e fix 2025-08-25 20:19:59 -05:00
1973db82de commit to hyprpanel 2025-08-25 20:15:35 -05:00
2c08f3f50e continue refactor 2025-08-25 15:14:10 -05:00
dffc249cf5 continue nix on droid stuff 2025-08-25 12:50:37 -05:00
285aafb911 remove redundancy 2025-08-25 12:08:18 -05:00
c00b6da668 refactor android 2025-08-24 22:39:14 -05:00
95cfa9e840 begin conditional scripts 2025-08-24 22:00:19 -05:00
e0d552d309 try hyprpanel 2025-08-24 09:08:22 -05:00
aa4528b70a test hyprland autolaunch 2025-08-24 08:50:53 -05:00
aae976f555 downgrade netbird 2025-08-23 13:52:31 -05:00
15e292c5f9 remote builds work! 2025-08-23 12:14:50 -05:00
c9354ed128 test 2025-08-23 11:58:48 -05:00
7d8ab03691 test 2025-08-23 11:52:04 -05:00
7c33a19de8 nvim everywhere? 2025-08-23 11:33:29 -05:00
3ce100218d abstract 2025-08-23 11:24:03 -05:00
f94627e858 top level config 2025-08-23 11:14:17 -05:00
21d4f0800a try 2025-08-23 11:07:59 -05:00
8afcd43fac test multiple keys 2025-08-23 11:03:20 -05:00
12c5ef53a4 permissions 2025-08-23 10:58:30 -05:00
39d090ecfd test 2025-08-23 10:50:19 -05:00
72da24d759 try 2025-08-23 10:41:14 -05:00
e2cb29c097 fix 2025-08-23 10:12:54 -05:00
207f8ba8ee try 2025-08-23 10:09:26 -05:00
e68351f443 try 2025-08-23 10:06:00 -05:00
6258f21d03 fix 2025-08-23 10:04:32 -05:00
dc9cf2f2e3 fix 2025-08-23 10:03:32 -05:00
8decf498af try 2025-08-23 10:01:06 -05:00
49186be474 ? 2025-08-23 09:59:56 -05:00
b25153efac try 2025-08-23 09:57:24 -05:00
352d5bd19b type 2025-08-23 09:53:48 -05:00
a62a69c7ce test remote builds 2025-08-23 09:49:02 -05:00
0fdfa33016 try again 2025-08-21 09:15:34 -05:00
07856094ca try 2025-08-21 09:11:04 -05:00
496cef0405 test 2025-08-21 09:06:14 -05:00
7733ae3194 update 2025-08-21 00:31:35 -05:00
c73bcb684f update 2025-08-20 22:44:47 -05:00
e0a1eaabde 300 2025-08-20 22:40:02 -05:00
038f45a5d0 300 2025-08-20 22:35:16 -05:00
2ff9157b2b update netbird 2025-08-20 22:15:00 -05:00
c9ca5d11fe try 2025-08-20 21:59:48 -05:00
20ce615785 try 2025-08-20 21:47:17 -05:00
215ce15ca8 stuff 2025-08-19 09:19:44 -05:00
3d5759cc2c spellcheck 2025-08-19 02:06:04 -05:00
c5b3aa3599 option 2025-08-19 02:04:33 -05:00
a521301818 bash 2025-08-19 02:01:17 -05:00
2900d39f2d recurse 2025-08-19 01:43:19 -05:00
1036 changed files with 7953 additions and 14117 deletions

9
.gitmodules vendored Normal file
View File

@@ -0,0 +1,9 @@
[submodule "machines/homebox"]
path = machines/homebox
url = ssh://gitea@gitea.esotericbytes.com:2222/Blunkall-Technologies/homebox
[submodule "machines/laptop"]
path = machines/laptop
url = ssh://gitea@gitea.esotericbytes.com:2222/Blunkall-Technologies/laptop
[submodule "machines/android"]
path = machines/android
url = ssh://gitea@gitea.esotericbytes.com:2222/Blunkall-Technologies/android

View File

@@ -1,17 +1,11 @@
keys:
- &homebox age1640eg0pnmkruc89m5xguz0m8fek44fl4tzez6qwuzlz6kmapqewsp8esxd
- &laptop age1yqgyp2uxz4lzrc9f9ka0mfjl5fr6ahf8nf24nlmran2wulg6fpvq9hyp9q
- &android age12pnf36uqesjmy3e0lythfnpwam3zg5mv8m936fc4jphy4ces2fdqwn0s74
creation_rules:
- path_regex: homebox/secrets.yaml$
key_groups:
- age:
- *homebox
- path_regex: laptop/secrets.yaml$
key_groups:
- age:
- *laptop
- path_regex: nathan/secrets.yaml$
- path_regex: system/secrets.yaml$
key_groups:
- age:
- *laptop
- *homebox
- *android

495
flake.lock generated
View File

@@ -1,25 +1,5 @@
{
"nodes": {
"ags": {
"inputs": {
"nixpkgs": "nixpkgs",
"systems": "systems"
},
"locked": {
"lastModified": 1735346349,
"narHash": "sha256-n/VeEnc6fra2SPgm2ppzwQ52ggYDhpzmBnIBrVD/f+0=",
"owner": "Aylur",
"repo": "ags",
"rev": "237601999d65a4663bcbab934f4f6ce1f579d728",
"type": "github"
},
"original": {
"owner": "Aylur",
"ref": "v1",
"repo": "ags",
"type": "github"
}
},
"aquamarine": {
"inputs": {
"hyprutils": [
@@ -40,11 +20,11 @@
]
},
"locked": {
"lastModified": 1753216019,
"narHash": "sha256-zik7WISrR1ks2l6T1MZqZHb/OqroHdJnSnAehkE0kCk=",
"lastModified": 1767024902,
"narHash": "sha256-sMdk6QkMDhIOnvULXKUM8WW8iyi551SWw2i6KQHbrrU=",
"owner": "hyprwm",
"repo": "aquamarine",
"rev": "be166e11d86ba4186db93e10c54a141058bdce49",
"rev": "b8a0c5ba5a9fbd2c660be7dd98bdde0ff3798556",
"type": "github"
},
"original": {
@@ -60,11 +40,11 @@
]
},
"locked": {
"lastModified": 1753140376,
"narHash": "sha256-7lrVrE0jSvZHrxEzvnfHFE/Wkk9DDqb+mYCodI5uuB8=",
"lastModified": 1768923567,
"narHash": "sha256-GVJ0jKsyXLuBzRMXCDY6D5J8wVdwP1DuQmmvYL/Vw/Q=",
"owner": "nix-community",
"repo": "disko",
"rev": "545aba02960caa78a31bd9a8709a0ad4b6320a5c",
"rev": "00395d188e3594a1507f214a2f15d4ce5c07cb28",
"type": "github"
},
"original": {
@@ -81,11 +61,11 @@
},
"locked": {
"dir": "pkgs/firefox-addons",
"lastModified": 1754512310,
"narHash": "sha256-gXE5lTYMOhpDJo+siLXW/3BzySPmLMD12GVB1QFVbyw=",
"lastModified": 1769054619,
"narHash": "sha256-LCc0gbSgjehdy41Gi1H5WNxEuW9PtRHFVaPXoFzslQU=",
"owner": "rycee",
"repo": "nur-expressions",
"rev": "2008f9aa7a5ccde48bfc1de5a919be5898da09c2",
"rev": "6509620630f68dc02ac3e99f15a67760778444ff",
"type": "gitlab"
},
"original": {
@@ -98,15 +78,15 @@
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1747046372,
"narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=",
"owner": "edolstra",
"lastModified": 1767039857,
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
"owner": "NixOS",
"repo": "flake-compat",
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
"type": "github"
},
"original": {
"owner": "edolstra",
"owner": "NixOS",
"repo": "flake-compat",
"type": "github"
}
@@ -132,11 +112,11 @@
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1741352980,
"narHash": "sha256-+u2UunDA4Cl5Fci3m7S643HzKmIDAe+fiXrLqYsR2fs=",
"lastModified": 1754487366,
"narHash": "sha256-pHYj8gUBapuUzKV/kN/tR3Zvqc7o6gdFB9XKXIp1SQ8=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "f4330d22f1c5d2ba72d3d22df5597d123fdb60a9",
"rev": "af66ad14b28a127c5c0f3bbb298218fc63528a18",
"type": "github"
},
"original": {
@@ -154,11 +134,11 @@
]
},
"locked": {
"lastModified": 1738453229,
"narHash": "sha256-7H9XgNiGLKN1G1CgRh0vUL4AheZSYzPm+zmZ7vxbJdo=",
"lastModified": 1754487366,
"narHash": "sha256-pHYj8gUBapuUzKV/kN/tR3Zvqc7o6gdFB9XKXIp1SQ8=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "32ea77a06711b758da0ad9bd6a844c5740a87abd",
"rev": "af66ad14b28a127c5c0f3bbb298218fc63528a18",
"type": "github"
},
"original": {
@@ -169,7 +149,7 @@
},
"flake-utils": {
"inputs": {
"systems": "systems_3"
"systems": "systems_2"
},
"locked": {
"lastModified": 1731533236,
@@ -187,7 +167,7 @@
},
"flake-utils_2": {
"inputs": {
"systems": "systems_4"
"systems": "systems_3"
},
"locked": {
"lastModified": 1731533236,
@@ -232,37 +212,16 @@
]
},
"locked": {
"lastModified": 1753592768,
"narHash": "sha256-oV695RvbAE4+R9pcsT9shmp6zE/+IZe6evHWX63f2Qg=",
"lastModified": 1768949235,
"narHash": "sha256-TtjKgXyg1lMfh374w5uxutd6Vx2P/hU81aEhTxrO2cg=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "fc3add429f21450359369af74c2375cb34a2d204",
"rev": "75ed713570ca17427119e7e204ab3590cc3bf2a5",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "release-25.05",
"repo": "home-manager",
"type": "github"
}
},
"home-manager-us": {
"inputs": {
"nixpkgs": [
"nixpkgs-us"
]
},
"locked": {
"lastModified": 1754924470,
"narHash": "sha256-asI/or9AcUMydwzodCgpHGytnMSNUlciw3uaycpXm4E=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "67393957c27b4e4c6c48a60108a201413ced7800",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "master",
"ref": "release-25.11",
"repo": "home-manager",
"type": "github"
}
@@ -312,11 +271,11 @@
]
},
"locked": {
"lastModified": 1754305013,
"narHash": "sha256-u+M2f0Xf1lVHzIPQ7DsNCDkM1NYxykOSsRr4t3TbSM4=",
"lastModified": 1766946335,
"narHash": "sha256-MRD+Jr2bY11MzNDfenENhiK6pvN+nHygxdHoHbZ1HtE=",
"owner": "hyprwm",
"repo": "hyprgraphics",
"rev": "4c1d63a0f22135db123fc789f174b89544c6ec2d",
"rev": "4af02a3925b454deb1c36603843da528b67ded6c",
"type": "github"
},
"original": {
@@ -330,22 +289,23 @@
"aquamarine": "aquamarine",
"hyprcursor": "hyprcursor",
"hyprgraphics": "hyprgraphics",
"hyprland-guiutils": "hyprland-guiutils",
"hyprland-protocols": "hyprland-protocols",
"hyprland-qtutils": "hyprland-qtutils",
"hyprlang": "hyprlang",
"hyprutils": "hyprutils",
"hyprwayland-scanner": "hyprwayland-scanner",
"nixpkgs": "nixpkgs_2",
"hyprwire": "hyprwire",
"nixpkgs": "nixpkgs",
"pre-commit-hooks": "pre-commit-hooks",
"systems": "systems_2",
"systems": "systems",
"xdph": "xdph"
},
"locked": {
"lastModified": 1754935293,
"narHash": "sha256-aLnHm/FPjPR8Flv8ixBk+bmd10A8BZvtLe2i9WTzNfU=",
"lastModified": 1769095012,
"narHash": "sha256-vx8uFvwLPdrN7E0HgW1nc8+fTbTwcA7jkdwXoba8XUU=",
"ref": "refs/heads/main",
"rev": "cb6589db98325705cef5dcaf92ccdf41ab21386d",
"revCount": 6358,
"rev": "82de66a030e6818ec3d21f49c8cdf9db31eebfa6",
"revCount": 6831,
"submodules": true,
"type": "git",
"url": "https://github.com/hyprwm/Hyprland"
@@ -356,6 +316,52 @@
"url": "https://github.com/hyprwm/Hyprland"
}
},
"hyprland-guiutils": {
"inputs": {
"aquamarine": [
"hyprland",
"aquamarine"
],
"hyprgraphics": [
"hyprland",
"hyprgraphics"
],
"hyprlang": [
"hyprland",
"hyprlang"
],
"hyprtoolkit": "hyprtoolkit",
"hyprutils": [
"hyprland",
"hyprutils"
],
"hyprwayland-scanner": [
"hyprland",
"hyprwayland-scanner"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1767023960,
"narHash": "sha256-R2HgtVS1G3KSIKAQ77aOZ+Q0HituOmPgXW9nBNkpp3Q=",
"owner": "hyprwm",
"repo": "hyprland-guiutils",
"rev": "c2e906261142f5dd1ee0bfc44abba23e2754c660",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprland-guiutils",
"type": "github"
}
},
"hyprland-protocols": {
"inputs": {
"nixpkgs": [
@@ -368,11 +374,11 @@
]
},
"locked": {
"lastModified": 1749046714,
"narHash": "sha256-kymV5FMnddYGI+UjwIw8ceDjdeg7ToDVjbHCvUlhn14=",
"lastModified": 1765214753,
"narHash": "sha256-P9zdGXOzToJJgu5sVjv7oeOGPIIwrd9hAUAP3PsmBBs=",
"owner": "hyprwm",
"repo": "hyprland-protocols",
"rev": "613878cb6f459c5e323aaafe1e6f388ac8a36330",
"rev": "3f3860b869014c00e8b9e0528c7b4ddc335c21ab",
"type": "github"
},
"original": {
@@ -381,74 +387,6 @@
"type": "github"
}
},
"hyprland-qt-support": {
"inputs": {
"hyprlang": [
"hyprland",
"hyprland-qtutils",
"hyprlang"
],
"nixpkgs": [
"hyprland",
"hyprland-qtutils",
"nixpkgs"
],
"systems": [
"hyprland",
"hyprland-qtutils",
"systems"
]
},
"locked": {
"lastModified": 1749154592,
"narHash": "sha256-DO7z5CeT/ddSGDEnK9mAXm1qlGL47L3VAHLlLXoCjhE=",
"owner": "hyprwm",
"repo": "hyprland-qt-support",
"rev": "4c8053c3c888138a30c3a6c45c2e45f5484f2074",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprland-qt-support",
"type": "github"
}
},
"hyprland-qtutils": {
"inputs": {
"hyprland-qt-support": "hyprland-qt-support",
"hyprlang": [
"hyprland",
"hyprlang"
],
"hyprutils": [
"hyprland",
"hyprland-qtutils",
"hyprlang",
"hyprutils"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1753819801,
"narHash": "sha256-tHe6XeNeVeKapkNM3tcjW4RuD+tB2iwwoogWJOtsqTI=",
"owner": "hyprwm",
"repo": "hyprland-qtutils",
"rev": "b308a818b9dcaa7ab8ccab891c1b84ebde2152bc",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprland-qtutils",
"type": "github"
}
},
"hyprlang": {
"inputs": {
"hyprutils": [
@@ -465,11 +403,11 @@
]
},
"locked": {
"lastModified": 1753622892,
"narHash": "sha256-0K+A+gmOI8IklSg5It1nyRNv0kCNL51duwnhUO/B8JA=",
"lastModified": 1764612430,
"narHash": "sha256-54ltTSbI6W+qYGMchAgCR6QnC1kOdKXN6X6pJhOWxFg=",
"owner": "hyprwm",
"repo": "hyprlang",
"rev": "23f0debd2003f17bd65f851cd3f930cff8a8c809",
"rev": "0d00dc118981531aa731150b6ea551ef037acddd",
"type": "github"
},
"original": {
@@ -478,6 +416,58 @@
"type": "github"
}
},
"hyprtoolkit": {
"inputs": {
"aquamarine": [
"hyprland",
"hyprland-guiutils",
"aquamarine"
],
"hyprgraphics": [
"hyprland",
"hyprland-guiutils",
"hyprgraphics"
],
"hyprlang": [
"hyprland",
"hyprland-guiutils",
"hyprlang"
],
"hyprutils": [
"hyprland",
"hyprland-guiutils",
"hyprutils"
],
"hyprwayland-scanner": [
"hyprland",
"hyprland-guiutils",
"hyprwayland-scanner"
],
"nixpkgs": [
"hyprland",
"hyprland-guiutils",
"nixpkgs"
],
"systems": [
"hyprland",
"hyprland-guiutils",
"systems"
]
},
"locked": {
"lastModified": 1764592794,
"narHash": "sha256-7CcO+wbTJ1L1NBQHierHzheQGPWwkIQug/w+fhTAVuU=",
"owner": "hyprwm",
"repo": "hyprtoolkit",
"rev": "5cfe0743f0e608e1462972303778d8a0859ee63e",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprtoolkit",
"type": "github"
}
},
"hyprutils": {
"inputs": {
"nixpkgs": [
@@ -490,11 +480,11 @@
]
},
"locked": {
"lastModified": 1754481650,
"narHash": "sha256-6u6HdEFJh5gY6VfyMQbhP7zDdVcqOrCDTkbiHJmAtMI=",
"lastModified": 1766253372,
"narHash": "sha256-1+p4Kw8HdtMoFSmJtfdwjxM4bPxDK9yg27SlvUMpzWA=",
"owner": "hyprwm",
"repo": "hyprutils",
"rev": "df6b8820c4a0835d83d0c7c7be86fbc555f1f7fd",
"rev": "51a4f93ce8572e7b12b7284eb9e6e8ebf16b4be9",
"type": "github"
},
"original": {
@@ -515,11 +505,11 @@
]
},
"locked": {
"lastModified": 1751897909,
"narHash": "sha256-FnhBENxihITZldThvbO7883PdXC/2dzW4eiNvtoV5Ao=",
"lastModified": 1763640274,
"narHash": "sha256-Uan1Nl9i4TF/kyFoHnTq1bd/rsWh4GAK/9/jDqLbY5A=",
"owner": "hyprwm",
"repo": "hyprwayland-scanner",
"rev": "fcca0c61f988a9d092cbb33e906775014c61579d",
"rev": "f6cf414ca0e16a4d30198fd670ec86df3c89f671",
"type": "github"
},
"original": {
@@ -528,6 +518,35 @@
"type": "github"
}
},
"hyprwire": {
"inputs": {
"hyprutils": [
"hyprland",
"hyprutils"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1767473322,
"narHash": "sha256-RGOeG+wQHeJ6BKcsSB8r0ZU77g9mDvoQzoTKj2dFHwA=",
"owner": "hyprwm",
"repo": "hyprwire",
"rev": "d5e7d6b49fe780353c1cf9a1cf39fa8970bd9d11",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprwire",
"type": "github"
}
},
"ixx": {
"inputs": {
"flake-utils": [
@@ -544,16 +563,16 @@
]
},
"locked": {
"lastModified": 1729958008,
"narHash": "sha256-EiOq8jF4Z/zQe0QYVc3+qSKxRK//CFHMB84aYrYGwEs=",
"lastModified": 1754860581,
"narHash": "sha256-EM0IE63OHxXCOpDHXaTyHIOk2cNvMCGPqLt/IdtVxgk=",
"owner": "NuschtOS",
"repo": "ixx",
"rev": "9fd01aad037f345350eab2cd45e1946cc66da4eb",
"rev": "babfe85a876162c4acc9ab6fb4483df88fa1f281",
"type": "github"
},
"original": {
"owner": "NuschtOS",
"ref": "v0.0.6",
"ref": "v0.1.1",
"repo": "ixx",
"type": "github"
}
@@ -562,14 +581,14 @@
"inputs": {
"flake-compat": "flake-compat_2",
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs_3"
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1754879077,
"narHash": "sha256-Nx16zw0VTd0zSJLvIcB0AUM9xd0+wi8Vt9YP7nn4bOU=",
"lastModified": 1768962252,
"narHash": "sha256-HyWOOHcySV8rl36gs4+n0sxPinxpwWOgwXibfFPYeZ0=",
"owner": "Infinidoge",
"repo": "nix-minecraft",
"rev": "83390c41ec4d872e84abcf852b1c5b710a1f4512",
"rev": "433cf697394104123e1fd02fa689534ac1733bfa",
"type": "github"
},
"original": {
@@ -580,11 +599,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1725634671,
"narHash": "sha256-v3rIhsJBOMLR8e/RNWxr828tB+WywYIoajrZKFM+0Gg=",
"lastModified": 1767379071,
"narHash": "sha256-EgE0pxsrW9jp9YFMkHL9JMXxcqi/OoumPJYwf+Okucw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "574d1eac1c200690e27b8eb4e24887f8df7ac27c",
"rev": "fb7944c166a3b630f177938e478f0378e64ce108",
"type": "github"
},
"original": {
@@ -596,11 +615,11 @@
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1740877520,
"narHash": "sha256-oiwv/ZK/2FhGxrCkQkB83i7GnWXPPLzoqFHpDD3uYpk=",
"lastModified": 1753579242,
"narHash": "sha256-zvaMGVn14/Zz8hnp4VWT9xVnhc8vuL3TStRqwk22biA=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "147dee35aab2193b174e4c0868bd80ead5ce755c",
"rev": "0f36c44e01a6129be94e3ade315a5883f0228a6e",
"type": "github"
},
"original": {
@@ -611,11 +630,11 @@
},
"nixpkgs-us": {
"locked": {
"lastModified": 1754725699,
"narHash": "sha256-iAcj9T/Y+3DBy2J0N+yF9XQQQ8IEb5swLFzs23CdP88=",
"lastModified": 1769018530,
"narHash": "sha256-MJ27Cy2NtBEV5tsK+YraYr2g851f3Fl1LpNHDzDX15c=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "85dbfc7aaf52ecb755f87e577ddbe6dbbdbc1054",
"rev": "88d3861acdd3d2f0e361767018218e51810df8a1",
"type": "github"
},
"original": {
@@ -626,22 +645,6 @@
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1754725699,
"narHash": "sha256-iAcj9T/Y+3DBy2J0N+yF9XQQQ8IEb5swLFzs23CdP88=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "85dbfc7aaf52ecb755f87e577ddbe6dbbdbc1054",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1748929857,
"narHash": "sha256-lcZQ8RhsmhsK8u7LIFsJhsLh/pzR9yZ8yqpTzyGdj+Q=",
@@ -657,29 +660,29 @@
"type": "github"
}
},
"nixpkgs_4": {
"nixpkgs_3": {
"locked": {
"lastModified": 1754767907,
"narHash": "sha256-8OnUzRQZkqtUol9vuUuQC30hzpMreKptNyET2T9lB6g=",
"lastModified": 1768940263,
"narHash": "sha256-sJERJIYTKPFXkoz/gBaBtRKke82h4DkX3BBSsKbfbvI=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "c5f08b62ed75415439d48152c2a784e36909b1bc",
"rev": "3ceaaa8bc963ced4d830e06ea2d0863b6490ff03",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-25.05",
"ref": "nixos-25.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_5": {
"nixpkgs_4": {
"locked": {
"lastModified": 1742069588,
"narHash": "sha256-C7jVfohcGzdZRF6DO+ybyG/sqpo1h6bZi9T56sxLy+k=",
"lastModified": 1755615617,
"narHash": "sha256-HMwfAJBdrr8wXAkbGhtcby1zGFvs+StOp19xNsbqdOg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "c80f6a7e10b39afcc1894e02ef785b1ad0b0d7e5",
"rev": "20075955deac2583bb12f07151c2df830ef346b4",
"type": "github"
},
"original": {
@@ -689,13 +692,13 @@
"type": "github"
}
},
"nixpkgs_6": {
"nixpkgs_5": {
"locked": {
"lastModified": 1738797219,
"narHash": "sha256-KRwX9Z1XavpgeSDVM/THdFd6uH8rNm/6R+7kIbGa+2s=",
"lastModified": 1755577059,
"narHash": "sha256-5hYhxIpco8xR+IpP3uU56+4+Bw7mf7EMyxS/HqUYHQY=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "1da52dd49a127ad74486b135898da2cef8c62665",
"rev": "97eb7ee0da337d385ab015a23e15022c865be75c",
"type": "github"
},
"original": {
@@ -708,35 +711,36 @@
"nixvim": {
"inputs": {
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs_5",
"nixpkgs": "nixpkgs_4",
"nixvim": "nixvim_2"
},
"locked": {
"lastModified": 1742321392,
"narHash": "sha256-gqpGnLGwgVih4sa9tNsTjApy5PrAwOWLalAHQy0oPxM=",
"lastModified": 1760575893,
"narHash": "sha256-u6eyhxtlxgG29uI2VCSt5Ir6/BW9hkhglCTfbJ14Hgg=",
"ref": "refs/heads/master",
"rev": "24f67e26762b5ce7d1eabac6535aac004896c842",
"revCount": 32,
"rev": "bcc5185ef433a77b18f5aa585ee79d97f9a8e69c",
"revCount": 36,
"type": "git",
"url": "ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/Moirai"
"url": "https://gitea.esotericbytes.com/Blunkall-Technologies/Moirai"
},
"original": {
"type": "git",
"url": "ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/Moirai"
"url": "https://gitea.esotericbytes.com/Blunkall-Technologies/Moirai"
}
},
"nixvim_2": {
"inputs": {
"flake-parts": "flake-parts_2",
"nixpkgs": "nixpkgs_6",
"nuschtosSearch": "nuschtosSearch"
"nixpkgs": "nixpkgs_5",
"nuschtosSearch": "nuschtosSearch",
"systems": "systems_4"
},
"locked": {
"lastModified": 1741814789,
"narHash": "sha256-NbHsnnNwiYUcUaS4z8XK2tYpo3G8NXEKxaKkzMgMiLk=",
"lastModified": 1755741137,
"narHash": "sha256-YnpE/fOL3H8cJZ9by/YmeNhIqOQdKuZRYA1L3+w6WsI=",
"owner": "nix-community",
"repo": "nixvim",
"rev": "33097dcf776d1fad0ff3842096c4e3546312f251",
"rev": "91a38e66240c338e683421a4ee3f525d329fc4ad",
"type": "github"
},
"original": {
@@ -756,11 +760,11 @@
]
},
"locked": {
"lastModified": 1738508923,
"narHash": "sha256-4DaDrQDAIxlWhTjH6h/+xfG05jt3qDZrZE/7zDLQaS4=",
"lastModified": 1755555503,
"narHash": "sha256-WiOO7GUOsJ4/DoMy2IC5InnqRDSo2U11la48vCCIjjY=",
"owner": "NuschtOS",
"repo": "search",
"rev": "86e2038290859006e05ca7201425ea5b5de4aecb",
"rev": "6f3efef888b92e6520f10eae15b86ff537e1d2ea",
"type": "github"
},
"original": {
@@ -779,11 +783,11 @@
]
},
"locked": {
"lastModified": 1754416808,
"narHash": "sha256-c6yg0EQ9xVESx6HGDOCMcyRSjaTpNJP10ef+6fRcofA=",
"lastModified": 1767281941,
"narHash": "sha256-6MkqajPICgugsuZ92OMoQcgSHnD6sJHwk8AxvMcIgTE=",
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "9c52372878df6911f9afc1e2a1391f55e4dfc864",
"rev": "f0927703b7b1c8d97511c4116eb9b4ec6645a0fa",
"type": "github"
},
"original": {
@@ -794,18 +798,15 @@
},
"root": {
"inputs": {
"ags": "ags",
"disko": "disko",
"firefox-addons": "firefox-addons",
"home-manager": "home-manager",
"home-manager-us": "home-manager-us",
"hyprland": "hyprland",
"nix-minecraft": "nix-minecraft",
"nixpkgs": "nixpkgs_4",
"nixpkgs": "nixpkgs_3",
"nixpkgs-us": "nixpkgs-us",
"nixvim": "nixvim",
"sops-nix": "sops-nix",
"themecord": "themecord"
"sops-nix": "sops-nix"
}
},
"sops-nix": {
@@ -815,11 +816,11 @@
]
},
"locked": {
"lastModified": 1754328224,
"narHash": "sha256-glPK8DF329/dXtosV7YSzRlF4n35WDjaVwdOMEoEXHA=",
"lastModified": 1768863606,
"narHash": "sha256-1IHAeS8WtBiEo5XiyJBHOXMzECD6aaIOJmpQKzRRl64=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "49021900e69812ba7ddb9e40f9170218a7eca9f4",
"rev": "c7067be8db2c09ab1884de67ef6c4f693973f4a2",
"type": "github"
},
"original": {
@@ -845,16 +846,16 @@
},
"systems_2": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"repo": "default",
"type": "github"
}
},
@@ -888,26 +889,6 @@
"type": "github"
}
},
"themecord": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1743970059,
"narHash": "sha256-vwrIULP9VmYqhNtHcNaPat6OjKqbDgwf3qSypOusG9c=",
"owner": "danihek",
"repo": "themecord",
"rev": "2117717f830c4847eafc450319de26ae09ac9277",
"type": "github"
},
"original": {
"owner": "danihek",
"repo": "themecord",
"type": "github"
}
},
"xdph": {
"inputs": {
"hyprland-protocols": [
@@ -936,11 +917,11 @@
]
},
"locked": {
"lastModified": 1753633878,
"narHash": "sha256-js2sLRtsOUA/aT10OCDaTjO80yplqwOIaLUqEe0nMx0=",
"lastModified": 1761431178,
"narHash": "sha256-xzjC1CV3+wpUQKNF+GnadnkeGUCJX+vgaWIZsnz9tzI=",
"owner": "hyprwm",
"repo": "xdg-desktop-portal-hyprland",
"rev": "371b96bd11ad2006ed4f21229dbd1be69bed3e8a",
"rev": "4b8801228ff958d028f588f0c2b911dbf32297f9",
"type": "github"
},
"original": {

273
flake.nix
View File

@@ -2,37 +2,15 @@
description = "Nixos config flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
#nixpkgs.url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/nixpkgs?ref=nixos-24.11";
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
nixpkgs-us.url = "github:nixos/nixpkgs/nixos-unstable";
#nixpkgs-us.url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/nixpkgs?ref=nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager/release-25.05";
#url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/home-manager?ref=release-24.11";
url = "github:nix-community/home-manager/release-25.11";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager-us = {
url = "github:nix-community/home-manager/master";
#url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/home-manager?ref=release-24.11";
inputs.nixpkgs.follows = "nixpkgs-us";
};
#nixpkgs-droid.url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/nixpkgs?ref=nixos-24.05";
/*
home-manager-droid = {
url = "github:nix-community/home-manager/release-24.11";
#url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/home-manager?ref=release-24.05";
inputs.nixpkgs.follows = "nixpkgs-droid";
};
nix-on-droid = {
url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/nix-on-droid?ref=release-24.05";
inputs.nixpkgs.follows = "nixpkgs-droid";
};
*/
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
@@ -51,142 +29,179 @@
nix-minecraft.url = "github:Infinidoge/nix-minecraft";
#simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-24.05";
#simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-25.11";
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
#hyprland.url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/hyprland?submodules=1";
nixvim.url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/Moirai";
#nixvim.url = "git+https://gitea.blunkall.us/Blunkall-Technologies/Moirai";
ags.url = "github:Aylur/ags/v1";
themecord = {
url = "github:danihek/themecord";
inputs.nixpkgs.follows = "nixpkgs";
};
nixvim.url = "git+https://gitea.esotericbytes.com/Blunkall-Technologies/Moirai";
self.submodules = true;
};
outputs = { self, nixpkgs, home-manager, ... } @ inputs: {
nixosConfigurations = {
profiles = let
dir = builtins.readDir ./profiles;
filtered = builtins.filter (x: dir.${x} == "directory") (builtins.attrNames dir);
in (builtins.listToAttrs
(builtins.map
(name: ({
inherit name;
homebox = nixpkgs.lib.nixosSystem {
value = { ... }: {
imports = [
./system
./profiles/${name}
];
};
})) filtered)
);
homes = let
dir = builtins.readDir ./homes;
filtered = builtins.filter (x: dir.${x} == "directory") (builtins.attrNames dir);
in (builtins.listToAttrs
(builtins.map
(name: ({
inherit name;
value = { ... } @ exputs: {
imports = [ (import ./homes/${name}/home-manager (exputs // inputs)) ];
};
})) filtered)
);
iso = (nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inputs = inputs // {
nathan = import ./home-manager/users/nathan;
home-manager-config = import ./home-manager;
nathan = self.homes.nathan;
inherit self;
};
};
modules = [
./system-config/configuration/homebox
./system-config
self.profiles.iso
];
}).config.system.build.isoImage;
templates = {
nixos = {
welcomeText = ''
#Welcome to Olympus!
Have Fun!
'';
description = ''
Generate this where you want your config.
'';
path = ./templates/nixos;
};
laptop = nixpkgs.lib.nixosSystem {
specialArgs = {
inputs = inputs // {
nathan = import ./home-manager/users/nathan;
home-manager-config = import ./home-manager;
inherit self;
};
};
modules = [
./system-config/configuration/laptop
./system-config
];
home-manager = {
welcomeText = ''
#Welcome to Olympus!
Have Fun!
'';
description = ''
Generate this where you want your config.
'';
path = ./templates/home-manager;
};
jesstop = nixpkgs.lib.nixosSystem {
specialArgs = {
inputs = inputs // {
};
};
modules = [
./system-config/configuration/jesstop
./system-config
];
nix-on-droid = {
welcomeText = ''
#Welcome to Olympus!
Have Fun!
'';
description = ''
Generate this where you want your config.
'';
path = ./templates/nix-on-droid;
};
pi4 = {
system = "aarch64-linux";
specialArgs = {
inputs = inputs // {
nathan-home-manager = import ./home-manager/nathan;
};
};
modules = [
./system-config/configuration/pi4
./system-config
];
machines = let
dir = builtins.readDir ./machines;
filtered = builtins.filter (x: dir.${x} == "directory") (builtins.attrNames dir);
in (builtins.listToAttrs
(builtins.map
(name: ({
inherit name;
value = {
welcomeText = ''
#Welcome to Olympus!
##Warning:
This is a config for ${name}, an established machine!
It may require significant alterations to be usable!
'';
description = ''
Generate this where you want your config.
'';
path = ./machines/${name};
};
live = nixpkgs.lib.nixosSystem {
specialArgs = {
inputs = inputs // {
nathan-home-manager = import ./home-manager/nathan;
};
};
modules = [
./system-config/configuration/live
./system-config
];
})) filtered)
);
homes = let
dir = builtins.readDir ./homes;
filtered = builtins.filter (x: dir.${x} == "directory") (builtins.attrNames dir);
in (builtins.listToAttrs
(builtins.map
(name: ({
inherit name;
value = {
welcomeText = ''
#Welcome home, ${name}!
Your config is right here.
'';
description = ''
Generate this where you want your config.
'';
path = ./homes/${name};
};
container = nixpkgs.lib.nixosSystem {
specialArgs = {
inputs = inputs // {
nathan-home-manager = import ./home-manager/nathan;
})) filtered)
);
default = self.templates.nixos;
};
};
modules = [
./system-config/configuration/sandbox-nathan
./system-config
];
};
};
/*
nixOnDroidConfigurations.default = inputs.nix-on-droid.lib.nixOnDroidConfiguration {
pkgs = import nixpkgs { system = "aarch64-linux"; };
nixosConfigurations = let
dir = builtins.readDir ./machines;
filtered = builtins.filter (x: dir.${x} == "directory" && x != "android") (builtins.attrNames dir);
in (builtins.listToAttrs
(builtins.map
(name: ({
inherit name;
value = nixpkgs.lib.nixosSystem {
specialArgs = inputs;
modules = [
{
home-manager.extraSpecialArgs = {
inputs = inputs // {
nix-on-droid-home-manager = import ./home-manager/nix-on-droid;
};
};
}
./system-config/configuration/android
./system-config
{ sysconfig.host = name; }
./machines/${name}
self.profiles.${name}
];
};
*/
homeConfigurations = {
nathan = home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs {
system = builtins.currentSystem;
};
modules = [
./home-manager
{
homeconfig = {
username = "nathan";
graphical = false;
minimal = false;
};
}
];
extraSpecialArgs = {
inherit inputs;
};
};
};
})) filtered)
);
};
}

View File

@@ -1,38 +0,0 @@
{ config, lib, ... }: {
imports = [
./programs
./services
];
options.homeconfig = with lib; {
host = mkOption {
type = with types; nullOr str;
default = null;
};
name = mkOption {
type = with types; nullOr str;
default = null;
};
graphical = mkOption {
type = with types; bool;
default = true;
};
standalone.enable = mkOption {
type = with types; bool;
default = false;
};
};
config = {
home.username = lib.mkDefault config.homeconfig.name;
home.homeDirectory = lib.mkDefault "/home/${config.home.username}";
programs.home-manager.enable = config.homeconfig.standalone.enable;
};
}

View File

@@ -1,58 +0,0 @@
{ config, lib, pkgs, ... }: {
imports = [
./programs
./services
./packages
./dotfiles
];
options.homeconfig = {
host = lib.options.mkOption {
type = lib.types.str;
default = null;
};
home-manager.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
};
config = {
home.stateVersion = "23.11";
home.username = "nathan";
home.homeDirectory = "/home/nathan";
home.pointerCursor = {
gtk.enable = true;
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Classic";
size = 16;
};
gtk = {
enable = true;
theme.name = "Tokyonight-Dark";
theme.package = pkgs.tokyonight-gtk-theme;
iconTheme.package = pkgs.rose-pine-icon-theme;
iconTheme.name = "rose-pine-moon";
};
sops = {
age.keyFile = "/home/nathan/.config/sops/age/keys.txt";
defaultSopsFile = ./secrets.yaml;
defaultSopsFormat = "yaml";
};
services.mpris-proxy.enable = true;
programs.ssh.enable = true;
programs.home-manager.enable = config.homeconfig.home-manager.enable;
};
}

View File

@@ -1,15 +0,0 @@
# Starter Config
if suggestions don't work, first make sure
you have TypeScript LSP working in your editor
if you do not want typechecking only suggestions
```json
// tsconfig.json
"checkJs": false
```
types are symlinked to:
/home/nathan/.nix-profile/share/com.github.Aylur.ags/types

View File

@@ -1,34 +0,0 @@
const bluetooth = await Service.import("bluetooth")
export function ConnectedList() {
return Widget.Box({
class_name: "btdevices",
setup: self => self.hook(bluetooth, self => {
self.children = bluetooth.connected_devices
.map(({ address, icon_name, name }) => Widget.EventBox({
child: Widget.Icon(icon_name + '-symbolic'),
tooltip_text: name,
on_primary_click: () => {
bluetooth.getDevice(address).setConnection(false)
},
}));
self.visible = bluetooth.connected_devices.length > 0;
}, 'notify::connected-devices'),
})
}
export default function Bluetooth() {
return Widget.EventBox({
tooltip_text: bluetooth.bind('enabled').as(on => on ? 'Enabled' : 'Disabled'),
child: Widget.Icon({
icon: bluetooth.bind('enabled').as(on =>
`bluetooth-${on ? 'active' : 'disabled'}-symbolic`),
})
})
}

View File

@@ -1,14 +0,0 @@
const date = Variable("", {
poll: [1000, 'date "+%H:%M %b %e."'],
})
function Clock() {
return Widget.Label({
class_name: "clock",
label: date.bind(),
})
}
export default Clock

View File

@@ -1,132 +0,0 @@
const hyprland = await Service.import("hyprland")
//const systemtray = await Service.import("systemtray")
import Clock from './clock.js'
import Launcher from './launcher.js'
import Media from './media.js'
import Notification from './notif.js'
import Power from './power.js'
import Workspaces from './workspaces.js'
import Settings, {SettingsWindow} from './settings.js'
import { ConnectedList } from './bluetooth.js'
import { NotificationPopups } from './notification.js'
// widgets can be only assigned as a child in one container
// so to make a reuseable widget, make it a function
// then you can simply instantiate one by calling it
//////////////////////////////////////////////////////////////
// layout of the bar
function Left() {
return Widget.Box({
spacing: 8,
margin_bottom: 5,
children: [
Launcher(),
Workspaces(),
],
})
}
function Center() {
return Widget.Box({
spacing: 8,
margin_bottom: 5,
children: [
Media(),
Clock(),
Notification(),
],
})
}
function Right() {
return Widget.Box({
hpack: "end",
spacing: 8,
margin_bottom: 5,
children: [
ConnectedList(),
Settings(),
Power(),
],
})
}
///////////////////////////////////////////////////////////
//windows
function Bar(monitor = 0) {
return Widget.Window({
name: `bar-${monitor}`, // name has to be unique
class_name: "bar",
monitor,
anchor: ["top", "left", "right"],
height_request: 32,
vexpand: false,
exclusivity: "exclusive",
child: Widget.CenterBox({
start_widget: Left(),
center_widget: Center(),
end_widget: Right(),
}),
})
}
function pickMonitor() {
let n = 0
for(let i = 0; i < hyprland.monitors.length; i++) {
print(hyprland.getMonitor(i).name)
if(hyprland.getMonitor(i).name == 'eDP-1')
n = i
break
}
return n;
}
////////////////////////////////////////////////////////////
//App config
let m = 0
App.config({
style: "/home/nathan/.cache/wal/colors-ags.css",
windows: [
Bar(m),
SettingsWindow(m),
NotificationPopups(m)
// you can call it, for each monitor
// Bar(0),
// Bar(1)
],
})
App.toggleWindow(App.windows[1].name)
// Utils.timeout(100, () => Utils.notify({
// summary: "Notification Popup Example",
// iconName: "info-symbolic",
// body: "Lorem ipsum dolor sit amet, qui minim labore adipisicing "
// + "minim sint cillum sint consectetur cupidatat.",
// actions: {
// "Cool": () => print("pressed Cool"),
// },
// }))
Utils.monitorFile(`/home/nathan/.cache/wal`, () => {
const css = `/home/nathan/.cache/wal/colors-ags.css`
App.resetCss()
App.applyCss(css)
})
export { }

View File

@@ -1,141 +0,0 @@
const mpris = await Service.import("mpris")
export default function Media() {
const track = Utils.watch("", mpris, "player-changed", () => {
if (mpris.players[0]) {
const { track_artists, track_title } = mpris.players[0]
return `${track_artists.join(", ")} -${track_title}`
} else {
return "Nothing is playing"
}
})
return Widget.EventBox({
class_name: "media",
on_primary_click: () => mpris.getPlayer("")?.playPause(),
on_scroll_up: () => mpris.getPlayer("")?.next(),
on_scroll_down: () => mpris.getPlayer("")?.previous(),
child: Widget.Icon({icon: 'emblem-music-symbolic'}),
})
}
function PlayerImg(player) {
return Widget.Box({
hpack: "start",
width_request: 80,
height_request: 80,
css: player.bind("track_cover_url").transform(p => `
background-image: url('${p || player.cover_path || '/home/nathan/Pictures/symbols/audio.png'}');
background-size: contain;
background-repeat: no-repeat;
background-position: center;
`),
})
}
function PlayerGUI(player) {
return Widget.Box({
class_name: "playerbox",
height_request: 200,
vexpand: false,
vertical: true,
children: [
Widget.Box({
vertical: false,
margin: 15,
hpack: "start",
spacing: 20,
children: [
PlayerImg(player),
Widget.Box({
vertical: true,
children: [
Widget.Label({
hpack: "start",
max_width_chars: 30,
truncate: "end",
label: player.bind('track-title').as(t => t)
}),
Widget.Label({
hpack: "start",
max_width_chars: 30,
truncate: "end",
label: player.bind("track_artists").transform(a => a.join(", ")),
wrap: true,
}),
Widget.Label({
hpack: "start",
max_width_chars: 30,
truncate: "end",
label: player.bind('track-album').as(t => t)
}),
]
})
],
}),
Widget.Slider({
class_name: "position",
draw_value: false,
on_change: ({ value }) => player.position = value * player.length,
visible: player.bind("length").as(l => l > 0),
setup: self => {
function update() {
const value = player.position / player.length
self.value = value > 0 ? value : 0
}
self.hook(player, update)
self.hook(player, update, "position")
self.poll(1000, update)
},
}),
Widget.Box({
vertical: false,
hpack: "center",
spacing: 20,
children: [
Widget.Button({
child: Widget.Icon({ icon: 'media-skip-backward-symbolic'}),
on_primary_click: () => player.previous()
}),
Widget.Button({
child: Widget.Icon({ icon: player.bind("play_back_status").transform(s => {
switch (s) {
case "Playing": return 'media-playback-pause-symbolic'
case "Paused":
case "Stopped": return 'media-playback-start-symbolic'
}
}),
}),
on_primary_click: () => player.playPause(),
}),
Widget.Button({
child: Widget.Icon({ icon: 'media-skip-forward-symbolic'}),
on_primary_click: () => player.next()
})
]
})
],
setup: self => {
},
})
}
export function Players() {
const plrs = mpris.bind('players')
.as(p => p.map((v) => PlayerGUI(v)))
return Widget.Box({
vertical: true,
children: plrs,
})
}

View File

@@ -1,22 +0,0 @@
const notifications = await Service.import("notifications")
// we don't need dunst or any other notification daemon
// because the Notifications module is a notification daemon itself
export default function Notification() {
const popups = notifications.bind("popups")
return Widget.EventBox({
class_name: "notificationbutton",
visible: true,
on_primary_click: () => {},
child: Widget.Icon({
icon: "preferences-system-notifications-symbolic",
}),
})
}
// Widget.Label({
// label: popups.as(p => p[0]?.summary || ""),
// }),

View File

@@ -1,131 +0,0 @@
const notifications = await Service.import("notifications")
/** @param {import('resource:///com/github/Aylur/ags/service/notifications.js').Notification} n */
function NotificationIcon({ app_entry, app_icon, image }) {
if (image) {
return Widget.Box({
css: `background-image: url("${image}");`
+ "background-size: contain;"
+ "background-repeat: no-repeat;"
+ "background-position: center;",
})
}
let icon = "dialog-information-symbolic"
if (Utils.lookUpIcon(app_icon))
icon = app_icon
if (app_entry && Utils.lookUpIcon(app_entry))
icon = app_entry
return Widget.Box({
child: Widget.Icon(icon),
})
}
/** @param {import('resource:///com/github/Aylur/ags/service/notifications.js').Notification} n */
function Notification(n) {
const icon = Widget.Box({
vpack: "start",
class_name: "icon",
child: NotificationIcon(n),
})
const title = Widget.Label({
class_name: "title",
xalign: 0,
justification: "left",
hexpand: true,
max_width_chars: 24,
truncate: "end",
wrap: true,
label: n.summary,
use_markup: true,
})
const body = Widget.Label({
class_name: "body",
hexpand: true,
use_markup: true,
xalign: 0,
justification: "left",
label: n.body,
wrap: true,
})
const actions = Widget.Box({
class_name: "actions",
children: n.actions.map(({ id, label }) => Widget.Button({
class_name: "action-button",
on_clicked: () => {
n.invoke(id)
n.dismiss()
},
hexpand: true,
child: Widget.Label(label),
})),
})
return Widget.EventBox(
{
attribute: { id: n.id },
on_primary_click: n.dismiss,
},
Widget.Box(
{
class_name: `notification ${n.urgency}`,
vertical: true,
},
Widget.Box([
icon,
Widget.Box(
{ vertical: true },
title,
body,
),
]),
actions,
),
)
}
export function NotificationPopups(monitor = 0) {
const list = Widget.Box({
vertical: true,
children: notifications.popups.map(Notification),
})
function onNotified(_, /** @type {number} */ id) {
const n = notifications.getNotification(id)
if (n)
list.children = [Notification(n), ...list.children]
}
function onDismissed(_, /** @type {number} */ id) {
list.children.find(n => n.attribute.id === id)?.destroy()
}
list.hook(notifications, onNotified, "notified")
.hook(notifications, onDismissed, "dismissed")
return Widget.Window({
monitor,
name: `notifications${monitor}`,
class_name: "notification-popups",
anchor: ["top", "right"],
layer: "overlay",
child: Widget.Box({
css: "min-width: 2px; min-height: 2px;",
class_name: "notifications",
vertical: true,
child: list,
/** this is a simple one liner that could be used instead of
hooking into the 'notified' and 'dismissed' signals.
but its not very optimized becuase it will recreate
the whole list everytime a notification is added or dismissed */
// children: notifications.bind('popups')
// .as(popups => popups.map(Notification))
}),
})
}

View File

@@ -1,44 +0,0 @@
function Power() {
return Widget.Box({
vertical: false,
spacing: 8,
children: [
Widget.EventBox({
child: Widget.Icon({icon: 'system-reboot-symbolic'}),
margin_right: 10,
class_name: 'restart',
tooltip_text: 'restart',
on_primary_click: () => {App.Quit(); Utils.execAsync('reboot')},
}),
Widget.EventBox({
child: Widget.Icon({icon: 'system-log-out-symbolic'}),
margin_right: 10,
class_name: 'logout',
tooltip_text: 'log out',
on_primary_click: () => {App.Quit(); Utils.execAsync('loginctl kill-session self')},
}),
Widget.EventBox({
child: Widget.Icon({icon: 'system-lock-screen-symbolic'}),
margin_right: 10,
class_name: 'lockscreen',
tooltip_text: 'lock screen',
on_primary_click: () => {Utils.exec('swaylock')},
}),
Widget.EventBox({
child: Widget.Icon({icon: 'system-shutdown-symbolic'}),
margin_right: 10,
class_name: 'poweroff',
tooltip_text: 'shutdown',
on_primary_click: () => {App.Quit(); Utils.execAsync('shutdown now')},
})
],
})
}
export default Power

View File

@@ -1,125 +0,0 @@
const audio = await Service.import("audio")
const battery = await Service.import("battery")
const mpris = await Service.import("mpris")
import Bluetooth from "./bluetooth.js"
import WifiIndicator from "./wifi.js"
import { Players } from "./media.js"
export function Volume() {
const icons = {
101: "high",
67: "high",
34: "medium",
1: "low",
0: "muted",
}
function getIcon() {
const icon = audio.speaker.is_muted ? 0 : [101, 67, 34, 1, 0].find(
threshold => threshold <= audio.speaker.volume * 100)
return `audio-volume-${icons[icon]}-symbolic`
}
return Widget.EventBox({
tooltip_text: '',
setup: (self) => self.hook(audio.speaker, () => {
self.tooltip_text = `Volume: ${(100 * audio.speaker.volume).toFixed(0)}%`
}),
child: Widget.Icon({
class_name: "volume",
icon: Utils.watch(getIcon(), audio.speaker, getIcon),
})
})
}
// const slider = Widget.Slider({
// hexpand: true,
// draw_value: false,
// inverted: true,
// on_change: ({ value }) => audio.speaker.volume = value,
// setup: (self) => self.hook(audio.speaker, () => {
// self.value = audio.speaker.volume || 0
// }),
// })
export function BatteryLabel() {
const value = battery.bind("percent").as(p => p > 0 ? p / 100 : 0)
const icon = battery.bind("percent").as(p =>
`battery-${p > 90 ? "full" : p > 70 ? "good" : p > 50 ? "medium" : p > 30 ? "low" : p > 10 ? "caution" : "empty"}-symbolic`)
return Widget.Box({
class_name: "battery",
visible: battery.bind("available"),
child: Widget.EventBox({
child: Widget.Icon({ icon }),
tooltip_text: value.as(p => `Battery: ${(p * 100).toFixed(0)}%`)
}),
})
}
function Panel() {
return Widget.Box({
height_request: 200,
css: 'background: black;',
})
}
export function SettingsWindow(monitor = 0) {
return Widget.Window({
monitor,
name: `Settings-${monitor}`,
anchor: ["top", "bottom", "right"],
margins: [50, 0, 10, 0],
width_request: 400,
exclusivity: "ignore",
layer: "top",
class_name: "SettingsWindow",
child: Widget.Box({
class_name: "settings_window",
child: Widget.Scrollable({
vscroll: "always",
hscroll: "never",
hexpand: true,
vexpand: true,
margin: 20,
child: Widget.Box({
vertical: true,
children: [
Panel(),
Players()
]
}),
}),
}),
})
}
export default function Settings() {
return Widget.Button({
tooltip_text: 'Settings',
attribute: false,
margin_right: 8,
child: Widget.Box({
spacing: 8,
children: [
Bluetooth(),
WifiIndicator(),
BatteryLabel(),
Volume(),
],
}),
on_clicked: (self) => {
self.attribute = !self.attribute
App.toggleWindow(App.windows[1].name)
},
})
}

View File

@@ -1,174 +0,0 @@
window.bar {
background-color: rgb(36, 40, 59);
color: rgb(200, 200, 200);
}
window.win {
background-color: transparent;
color: rgb(200, 200, 200);
}
.booox {
color: white;
background-color: white;
}
.playerbox {
background-color: rgb(73, 81, 121);
color:rgb(73, 81, 121);
border: 3px solid black;
border-radius: 15px;
}
.launcher {
color: aqua;
background: none;
border: none;
}
box {
color: aqua;
}
Window.SettingsWindow {
background-color: black;
color: black;
}
.settings_window {
background-color: rgb(36, 40, 59);
color: teal;
border-radius: 15px;
}
.focused {
color: aqua;
}
.other {
color: teal;
}
.media {
color: aqua;
}
.media:active {
background-color: aqua;
}
button {
min-width: 0;
padding-top: 0;
padding-bottom: 0;
background: none;
border: none;
padding: 0px;
padding-left: 5px;
padding-right: 5px;
color: aqua;
}
button:active {
background-color: aqua;
}
button:hover {
border-bottom: 3px solid teal;
}
label {
font-weight: bold;
}
.workspaces button.focused {
border-bottom: 3px solid aqua;
}
.client-title {
color: rgb(200, 200, 200);
}
.clock {
color: rgb(200, 200, 200);
}
.notification {
color: yellow;
}
levelbar block,
highlight {
min-height: 4px;
}
/************************************/
window.notification-popups box.notifications {
padding: .5em;
}
.icon {
min-width: 68px;
min-height: 68px;
margin-right: 1em;
}
.icon image {
font-size: 58px;
/* to center the icon */
margin: 5px;
color: yellow;
}
.icon box {
min-width: 68px;
min-height: 68px;
border-radius: 7px;
}
.notificationbutton {
color: teal;
}
.notification {
min-width: 350px;
border-radius: 11px;
padding: 1em;
margin: .5em;
border: 1px solid blue;
background-color: rgb(36, 40, 59);
}
.notification.critical {
border: 1px solid lightcoral;
}
.title {
color: black;
font-size: 1.4em;
}
.body {
color: red;
}
.actions .action-button {
margin: 0 .4em;
margin-top: .8em;
}
.actions .action-button:first-child {
margin-left: 0;
}
.actions .action-button:last-child {
margin-right: 0;
}

View File

@@ -1,30 +0,0 @@
const network = await Service.import('network')
export default function WifiIndicator() {
return Widget.Box({
child: Widget.EventBox({
child: Widget.Icon({
icon: 'network-wireless-disconnected-symbolic',
}),
setup: self => self.hook(network.wifi, () => {
self.child.icon = network.wifi.icon_name == 'network-wireless-disabled-symbolic' ? 'network-wireless-disconnected-symbolic' : network.wifi.icon_name
self.tooltip_text = network.wifi.ssid ? network.wifi.ssid : network.wifi.internet
}),
tooltip_text: 'disconnected',
}),
})
}
// const WiredIndicator = () => Widget.Icon({
// icon: network.wired.bind('icon_name'),
// })
// const NetworkIndicator = () => Widget.Stack({
// children: {
// wifi: WifiIndicator(),
// wired: WiredIndicator(),
// },
// shown: network.bind('primary').as(p => p || 'wifi'),
// })

View File

@@ -1,37 +0,0 @@
const hyprland = await Service.import("hyprland")
function ClientTitle() {
return Widget.Label({
class_name: "client-title",
max_width_chars: 30,
truncate: "end",
label: hyprland.active.client.bind("title"),
})
}
function Workspaces() {
const activeId = hyprland.active.workspace.bind("id")
const workspaces = hyprland.bind("workspaces")
.as(ws => ws.map(({ id }) => id > 0 ? Widget.Button({
on_clicked: () => hyprland.messageAsync(`dispatch workspace ${id}`),
child: Widget.Label(`${id}`),
class_name: activeId.as(i => `${i === id ? "focused" : "other"}`),
margin_left: 10,
}) : null
).sort((a, b) => { return a && b ? Number(a.child.label) - Number(b.child.label) : a ? -1 : 1 }))
return Widget.CenterBox({
spacing: 8,
start_widget: Widget.Box({
class_name: "workspaces",
spacing: 0,
children: workspaces
}),
end_widget: ClientTitle(),
})
}
export default Workspaces

View File

@@ -1,12 +0,0 @@
{ config, lib, ... }: {
home.file = {
".config/ags" = { source = ./ags; recursive = true; };
".config/hypr" = { source = ./hypr; recursive = true; };
".config/swaylock" = { source = ./swaylock; recursive = true; };
".config/wal/templates" = { source = ./wal/templates; recursive = true; };
".config/zsh" = { source = ./zsh; recursive = true; };
"Pictures/Wallpaper" = { source = ./Wallpaper; recursive = true; };
};
}

View File

@@ -1 +0,0 @@

View File

@@ -1,22 +0,0 @@
[pyprland]
plugins = [
"scratchpads"
]
[scratchpads.nvim]
animation = "fromTop"
command = "kitty --class scratchpad-nvim -e nvim ~/Projects"
lazy = false
class = "scratchpad-nvim"
margin = 100
multi = true
excludes = "*"
[scratchpads.free]
animation = "fromBottom"
command = "kitty --class scratchpad -e tmux"
class = "scratchpad"
lazy = false
margin = 100
multi = true
excludes = "*"

View File

@@ -1,161 +0,0 @@
window.bar {{
background-color: {color1.rgba};
color: {color1.rgba};
opacity: 1;
}}
.playerbox {{
background-color: {color2};
color:rgb(73, 81, 121);
border: 3px solid black;
border-radius: 15px;
}}
.launcher {{
background: none;
border: none;
}}
box {{
color: {color11};
}}
Window.SettingsWindow {{
background-color: black;
color: black;
}}
.settings_window {{
background-color: {color1.rgba};
border-radius: 15px;
}}
.focused {{
color: {color11};
}}
.other {{
color: {color3};
}}
.media {{
color: {color11};
}}
.media:active {{
background-color: {color11};
}}
button {{
min-width: 0;
padding-top: 0;
padding-bottom: 0;
background: none;
border: none;
padding: 0px;
padding-left: 5px;
padding-right: 5px;
color: {color11};
}}
button:active {{
background-color: {color11};
}}
button:hover {{
border-bottom: 3px solid {color3};
}}
label {{
font-weight: bold;
}}
.workspaces button.focused {{
border-bottom: 3px solid {color11};
}}
.client-title {{
color: {color11};
}}
.clock {{
color: {color11};
}}
.notification {{
color: yellow;
}}
levelbar block,
highlight {{
min-height: 4px;
}}
/************************************/
window.notification-popups box.notifications {{
padding: .5em;
}}
.icon {{
min-width: 68px;
min-height: 68px;
margin-right: 1em;
}}
.icon image {{
font-size: 58px;
/* to center the icon */
margin: 5px;
color: yellow;
}}
.icon box {{
min-width: 68px;
min-height: 68px;
border-radius: 7px;
}}
.notificationbutton {{
color: {color3};
}}
.notification {{
min-width: 350px;
border-radius: 11px;
padding: 1em;
margin: .5em;
border: 1px solid blue;
background-color: {color2};
}}
.notification.critical {{
border: 1px solid lightcoral;
}}
.title {{
color: aqua;
font-size: 1.4em;
}}
.body {{
color: teal;
}}
.actions .action-button {{
margin: 0 .4em;
margin-top: .8em;
}}
.actions .action-button:first-child {{
margin-left: 0;
}}
.actions .action-button:last-child {{
margin-right: 0;
}}

View File

@@ -1,99 +0,0 @@
{ config, lib, pkgs, inputs, ... }: let
system = "x86_64-linux";
pkgs-us = import inputs.nixpkgs-us {
inherit system;
config.allowUnfree = true;
};
in {
imports = [
./scripts
];
options.homeconfig.minimal = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = {
nixpkgs.config = lib.mkIf (!config.homeconfig.minimal) {
allowUnfree = true;
};
home.packages = with pkgs; let
pypkgs = ps: with ps; [
numpy
matplotlib
scipy
pandas
pyaudio
pyusb
debugpy
requests
];
in [
killall
btop
zip
unzip
gcc
zulu
rsync
lxqt.lxqt-policykit
blueberry
wl-clipboard
xfce.thunar
grim
slurp
curl
wget
] ++ (if !config.homeconfig.minimal then [
cava
android-tools
neovim-remote
handbrake
quickemu
bottles
(pkgs.python312.withPackages pypkgs)
brightnessctl
libdbusmenu-gtk3
lmms
#unfree {
geogebra
spotify
pkgs-us.rustdesk-flutter
#}
neofetch
pkgs-us.mpv
ncmpcpp
playerctl
mpc-cli
vlc
pavucontrol
ffmpeg
rpi-imager
tigervnc
keepassxc
#3D modeling/printing
blender
freecad-wayland
cura-appimage
#productivity
libreoffice
#games
prismlauncher
] else []);
};
}

View File

@@ -1,95 +0,0 @@
{ config, lib, pkgs, ... }: {
options = {
homeScripts.enable = lib.options.mkOption {
type = lib.types.bool;
default = true;
};
};
config = lib.mkIf config.homeScripts.enable {
home.packages = [
#scripts
(pkgs.writeShellScriptBin "_systemRebuild" ''
${pkgs.nh}/bin/nh os switch --ask /home/nathan/Projects/Olympus
echo //////Enter to close//////
read
'')
(pkgs.writeShellScriptBin "_homeRebuild" ''
${pkgs.nh}/bin/nh home switch --ask /home/nathan/Projects/Olympus
echo //////Enter to close//////
read
'')
(pkgs.writeShellScriptBin "randWallpaper" ''
file=$(ls /home/nathan/Pictures/Wallpaper/ | shuf -n 1)
setWallpaper /home/nathan/Pictures/Wallpaper/$file
'')
(pkgs.writeShellScriptBin "setWallpaper" ''
img=''$(realpath ''${1:-~/.cache/bg})
${pkgs.swww}/bin/swww img ''$img
changeColors ''$img ''$2
'')
(pkgs.writeShellScriptBin "changeColors" ''
if [[ $(ls ~/.cache/ | grep bga) != bga ]]; then
echo 100 > ~/.cache/bga
fi
alpha=''${2:-`cat ~/.cache/bga`}
img=''$(realpath ''${1:-~/.cache/bg})
if [[ $alpha -lt 0 ]]; then
$alpha=0
fi
if [[ $alpha -gt 100 ]]; then
$alpha=100
fi
wal -i $img -a $alpha --cols16 -n
echo $alpha > ~/.cache/bga
rm ~/.cache/bg
ln -s $img ~/.cache/bg
sleep 0.4
pywalfox update &
themecord > ~/.cache/_.txt && rm ~/.cache/_.txt
[[ $(pidof cava) != "" ]] && pkill -USR1 cava &
for i in $(ls /run/user/1000 | grep nvim); do nvr -s --servername /run/user/1000/$i --remote-send '<cmd>colorscheme pywal<CR>'; done
pkill -USR1 kitty
'')
(pkgs.writeShellScriptBin "onSystemStart" ''
${pkgs.swww}/bin/swww-daemon &
randWallpaper &
ags &
pypr &
lxqt-policykit-agent &
# nmcli device wifi connect EagleNet password '~?C#@ZiH' &
hyprctl setcursor Bibata-Modern-Classic 16 &
sleep 3
hyprctl reload &
#tmux new-session -s hyprland
'')
(pkgs.writeShellScriptBin "colorPrefix" ''
exec -a "$0" "$@" &
sleep 0.4 && changeColors &
'')
];
};
}

View File

@@ -1,39 +0,0 @@
{ config, lib, pkgs, inputs, ... }: {
imports = [ inputs.ags.homeManagerModules.default ];
options.homeconfig.ags.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.homeconfig.ags.enable {
programs.ags = {
enable = true;
extraPackages = with pkgs; [
gtksourceview
webkitgtk
accountsservice
];
};
home.file.".config/ags/launcher.js".text = /*javascript*/ ''
function Launcher() {
return Widget.EventBox({
class_name: "launcher",
hpack: "center",
child: Widget.Icon({
icon: '${pkgs.nixos-icons}/share/icons/hicolor/48x48/apps/nix-snowflake.png',
css: 'font-size: 24px;'
}),
on_primary_click: () => {Utils.execAsync('rofi -show drun')},
margin_left: 10,
})
}
export default Launcher
'';
};
}

View File

@@ -1,12 +0,0 @@
{ config, lib, pkgs, ... }: {
options.homeconfig.ags2.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.homeconfig.ags2.enable {
};
}

View File

@@ -1,24 +0,0 @@
{ config, lib, pkgs, inputs, ... }: {
imports = [
./ags
./git
./nh
./hyprland
./terminal
./rofi
./pywal
./swaylock
./calcurse
./firefox
];
config = {
home.packages = lib.mkIf (!config.homeconfig.wal.enable) [
inputs.nixvim.packages.${pkgs.system}.default
];
home.sessionVariables.EDITOR = "nvim";
};
}

View File

@@ -1,43 +0,0 @@
{ config, lib, pkgs, ... }: {
options.homeconfig.hyprland.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.homeconfig.hyprland.enable {
home.sessionVariables.NIX_OZONE_WL = "1";
programs.kitty.enable = lib.mkDefault true;
home.packages = with pkgs; [
pyprland
];
wayland.windowManager.hyprland = {
enable = true;
systemd = {
enable = true;
variables = [ "--all" ];
};
extraConfig = let
monitor = if config.homeconfig.host == "laptop" then ''
monitor=eDP-1,1920x1080@60,0x0,1
'' else if config.homeconfig.host == "homebox" then ''
monitor=HDMI-A-2,1920x1080@60,0x0,1
monitor=HEADLESS-2,1920x1080@60,0x0,1
exec-once=hyprctl output create headless HEADLESS-2
exec-once=hyprctl keyword monitor HDMI-A-2,disable
exec-once=${pkgs.wayvnc}/bin/wayvnc 0.0.0.0 -o HEADLESS-2
'' else '''';
in monitor + ''
source = /home/nathan/.config/hypr/main.conf
'';
};
};
}

View File

@@ -1,21 +0,0 @@
{ config, lib, ... }: {
options.homeconfig.nh.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.homeconfig.nh.enable {
programs.nh = {
enable = true;
flake = "${config.home.homeDirectory}/Projects/Olympus";
clean = {
enable = true;
dates = "weekly";
extraArgs = "--keep 5 --keep-since 5d";
};
};
};
}

View File

@@ -1,23 +0,0 @@
{ config, lib, pkgs, inputs, ... }: {
options.homeconfig.wal.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.homeconfig.wal.enable {
home.packages = with pkgs; [
inputs.themecord.packages.${pkgs.system}.default
vesktop
inputs.nixvim.packages.${pkgs.system}.pywal
pywal16
imagemagick
];
};
}

View File

@@ -1,12 +0,0 @@
{ config, lib, pkgs, ... }: {
options.homeconfig.swaylock.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.homeconfig.swaylock.enable {
home.packages = with pkgs; [ swaylock-effects ];
};
}

View File

@@ -1,12 +0,0 @@
{ ... }: {
imports = [
./bat
./eza
./fzf
./tmux
./kitty
./zoxide
./zsh
];
}

View File

@@ -1,33 +0,0 @@
{ config, lib, pkgs, ... }: {
programs.kitty = {
enable = true;
font = {
name = "FiraCode Nerd Font";
size = 12;
};
extraConfig = ''
confirm_os_window_close 0
include ${config.home.homeDirectory}/.cache/wal/colors-kitty.conf
disable_ligatures never
dynamic_background_opacity yes
tab_bar_edge top
map ctrl+shift+t new_tab
map ctrl+shift+w close_tab
map ctrl+tab next_tab
map ctrl+shift+tab previous_tab
'';
};
}

View File

@@ -1,27 +0,0 @@
git:
username: ENC[AES256_GCM,data:418z4cCK,iv:tgPmynsW8fEJs6n+OGfm6IypOjNNhVdVaqFImeKXpC4=,tag:V5zI47vb9FnSO/OWurbJ+A==,type:str]
email: ENC[AES256_GCM,data:xp6HlIO1pTgvrXpGAOQwl0UvcnY4zrLrmw==,iv:LzGkluWeSe8MQqPXQMnNOv062UY+BkQE1fGjGqd/nCg=,tag:Y9nwo+Hjcg4ea2GxGKWApA==,type:str]
sops:
age:
- recipient: age1yqgyp2uxz4lzrc9f9ka0mfjl5fr6ahf8nf24nlmran2wulg6fpvq9hyp9q
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSA3dER2bmZjYUhlNHpvVVNY
dlFYdU1KVzQ0WGhtUlRyRUtMdldqdC9nNm1JCjdJU3pqQ2x2NE52Qm15MUw4d2lv
MjM4V3lBQ1o5MWl2MDRrTlJLWFFHRjAKLS0tIHhpUld3NXh4RzdKajJWMzM2a3gy
VU4xSytSZHgzd3pocUdOZmFTTVg4OXMKPkk9mbu6POQNwy+6jAhgv3t/DAN1n+Jo
xK0s1Ni1FKPU4mvQUsIN2v6y3Nircfr15CfzThjpIBoLtBOyoRhXrw==
-----END AGE ENCRYPTED FILE-----
- recipient: age1640eg0pnmkruc89m5xguz0m8fek44fl4tzez6qwuzlz6kmapqewsp8esxd
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSByM3lvcDM4Z0VJMGVBK1lU
Y0g1bTE2U3ZiN0E3NUJ0QVlQSUdlSDh6NjNNCmRVZjQ4VWJSM3g4S2Q1TnRWbjZG
TVVKUkJTWS9nUGN0Uy9LQ1V0YlpLeWsKLS0tIHRCWkxFTUhNQ21wYVBUL0k4d25h
RWNTdys0VnV1V0ZHL3R1N0NvdGFOTjAKQtM4wMzD9Lr9G9o1sp0Ud7LsxnTXzyV9
yQ5fxn5lmef7SAPAYVvkU7IH1uhtVyfH9SwsM+EnHdcQWO/lNQp+hg==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2025-08-16T16:08:48Z"
mac: ENC[AES256_GCM,data:3/ztJNXhOIPqgQ47QxjM5KTeAJwXPpUuVtvI5/xJsMOOZhXYRt+uhL584F98rJiMHhnbsuGIZi+jGlYRiE6c+GJ9X7TKLj9yRqKvCMSCdWHGzY721GH5kMPcjD2YDYZ4tt+olIMePNJBPjC1XJgfhfOvs43o2HyDTCS95cEQzB4=,iv:qofZBAwxbTrc/hPyuSi8nxibJ0bGhoytZpUTZwwzbuI=,tag:z1SJXutJmlJ+j6RnV4u29Q==,type:str]
unencrypted_suffix: _unencrypted
version: 3.10.2

View File

@@ -1 +0,0 @@
{}: {}

View File

@@ -1,6 +0,0 @@
{ ... }: {
imports = [
./mpd
./wayvnc
];
}

View File

@@ -1,36 +0,0 @@
{ config, lib, pkgs, inputs, ... }: {
options.homeconfig.wayvnc.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
disabledModules = [
];
imports = [
(import "${inputs.home-manager-us}/modules/services/wayvnc.nix" {
inherit config;
inherit lib;
pkgs = (import inputs.nixpkgs-us { system = "x86_64-linux"; });
})
];
config = lib.mkIf config.homeconfig.wayvnc.enable {
home.packages = with pkgs; [
novnc
];
services.wayvnc = {
enable = true;
autoStart = true;
settings = {
address = "0.0.0.0";
port = 5900;
};
};
};
}

View File

@@ -1,39 +0,0 @@
{ config, lib, pkgs, inputs, ... }: {
imports = [ inputs.ags.homeManagerModules.default ];
options.homeconfig.ags.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.homeconfig.ags.enable {
programs.ags = {
enable = true;
extraPackages = with pkgs; [
gtksourceview
webkitgtk
accountsservice
];
};
home.file.".config/ags/launcher.js".text = /*javascript*/ ''
function Launcher() {
return Widget.EventBox({
class_name: "launcher",
hpack: "center",
child: Widget.Icon({
icon: '${pkgs.nixos-icons}/share/icons/hicolor/48x48/apps/nix-snowflake.png',
css: 'font-size: 24px;'
}),
on_primary_click: () => {Utils.execAsync('rofi -show drun')},
margin_left: 10,
})
}
export default Launcher
'';
};
}

View File

@@ -1,12 +0,0 @@
{ config, lib, pkgs, ... }: {
options.homeconfig.ags2.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.homeconfig.ags2.enable {
};
}

View File

@@ -1,14 +0,0 @@
{ config, lib, pkgs, ... }: {
options.homeconfig.calcurse.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.homeconfig.calcurse.enable {
home.packages = with pkgs; [
calcurse
libnotify
];
};
}

View File

@@ -1,24 +0,0 @@
{ config, lib, pkgs, inputs, ... }: {
imports = [
./ags
./git
./nh
./hyprland
./terminal
./rofi
./pywal
./swaylock
./calcurse
./firefox
];
config = {
home.packages = lib.mkIf (!config.homeconfig.wal.enable) [
inputs.nixvim.packages.${pkgs.system}.default
];
home.sessionVariables.EDITOR = "nvim";
};
}

View File

@@ -1,59 +0,0 @@
{ config, lib, pkgs, inputs, ... }: {
options.homeconfig.firefox.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.homeconfig.firefox.enable {
home.sessionVariables.BROWSER = "${config.programs.firefox.package}/bin/firefox";
home.packages = lib.mkIf config.homeconfig.wal.enable [
pkgs.pywalfox-native
];
home.file.".mozilla/native-messaging-hosts/pywalfox.json".text = let
pywalfox-wrapper = pkgs.writeShellScriptBin "pywalfox-wrapper" ''
${pkgs.pywalfox-native}/bin/pywalfox start
'';
in lib.replaceStrings [ "<path>" ] [
"${pywalfox-wrapper}/bin/pywalfox-wrapper"
] (lib.readFile "${pkgs.pywalfox-native}/lib/python3.12/site-packages/pywalfox/assets/manifest.json");
programs.firefox = {
enable = true;
package = pkgs.firefox;
profiles.nathan = {
search = {
default = "ddg";
privateDefault = "ddg";
};
bookmarks = {
force = true;
settings = [
{
name = "toolbar";
toolbar = true;
bookmarks = [
{
name = "NixOS Search - Packages";
url = "https://search.nixos.org/packages";
}
];
}
];
};
extensions.packages = with inputs.firefox-addons.packages.${pkgs.system}; [
ublock-origin
keepassxc-browser
pywalfox
];
};
};
};
}

View File

@@ -1,44 +0,0 @@
{ config, lib, ... }: {
options.homeconfig.git.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.homeconfig.git.enable {
sops = {
secrets = {
"git/username" = {};
"git/email" = {};
};
templates.gitconfig.content = ''
[user]
name = "${config.sops.placeholder."git/username"}"
email = "${config.sops.placeholder."git/email"}"
'';
};
programs.git = {
enable = true;
includes = [
{ path = "${config.sops.templates.gitconfig.path}"; }
];
extraConfig = {
init = {
defaultBranch = "master";
};
url = {
"ssh://gitea@gitea.blunkall.us/" = {
insteadOf = [
"blunkall:"
];
};
};
};
};
};
}

View File

@@ -1,43 +0,0 @@
{ config, lib, pkgs, ... }: {
options.homeconfig.hyprland.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.homeconfig.hyprland.enable {
home.sessionVariables.NIX_OZONE_WL = "1";
programs.kitty.enable = lib.mkDefault true;
home.packages = with pkgs; [
pyprland
];
wayland.windowManager.hyprland = {
enable = true;
systemd = {
enable = true;
variables = [ "--all" ];
};
extraConfig = let
monitor = if config.homeconfig.host == "laptop" then ''
monitor=eDP-1,1920x1080@60,0x0,1
'' else if config.homeconfig.host == "homebox" then ''
monitor=HDMI-A-2,1920x1080@60,0x0,1
monitor=HEADLESS-2,1920x1080@60,0x0,1
exec-once=hyprctl output create headless HEADLESS-2
exec-once=hyprctl keyword monitor HDMI-A-2,disable
exec-once=${pkgs.wayvnc}/bin/wayvnc 0.0.0.0 -o HEADLESS-2
'' else '''';
in monitor + ''
source = /home/nathan/.config/hypr/main.conf
'';
};
};
}

View File

@@ -1,23 +0,0 @@
{ config, lib, pkgs, inputs, ... }: {
options.homeconfig.wal.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.homeconfig.wal.enable {
home.packages = with pkgs; [
inputs.themecord.packages.${pkgs.system}.default
vesktop
inputs.nixvim.packages.${pkgs.system}.pywal
pywal16
imagemagick
];
};
}

View File

@@ -1,20 +0,0 @@
{ config, lib, pkgs, ... }: {
options.homeconfig.rofi.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.homeconfig.rofi.enable {
programs.rofi = {
enable = true;
package = pkgs.rofi-wayland;
cycle = true;
theme = "/home/nathan/.cache/wal/colors-rofi-dark.rasi";
};
};
}

View File

@@ -1,12 +0,0 @@
{ config, lib, pkgs, ... }: {
options.homeconfig.swaylock.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.homeconfig.swaylock.enable {
home.packages = with pkgs; [ swaylock-effects ];
};
}

View File

@@ -1,18 +0,0 @@
{ config, lib, pkgs, ... }: {
programs.bat = {
enable = true;
extraPackages = with pkgs.bat-extras; [
batman
batpipe
batgrep
batdiff
batwatch
prettybat
];
};
}

View File

@@ -1,12 +0,0 @@
{ ... }: {
imports = [
./bat
./eza
./fzf
./tmux
./kitty
./zoxide
./zsh
];
}

View File

@@ -1,17 +0,0 @@
{ config, lib, pkgs, ... }: {
programs.eza = {
enable = true;
enableZshIntegration = true;
extraOptions = [
"--color=auto"
];
git = true;
icons = "auto";
};
}

View File

@@ -1,15 +0,0 @@
{ config, lib, pkgs, ... }: {
programs.fzf = {
enable = true;
enableZshIntegration = true;
tmux = {
#enableShellIntegration = true;
#shellIntegrationOptions = [];
};
};
}

View File

@@ -1,33 +0,0 @@
{ config, lib, pkgs, ... }: {
programs.kitty = {
enable = true;
font = {
name = "FiraCode Nerd Font";
size = 12;
};
extraConfig = ''
confirm_os_window_close 0
include ${config.home.homeDirectory}/.cache/wal/colors-kitty.conf
disable_ligatures never
dynamic_background_opacity yes
tab_bar_edge top
map ctrl+shift+t new_tab
map ctrl+shift+w close_tab
map ctrl+tab next_tab
map ctrl+shift+tab previous_tab
'';
};
}

View File

@@ -1,23 +0,0 @@
{ config, lib, pkgs, ... }: {
programs.tmux = {
enable = true;
clock24 = true;
mouse = true;
baseIndex = 1;
keyMode = "vi";
prefix = "C-b";
shell = "${pkgs.zsh}/bin/zsh";
};
}

View File

@@ -1,13 +0,0 @@
{ config, lib, pkgs, ... }: {
programs.zoxide = {
enable = true;
enableZshIntegration = true;
options = [
"--cmd cd"
];
};
}

View File

@@ -1,158 +0,0 @@
{ config, lib, pkgs, ... }: {
home.packages = with pkgs; [
oh-my-posh
];
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
shellAliases = {
ls = "eza";
ll = "ls -l";
ksh = "kitten ssh";
vi = "nvim";
vim = "nvim";
};
history = {
size = 5000;
ignoreAllDups = true;
ignoreSpace = true;
share = true;
};
initContent = if config.homeconfig.wal.enable then (lib.mkBefore ''
cat ${config.home.homeDirectory}/.cache/wal/sequences
eval "$(oh-my-posh init zsh --config ${config.home.homeDirectory}/.cache/wal/ohmyposh.toml)"
'') else (lib.mkBefore ''
eval "$(oh-my-posh init zsh --config ${config.home.homeDirectory}/.config/zsh/ohmyposh.toml)"
'');
};
home.file.".config/wal/templates/ohmyposh.toml".text = ''
#:schema https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
version = 2
final_space = true
console_title_template = '{{{{ .Shell }}}} in {{{{ .Folder }}}}'
[[blocks]]
type = 'prompt'
alignment = 'left'
newline = true
[[blocks.segments]]
type = 'os'
style = 'diamond'
trailing_diamond = ''
background = 'p:c1'
foreground = 'p:c12'
template = ' {{{{ .Icon }}}} '
[[blocks.segments]]
type = 'session'
style = 'diamond'
trailing_diamond = ''
background = 'p:c2'
foreground = 'p:c14'
template = '{{{{ .UserName }}}}@{{{{ .HostName }}}}'
[[blocks.segments]]
type = 'path'
style = 'diamond'
trailing_diamond = ''
background = 'p:c4'
foreground = 'p:c13'
template = '{{{{ .Path }}}}'
[blocks.segments.properties]
style = 'full'
[[blocks]]
type = 'prompt'
overflow = 'hidden'
alignment = 'right'
[[blocks.segments]]
type = 'executiontime'
style = 'diamond'
leading_diamond = ''
background = 'p:c4'
foreground = 'p:c13'
template = '{{{{ .FormattedMs }}}}'
[[blocks.segments]]
type = 'time'
style = 'diamond'
leading_diamond = ''
background = 'p:c2'
foreground = 'p:c14'
[[blocks.segments]]
type = 'shell'
style = 'diamond'
leading_diamond = ''
background = 'p:c1'
foreground = 'p:c12'
[[blocks]]
type = 'prompt'
alignment = 'left'
newline = true
[[blocks.segments]]
type = 'text'
style = 'plain'
background = 'transparent'
foreground_templates = [
"{{{{ if gt .Code 0 }}}}p:c13{{{{end}}}}",
"{{{{ if eq .Code 0 }}}}p:c14{{{{end}}}}",
]
template = "{{{{ if gt .Code 0 }}}}! {{{{else}}}} {{{{end}}}}"
[transient_prompt]
foreground_templates = [
"{{{{ if gt .Code 0 }}}}p:c13{{{{end}}}}",
"{{{{ if eq .Code 0 }}}}p:c14{{{{end}}}}",
]
background = 'transparent'
template = "{{{{ if gt .Code 0 }}}}! {{{{else}}}} {{{{end}}}}"
[secondary_prompt]
background = 'transparent'
forground = 'p:c14'
template = " "
[palette]
c0 = "{color0}"
c1 = "{color1}"
c2 = "{color2}"
c3 = "{color3}"
c4 = "{color4}"
c5 = "{color5}"
c6 = "{color6}"
c7 = "{color7}"
c8 = "{color8}"
c9 = "{color9}"
c10 = "{color10}"
c11 = "{color11}"
c12 = "{color12}"
c13 = "{color13}"
c14 = "{color14}"
c15 = "{color15}"
'';
}

View File

@@ -1 +0,0 @@
{}: {}

View File

@@ -1,6 +0,0 @@
{ ... }: {
imports = [
./mpd
./wayvnc
];
}

View File

@@ -1,41 +0,0 @@
{ config, lib, pkgs, ... }: {
options = {
homeconfig.mpd.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
};
config = lib.mkIf config.homeconfig.mpd.enable {
services.mpd = {
enable = true;
network.startWhenNeeded = true;
network.port = 6600;
network.listenAddress = "127.0.0.1";
musicDirectory = "/home/nathan/Music";
extraConfig = ''
audio_output {
type "pipewire"
name "Audio1"
}
audio_output {
type "fifo"
name "visualizer"
path "/tmp/mpd.fifo"
format "44100:16:1"
}
'';
};
services.mpdris2 = {
enable = true;
mpd.host = "127.0.0.1";
mpd.port = 6600;
package = pkgs.mpdris2;
mpd.musicDirectory = "/home/nathan/Music";
notifications = true;
};
};
}

View File

@@ -1,36 +0,0 @@
{ config, lib, pkgs, inputs, ... }: {
options.homeconfig.wayvnc.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
disabledModules = [
];
imports = [
(import "${inputs.home-manager-us}/modules/services/wayvnc.nix" {
inherit config;
inherit lib;
pkgs = (import inputs.nixpkgs-us { system = "x86_64-linux"; });
})
];
config = lib.mkIf config.homeconfig.wayvnc.enable {
home.packages = with pkgs; [
novnc
];
services.wayvnc = {
enable = true;
autoStart = true;
settings = {
address = "0.0.0.0";
port = 5900;
};
};
};
}

View File

@@ -1,67 +0,0 @@
{ config, lib, pkgs, inputs, ... }: {
imports = [
./programs
./services
./packages
./dotfiles
];
config = lib.mkIf (config.homeconfig.username == "nathan") {
homeconfig = {
mpd.enable = lib.mkDefault true;
calcurse.enable = lib.mkDefault true;
git.enable = lib.mkDefault true;
nh.enable = lib.mkDefault true;
};
home.stateVersion = "23.11";
home.pointerCursor = lib.mkIf config.homeconfig.graphical {
gtk.enable = true;
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Classic";
size = 16;
};
gtk = lib.mkIf config.homeconfig.graphical {
enable = true;
theme.name = "Tokyonight-Dark";
theme.package = pkgs.tokyonight-gtk-theme;
iconTheme.package = pkgs.rose-pine-icon-theme;
iconTheme.name = "rose-pine-moon";
};
sops = {
age.keyFile = "${config.home.homeDirectory}/.config/sops/age/keys.txt";
defaultSopsFile = ./secrets.yaml;
defaultSopsFormat = "yaml";
};
/*
nix = {
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
settings = {
experimental-features = [ "nix-command" "flakes" ];
builders = ''
ssh://remote-builder@blunkall.us
'';
builders-use-substituters = true;
};
};
programs.ssh.matchBlocks = {
"builder" = {
hostname = "blunkall.us";
user = "remote-builder";
identityFile = config.sops.secrets."".path;
port = 2222;
};
};
*/
services.mpris-proxy.enable = true;
programs.ssh.enable = true;
};
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1007 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 874 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 203 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 670 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 273 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 MiB

View File

@@ -1,15 +0,0 @@
# Starter Config
if suggestions don't work, first make sure
you have TypeScript LSP working in your editor
if you do not want typechecking only suggestions
```json
// tsconfig.json
"checkJs": false
```
types are symlinked to:
/home/nathan/.nix-profile/share/com.github.Aylur.ags/types

View File

@@ -1,34 +0,0 @@
const bluetooth = await Service.import("bluetooth")
export function ConnectedList() {
return Widget.Box({
class_name: "btdevices",
setup: self => self.hook(bluetooth, self => {
self.children = bluetooth.connected_devices
.map(({ address, icon_name, name }) => Widget.EventBox({
child: Widget.Icon(icon_name + '-symbolic'),
tooltip_text: name,
on_primary_click: () => {
bluetooth.getDevice(address).setConnection(false)
},
}));
self.visible = bluetooth.connected_devices.length > 0;
}, 'notify::connected-devices'),
})
}
export default function Bluetooth() {
return Widget.EventBox({
tooltip_text: bluetooth.bind('enabled').as(on => on ? 'Enabled' : 'Disabled'),
child: Widget.Icon({
icon: bluetooth.bind('enabled').as(on =>
`bluetooth-${on ? 'active' : 'disabled'}-symbolic`),
})
})
}

View File

@@ -1,14 +0,0 @@
const date = Variable("", {
poll: [1000, 'date "+%H:%M %b %e."'],
})
function Clock() {
return Widget.Label({
class_name: "clock",
label: date.bind(),
})
}
export default Clock

View File

@@ -1,132 +0,0 @@
const hyprland = await Service.import("hyprland")
//const systemtray = await Service.import("systemtray")
import Clock from './clock.js'
import Launcher from './launcher.js'
import Media from './media.js'
import Notification from './notif.js'
import Power from './power.js'
import Workspaces from './workspaces.js'
import Settings, {SettingsWindow} from './settings.js'
import { ConnectedList } from './bluetooth.js'
import { NotificationPopups } from './notification.js'
// widgets can be only assigned as a child in one container
// so to make a reuseable widget, make it a function
// then you can simply instantiate one by calling it
//////////////////////////////////////////////////////////////
// layout of the bar
function Left() {
return Widget.Box({
spacing: 8,
margin_bottom: 5,
children: [
Launcher(),
Workspaces(),
],
})
}
function Center() {
return Widget.Box({
spacing: 8,
margin_bottom: 5,
children: [
Media(),
Clock(),
Notification(),
],
})
}
function Right() {
return Widget.Box({
hpack: "end",
spacing: 8,
margin_bottom: 5,
children: [
ConnectedList(),
Settings(),
Power(),
],
})
}
///////////////////////////////////////////////////////////
//windows
function Bar(monitor = 0) {
return Widget.Window({
name: `bar-${monitor}`, // name has to be unique
class_name: "bar",
monitor,
anchor: ["top", "left", "right"],
height_request: 32,
vexpand: false,
exclusivity: "exclusive",
child: Widget.CenterBox({
start_widget: Left(),
center_widget: Center(),
end_widget: Right(),
}),
})
}
function pickMonitor() {
let n = 0
for(let i = 0; i < hyprland.monitors.length; i++) {
print(hyprland.getMonitor(i).name)
if(hyprland.getMonitor(i).name == 'eDP-1')
n = i
break
}
return n;
}
////////////////////////////////////////////////////////////
//App config
let m = 0
App.config({
style: "/home/nathan/.cache/wal/colors-ags.css",
windows: [
Bar(m),
SettingsWindow(m),
NotificationPopups(m)
// you can call it, for each monitor
// Bar(0),
// Bar(1)
],
})
App.toggleWindow(App.windows[1].name)
// Utils.timeout(100, () => Utils.notify({
// summary: "Notification Popup Example",
// iconName: "info-symbolic",
// body: "Lorem ipsum dolor sit amet, qui minim labore adipisicing "
// + "minim sint cillum sint consectetur cupidatat.",
// actions: {
// "Cool": () => print("pressed Cool"),
// },
// }))
Utils.monitorFile(`/home/nathan/.cache/wal`, () => {
const css = `/home/nathan/.cache/wal/colors-ags.css`
App.resetCss()
App.applyCss(css)
})
export { }

View File

@@ -1,141 +0,0 @@
const mpris = await Service.import("mpris")
export default function Media() {
const track = Utils.watch("", mpris, "player-changed", () => {
if (mpris.players[0]) {
const { track_artists, track_title } = mpris.players[0]
return `${track_artists.join(", ")} -${track_title}`
} else {
return "Nothing is playing"
}
})
return Widget.EventBox({
class_name: "media",
on_primary_click: () => mpris.getPlayer("")?.playPause(),
on_scroll_up: () => mpris.getPlayer("")?.next(),
on_scroll_down: () => mpris.getPlayer("")?.previous(),
child: Widget.Icon({icon: 'emblem-music-symbolic'}),
})
}
function PlayerImg(player) {
return Widget.Box({
hpack: "start",
width_request: 80,
height_request: 80,
css: player.bind("track_cover_url").transform(p => `
background-image: url('${p || player.cover_path || '/home/nathan/Pictures/symbols/audio.png'}');
background-size: contain;
background-repeat: no-repeat;
background-position: center;
`),
})
}
function PlayerGUI(player) {
return Widget.Box({
class_name: "playerbox",
height_request: 200,
vexpand: false,
vertical: true,
children: [
Widget.Box({
vertical: false,
margin: 15,
hpack: "start",
spacing: 20,
children: [
PlayerImg(player),
Widget.Box({
vertical: true,
children: [
Widget.Label({
hpack: "start",
max_width_chars: 30,
truncate: "end",
label: player.bind('track-title').as(t => t)
}),
Widget.Label({
hpack: "start",
max_width_chars: 30,
truncate: "end",
label: player.bind("track_artists").transform(a => a.join(", ")),
wrap: true,
}),
Widget.Label({
hpack: "start",
max_width_chars: 30,
truncate: "end",
label: player.bind('track-album').as(t => t)
}),
]
})
],
}),
Widget.Slider({
class_name: "position",
draw_value: false,
on_change: ({ value }) => player.position = value * player.length,
visible: player.bind("length").as(l => l > 0),
setup: self => {
function update() {
const value = player.position / player.length
self.value = value > 0 ? value : 0
}
self.hook(player, update)
self.hook(player, update, "position")
self.poll(1000, update)
},
}),
Widget.Box({
vertical: false,
hpack: "center",
spacing: 20,
children: [
Widget.Button({
child: Widget.Icon({ icon: 'media-skip-backward-symbolic'}),
on_primary_click: () => player.previous()
}),
Widget.Button({
child: Widget.Icon({ icon: player.bind("play_back_status").transform(s => {
switch (s) {
case "Playing": return 'media-playback-pause-symbolic'
case "Paused":
case "Stopped": return 'media-playback-start-symbolic'
}
}),
}),
on_primary_click: () => player.playPause(),
}),
Widget.Button({
child: Widget.Icon({ icon: 'media-skip-forward-symbolic'}),
on_primary_click: () => player.next()
})
]
})
],
setup: self => {
},
})
}
export function Players() {
const plrs = mpris.bind('players')
.as(p => p.map((v) => PlayerGUI(v)))
return Widget.Box({
vertical: true,
children: plrs,
})
}

View File

@@ -1,22 +0,0 @@
const notifications = await Service.import("notifications")
// we don't need dunst or any other notification daemon
// because the Notifications module is a notification daemon itself
export default function Notification() {
const popups = notifications.bind("popups")
return Widget.EventBox({
class_name: "notificationbutton",
visible: true,
on_primary_click: () => {},
child: Widget.Icon({
icon: "preferences-system-notifications-symbolic",
}),
})
}
// Widget.Label({
// label: popups.as(p => p[0]?.summary || ""),
// }),

View File

@@ -1,131 +0,0 @@
const notifications = await Service.import("notifications")
/** @param {import('resource:///com/github/Aylur/ags/service/notifications.js').Notification} n */
function NotificationIcon({ app_entry, app_icon, image }) {
if (image) {
return Widget.Box({
css: `background-image: url("${image}");`
+ "background-size: contain;"
+ "background-repeat: no-repeat;"
+ "background-position: center;",
})
}
let icon = "dialog-information-symbolic"
if (Utils.lookUpIcon(app_icon))
icon = app_icon
if (app_entry && Utils.lookUpIcon(app_entry))
icon = app_entry
return Widget.Box({
child: Widget.Icon(icon),
})
}
/** @param {import('resource:///com/github/Aylur/ags/service/notifications.js').Notification} n */
function Notification(n) {
const icon = Widget.Box({
vpack: "start",
class_name: "icon",
child: NotificationIcon(n),
})
const title = Widget.Label({
class_name: "title",
xalign: 0,
justification: "left",
hexpand: true,
max_width_chars: 24,
truncate: "end",
wrap: true,
label: n.summary,
use_markup: true,
})
const body = Widget.Label({
class_name: "body",
hexpand: true,
use_markup: true,
xalign: 0,
justification: "left",
label: n.body,
wrap: true,
})
const actions = Widget.Box({
class_name: "actions",
children: n.actions.map(({ id, label }) => Widget.Button({
class_name: "action-button",
on_clicked: () => {
n.invoke(id)
n.dismiss()
},
hexpand: true,
child: Widget.Label(label),
})),
})
return Widget.EventBox(
{
attribute: { id: n.id },
on_primary_click: n.dismiss,
},
Widget.Box(
{
class_name: `notification ${n.urgency}`,
vertical: true,
},
Widget.Box([
icon,
Widget.Box(
{ vertical: true },
title,
body,
),
]),
actions,
),
)
}
export function NotificationPopups(monitor = 0) {
const list = Widget.Box({
vertical: true,
children: notifications.popups.map(Notification),
})
function onNotified(_, /** @type {number} */ id) {
const n = notifications.getNotification(id)
if (n)
list.children = [Notification(n), ...list.children]
}
function onDismissed(_, /** @type {number} */ id) {
list.children.find(n => n.attribute.id === id)?.destroy()
}
list.hook(notifications, onNotified, "notified")
.hook(notifications, onDismissed, "dismissed")
return Widget.Window({
monitor,
name: `notifications${monitor}`,
class_name: "notification-popups",
anchor: ["top", "right"],
layer: "overlay",
child: Widget.Box({
css: "min-width: 2px; min-height: 2px;",
class_name: "notifications",
vertical: true,
child: list,
/** this is a simple one liner that could be used instead of
hooking into the 'notified' and 'dismissed' signals.
but its not very optimized becuase it will recreate
the whole list everytime a notification is added or dismissed */
// children: notifications.bind('popups')
// .as(popups => popups.map(Notification))
}),
})
}

View File

@@ -1,44 +0,0 @@
function Power() {
return Widget.Box({
vertical: false,
spacing: 8,
children: [
Widget.EventBox({
child: Widget.Icon({icon: 'system-reboot-symbolic'}),
margin_right: 10,
class_name: 'restart',
tooltip_text: 'restart',
on_primary_click: () => {App.Quit(); Utils.execAsync('reboot')},
}),
Widget.EventBox({
child: Widget.Icon({icon: 'system-log-out-symbolic'}),
margin_right: 10,
class_name: 'logout',
tooltip_text: 'log out',
on_primary_click: () => {App.Quit(); Utils.execAsync('loginctl kill-session self')},
}),
Widget.EventBox({
child: Widget.Icon({icon: 'system-lock-screen-symbolic'}),
margin_right: 10,
class_name: 'lockscreen',
tooltip_text: 'lock screen',
on_primary_click: () => {Utils.exec('swaylock')},
}),
Widget.EventBox({
child: Widget.Icon({icon: 'system-shutdown-symbolic'}),
margin_right: 10,
class_name: 'poweroff',
tooltip_text: 'shutdown',
on_primary_click: () => {App.Quit(); Utils.execAsync('shutdown now')},
})
],
})
}
export default Power

View File

@@ -1,125 +0,0 @@
const audio = await Service.import("audio")
const battery = await Service.import("battery")
const mpris = await Service.import("mpris")
import Bluetooth from "./bluetooth.js"
import WifiIndicator from "./wifi.js"
import { Players } from "./media.js"
export function Volume() {
const icons = {
101: "high",
67: "high",
34: "medium",
1: "low",
0: "muted",
}
function getIcon() {
const icon = audio.speaker.is_muted ? 0 : [101, 67, 34, 1, 0].find(
threshold => threshold <= audio.speaker.volume * 100)
return `audio-volume-${icons[icon]}-symbolic`
}
return Widget.EventBox({
tooltip_text: '',
setup: (self) => self.hook(audio.speaker, () => {
self.tooltip_text = `Volume: ${(100 * audio.speaker.volume).toFixed(0)}%`
}),
child: Widget.Icon({
class_name: "volume",
icon: Utils.watch(getIcon(), audio.speaker, getIcon),
})
})
}
// const slider = Widget.Slider({
// hexpand: true,
// draw_value: false,
// inverted: true,
// on_change: ({ value }) => audio.speaker.volume = value,
// setup: (self) => self.hook(audio.speaker, () => {
// self.value = audio.speaker.volume || 0
// }),
// })
export function BatteryLabel() {
const value = battery.bind("percent").as(p => p > 0 ? p / 100 : 0)
const icon = battery.bind("percent").as(p =>
`battery-${p > 90 ? "full" : p > 70 ? "good" : p > 50 ? "medium" : p > 30 ? "low" : p > 10 ? "caution" : "empty"}-symbolic`)
return Widget.Box({
class_name: "battery",
visible: battery.bind("available"),
child: Widget.EventBox({
child: Widget.Icon({ icon }),
tooltip_text: value.as(p => `Battery: ${(p * 100).toFixed(0)}%`)
}),
})
}
function Panel() {
return Widget.Box({
height_request: 200,
css: 'background: black;',
})
}
export function SettingsWindow(monitor = 0) {
return Widget.Window({
monitor,
name: `Settings-${monitor}`,
anchor: ["top", "bottom", "right"],
margins: [50, 0, 10, 0],
width_request: 400,
exclusivity: "ignore",
layer: "top",
class_name: "SettingsWindow",
child: Widget.Box({
class_name: "settings_window",
child: Widget.Scrollable({
vscroll: "always",
hscroll: "never",
hexpand: true,
vexpand: true,
margin: 20,
child: Widget.Box({
vertical: true,
children: [
Panel(),
Players()
]
}),
}),
}),
})
}
export default function Settings() {
return Widget.Button({
tooltip_text: 'Settings',
attribute: false,
margin_right: 8,
child: Widget.Box({
spacing: 8,
children: [
Bluetooth(),
WifiIndicator(),
BatteryLabel(),
Volume(),
],
}),
on_clicked: (self) => {
self.attribute = !self.attribute
App.toggleWindow(App.windows[1].name)
},
})
}

View File

@@ -1,174 +0,0 @@
window.bar {
background-color: rgb(36, 40, 59);
color: rgb(200, 200, 200);
}
window.win {
background-color: transparent;
color: rgb(200, 200, 200);
}
.booox {
color: white;
background-color: white;
}
.playerbox {
background-color: rgb(73, 81, 121);
color:rgb(73, 81, 121);
border: 3px solid black;
border-radius: 15px;
}
.launcher {
color: aqua;
background: none;
border: none;
}
box {
color: aqua;
}
Window.SettingsWindow {
background-color: black;
color: black;
}
.settings_window {
background-color: rgb(36, 40, 59);
color: teal;
border-radius: 15px;
}
.focused {
color: aqua;
}
.other {
color: teal;
}
.media {
color: aqua;
}
.media:active {
background-color: aqua;
}
button {
min-width: 0;
padding-top: 0;
padding-bottom: 0;
background: none;
border: none;
padding: 0px;
padding-left: 5px;
padding-right: 5px;
color: aqua;
}
button:active {
background-color: aqua;
}
button:hover {
border-bottom: 3px solid teal;
}
label {
font-weight: bold;
}
.workspaces button.focused {
border-bottom: 3px solid aqua;
}
.client-title {
color: rgb(200, 200, 200);
}
.clock {
color: rgb(200, 200, 200);
}
.notification {
color: yellow;
}
levelbar block,
highlight {
min-height: 4px;
}
/************************************/
window.notification-popups box.notifications {
padding: .5em;
}
.icon {
min-width: 68px;
min-height: 68px;
margin-right: 1em;
}
.icon image {
font-size: 58px;
/* to center the icon */
margin: 5px;
color: yellow;
}
.icon box {
min-width: 68px;
min-height: 68px;
border-radius: 7px;
}
.notificationbutton {
color: teal;
}
.notification {
min-width: 350px;
border-radius: 11px;
padding: 1em;
margin: .5em;
border: 1px solid blue;
background-color: rgb(36, 40, 59);
}
.notification.critical {
border: 1px solid lightcoral;
}
.title {
color: black;
font-size: 1.4em;
}
.body {
color: red;
}
.actions .action-button {
margin: 0 .4em;
margin-top: .8em;
}
.actions .action-button:first-child {
margin-left: 0;
}
.actions .action-button:last-child {
margin-right: 0;
}

View File

@@ -1,30 +0,0 @@
const network = await Service.import('network')
export default function WifiIndicator() {
return Widget.Box({
child: Widget.EventBox({
child: Widget.Icon({
icon: 'network-wireless-disconnected-symbolic',
}),
setup: self => self.hook(network.wifi, () => {
self.child.icon = network.wifi.icon_name == 'network-wireless-disabled-symbolic' ? 'network-wireless-disconnected-symbolic' : network.wifi.icon_name
self.tooltip_text = network.wifi.ssid ? network.wifi.ssid : network.wifi.internet
}),
tooltip_text: 'disconnected',
}),
})
}
// const WiredIndicator = () => Widget.Icon({
// icon: network.wired.bind('icon_name'),
// })
// const NetworkIndicator = () => Widget.Stack({
// children: {
// wifi: WifiIndicator(),
// wired: WiredIndicator(),
// },
// shown: network.bind('primary').as(p => p || 'wifi'),
// })

View File

@@ -1,37 +0,0 @@
const hyprland = await Service.import("hyprland")
function ClientTitle() {
return Widget.Label({
class_name: "client-title",
max_width_chars: 30,
truncate: "end",
label: hyprland.active.client.bind("title"),
})
}
function Workspaces() {
const activeId = hyprland.active.workspace.bind("id")
const workspaces = hyprland.bind("workspaces")
.as(ws => ws.map(({ id }) => id > 0 ? Widget.Button({
on_clicked: () => hyprland.messageAsync(`dispatch workspace ${id}`),
child: Widget.Label(`${id}`),
class_name: activeId.as(i => `${i === id ? "focused" : "other"}`),
margin_left: 10,
}) : null
).sort((a, b) => { return a && b ? Number(a.child.label) - Number(b.child.label) : a ? -1 : 1 }))
return Widget.CenterBox({
spacing: 8,
start_widget: Widget.Box({
class_name: "workspaces",
spacing: 0,
children: workspaces
}),
end_widget: ClientTitle(),
})
}
export default Workspaces

View File

@@ -1,12 +0,0 @@
{ config, lib, ... }: {
home.file = {
".config/ags" = { source = ./ags; recursive = true; };
".config/hypr" = { source = ./hypr; recursive = true; };
".config/swaylock" = { source = ./swaylock; recursive = true; };
".config/wal/templates" = { source = ./wal/templates; recursive = true; };
".config/ohmyposh" = { source = ./ohmyposh; recursive = true; };
"Pictures/Wallpaper" = { source = ./Wallpaper; recursive = true; };
};
}

View File

@@ -1,278 +0,0 @@
#------------------------------------------------#
# _ _ _ _ #
#| | | | | | | | #
#| |___| |_ _ ____ _ _| | __ _.-.___ ___| | #
#| ___ | | | | _ \| |/ | |/ _` | _ \/ _ | #
#| | | | |_| | |_) | /| | (_| | | | | (_| | #
#|_| |_|\__, | __/|__| |_|\__,_|_| |_|\___/_| #
# |___/|_| #
# #
#------------------------------------------------#
exec-once=onSystemStart
# Some default env vars.
env = XCURSOR_SIZE,16
source = ~/Projects/Olympus/home-manager/users/nathan/dotfiles/hypr/otf.conf
source = ~/.cache/wal/colors-hypr.conf
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
kb_layout = us
kb_variant =
kb_model =
kb_options =
kb_rules =
follow_mouse = 1
touchpad {
natural_scroll = yes
}
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
}
cursor {
no_hardware_cursors = true
}
general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
gaps_in = 5
gaps_out = 4
border_size = 2
col.active_border = $color1 $color5 100deg
col.inactive_border = $color0
layout = dwindle
}
decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 2
blur {
enabled = false
}
#drop_shadow = yes
#shadow_range = 4
#shadow_render_power = 3
#col.shadow = rgba(1a1a1aee)
}
animations {
enabled = yes
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 7, myBezier
animation = windowsOut, 1, 7, default, popin 80%
animation = border, 1, 10, default
animation = borderangle, 1, 8, default
animation = fade, 1, 7, default
animation = workspaces, 1, 6, default
}
dwindle {
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = yes # you probably want this
}
master {
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
new_status = "master"
}
gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
workspace_swipe = off
}
misc {
disable_hyprland_logo = false
disable_splash_rendering = true
force_default_wallpaper = 2
}
# Binds
$mainMod = ALT
bind = $mainMod SHIFT, E, exec, colorPrefix kitty
bind = $mainMod, B, exec, firefox
bind = $mainMod SHIFT, B, exec, firefox --private-window
bind = $mainMod, Q, killactive,
bind = $mainMod, R, exec, colorPrefix kitty -e _systemRebuild
bind = $mainMod SHIFT, R, exec, colorPrefix kitty -e _homeRebuild
bind = $mainMod, C, exec, colorPrefix kitty -e bash -c "cd ~/Projects/Olympus; nvim ~/Projects/Olympus/"
bind = $mainMod, F, exec, thunar
bind = $mainMod SHIFT, F, fullscreen
bind = $mainMod, semicolon, exec, colorPrefix kitty -e nvim ~
bind = $mainMod, Insert, exec, libreoffice &
bind = $mainMod, H, exec, bluetoothctl connect 88:D0:39:F9:83:CE
bind = $mainMod, V, togglefloating,
bind = $mainMod SHIFT, V, exec, vlc &
bind = , Menu, exec, rofi -show drun
bind = $mainMod, Menu, exec, killall .ags-wrapped; ags &
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, Z, togglesplit, # dwindle
bind = $mainMod, M, exec, spotify
bind = $mainMod SHIFT, M, exec, firefox soundcloud.com/you/library
bind = $mainMod CTRL, M, exec, colorPrefix kitty -e ncmpcpp -s browser
bind = $mainMod, XF86AudioPlay, exec, mpc load casual
bind = , XF86AudioPlay, exec, playerctl play-pause
bind = , XF86AudioPause, exec, playerctl pause
bind = , XF86AudioNext, exec, playerctl next
bind = , XF86AudioPrev, exec, playerctl previous
bind = , XF86Launch2, exec, steam &
bind = $mainMod, XF86Launch2, exec, prismlauncher
bind = CTRL SHIFT, XF86Launch2, exec, if [[ $(hyprctl monitors | grep 0x0 | sed -n -e "s/\t*1920x1080@//" -e "s/.[1234567890]* at 0x0//p") == 300 ]]; then hyprctl keyword monitor eDP-1,1920x1080@60,0x0,1; else hyprctl keyword monitor eDP-1,1920x1080@300,0x0,1; fi
bind = , XF86Calculator, exec, geogebra
bind = $mainMod SHIFT, Print, exec, firefox localhost:631
bind = , Print, exec, grim -g "$(slurp)"
bind = $mainMod, Return, exec, vesktop --enable-features=UseOzonePlatform --ozone-platform=wayland &
bind = $mainMod CTRL, Return, exec, firefox https://discord.com/app
# Move focus with mainMod + arrow keys
bind = $mainMod, H, movefocus, l
bind = $mainMod, L, movefocus, r
bind = $mainMod, J, movefocus, u
bind = $mainMod, K, movefocus, d
# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10
bind = $mainMod, Home, workspace, 11
# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
bind = $mainMod SHIFT, Home, movetoworkspace, 11
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, right, workspace, e+1
bind = $mainMod, left, workspace, e-1
#switch network connections
bind = CTRL SHIFT, Escape, exec, nmcli device down wlo1
bind = CTRL SHIFT, 0, exec, nmcli connection up Hotspot
bind = CTRL SHIFT, 1, exec, nmcli connection up EagleNet
bind = CTRL SHIFT, 2, exec, nmcli connection up CXNK00813829
bind = CTRL SHIFT, 3, exec, nmcli connection up ATT9MhT2ql
#brightness keys
bind = , XF86MonBrightnessUp, exec, brightnessctl set +10%
bind = , XF86MonBrightnessDown, exec, brightnessctl set 10%-
#volume keys
binde = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_SINK@ 10%+
binde = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_SINK@ 10%-
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_SINK@ toggle
bind = $mainMod, F9, exec, pavucontrol
#screen lock key
bind = $mainMod, F12, exec, swaylock
#logout shortcut
bind = CTRL ALT, Delete, exec, loginctl kill-session self
# Move/resize windows with mainMod + LMB/RMB and dragging
bind = $mainMod SHIFT, J, movewindow, u
bind = $mainMod SHIFT, K, movewindow, d
bind = $mainMod SHIFT, H, movewindow, l
bind = $mainMod SHIFT, L, movewindow, r
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod SHIFT, mouse:272, resizewindow
$scratchpadsize = size 60% 80%
$scratchpad = class:^(scratchpad)$
windowrulev2 = float, $scratchpad
windowrulev2 = $scratchpadsize, $scratchpad
windowrulev2 = workspace special silent, $scratchpad
$kitty = class:^(scratchpad-kitty)$
windowrulev2 = float, $kitty
windowrulev2 = $scratchpadsize, $kitty
windowrulev2 = workspace special silent, $kitty
$nvim = class:^(scratchpad-nvim)$
windowrulev2 = float, $nvim
windowrulev2 = $scratchpadsize, $nvim
windowrulev2 = workspace special silent, $nvim
bind = $mainMod, N, exec, colorPrefix pypr toggle nvim
bind = $mainMod, E, exec, colorPrefix pypr toggle free
bind = CTRL SHIFT, Home, exec, ssh nathan@blunkall.us -fL 5900:localhost:5900 sleep 10; vncviewer localhost:5900 -fullscreen
bind = CTRL SHIFT, Home, submap, clean
bind = $mainMod CTRL, Home, submap, clean
submap = clean
bind = $mainMod CTRL, Home, submap, reset
submap = reset

View File

@@ -1,22 +0,0 @@
[pyprland]
plugins = [
"scratchpads"
]
[scratchpads.nvim]
animation = "fromTop"
command = "kitty --class scratchpad-nvim -e nvim ~/Projects"
lazy = false
class = "scratchpad-nvim"
margin = 100
multi = true
excludes = "*"
[scratchpads.free]
animation = "fromBottom"
command = "kitty --class scratchpad -e tmux"
class = "scratchpad"
lazy = false
margin = 100
multi = true
excludes = "*"

View File

@@ -1,120 +0,0 @@
console_title_template = '{{ .Shell }} in {{ .Folder }}'
version = 3
final_space = true
[palette]
c0 = '#0B0704'
c1 = '#846550'
c10 = '#636E90'
c11 = '#6FAEAC'
c12 = '#A5ADA2'
c13 = '#F1DCB7'
c14 = '#A1E7DA'
c15 = '#c2c1c0'
c2 = '#4a526c'
c3 = '#538281'
c4 = '#7b8179'
c5 = '#b4a589'
c6 = '#78ada3'
c7 = '#958d89'
c8 = '#665b54'
c9 = '#B1876B'
[secondary_prompt]
template = '❭❭ '
background = 'transparent'
[transient_prompt]
template = '{{ if gt .Code 0 }}!❭ {{else}}❭ {{end}}'
background = 'transparent'
foreground_templates = ['{{ if gt .Code 0 }}p:c13{{end}}', '{{ if eq .Code 0 }}p:c14{{end}}']
[[blocks]]
type = 'prompt'
alignment = 'left'
newline = true
[[blocks.segments]]
trailing_diamond = ''
template = ' {{ .Icon }} '
foreground = 'p:c12'
background = 'p:c1'
type = 'os'
style = 'diamond'
[blocks.segments.properties]
cache_duration = 'none'
[[blocks.segments]]
trailing_diamond = ''
template = '{{ .UserName }}@{{ .HostName }}'
foreground = 'p:c14'
background = 'p:c2'
type = 'session'
style = 'diamond'
[blocks.segments.properties]
cache_duration = 'none'
[[blocks.segments]]
trailing_diamond = ''
template = '{{ .Path }}'
foreground = 'p:c13'
background = 'p:c4'
type = 'path'
style = 'diamond'
[blocks.segments.properties]
cache_duration = 'none'
style = 'full'
[[blocks]]
type = 'prompt'
alignment = 'right'
overflow = 'hidden'
[[blocks.segments]]
leading_diamond = ''
template = '{{ .FormattedMs }}'
foreground = 'p:c13'
background = 'p:c4'
type = 'executiontime'
style = 'diamond'
[blocks.segments.properties]
cache_duration = 'none'
[[blocks.segments]]
leading_diamond = ''
foreground = 'p:c14'
background = 'p:c2'
type = 'time'
style = 'diamond'
[blocks.segments.properties]
cache_duration = 'none'
[[blocks.segments]]
leading_diamond = ''
foreground = 'p:c12'
background = 'p:c1'
type = 'shell'
style = 'diamond'
[blocks.segments.properties]
cache_duration = 'none'
[[blocks]]
type = 'prompt'
alignment = 'left'
newline = true
[[blocks.segments]]
template = '{{ if gt .Code 0 }}!❭ {{else}}❭ {{end}}'
background = 'transparent'
type = 'text'
style = 'plain'
foreground_templates = ['{{ if gt .Code 0 }}p:c13{{end}}', '{{ if eq .Code 0 }}p:c14{{end}}']
[blocks.segments.properties]
cache_duration = 'none'

View File

@@ -1,16 +0,0 @@
indicator
ignore-empty-password
indicator-thickness=10
indicator-radius=100
image=~/.cache/bg
clock
ring-color=33ddff55
key-hl-color=dd4444
line-color=00000000
inside-color=00000088
text-color=00a6f0
text-clear-color=daa520
ring-clear-color=002251
separator-color=00000000
grace=2
fade-in=0.5

View File

@@ -1,279 +0,0 @@
## Configuration file for CAVA.
# Remove the ; to change parameters.
[general]
# Smoothing mode. Can be 'normal', 'scientific' or 'waves'. DEPRECATED as of 0.6.0
; mode = normal
# Accepts only non-negative values.
; framerate = 60
# 'autosens' will attempt to decrease sensitivity if the bars peak. 1 = on, 0 = off
# new as of 0.6.0 autosens of low values (dynamic range)
# 'overshoot' allows bars to overshoot (in % of terminal height) without initiating autosens. DEPRECATED as of 0.6.0
; autosens = 1
; overshoot = 20
# Manual sensitivity in %. If autosens is enabled, this will only be the initial value.
# 200 means double height. Accepts only non-negative values.
; sensitivity = 100
# The number of bars (0-512). 0 sets it to auto (fill up console).
# Bars' width and space between bars in number of characters.
; bars = 0
; bar_width = 2
; bar_spacing = 1
# bar_height is only used for output in "noritake" format
; bar_height = 32
# For SDL width and space between bars is in pixels, defaults are:
; bar_width = 20
; bar_spacing = 5
# sdl_glsl have these default values, they are only used to calulate max number of bars.
; bar_width = 1
; bar_spacing = 0
# Lower and higher cutoff frequencies for lowest and highest bars
# the bandwidth of the visualizer.
# Note: there is a minimum total bandwidth of 43Mhz x number of bars.
# Cava will automatically increase the higher cutoff if a too low band is specified.
; lower_cutoff_freq = 50
; higher_cutoff_freq = 10000
# Seconds with no input before cava goes to sleep mode. Cava will not perform FFT or drawing and
# only check for input once per second. Cava will wake up once input is detected. 0 = disable.
; sleep_timer = 0
[input]
# Audio capturing method. Possible methods are: 'fifo', 'portaudio', 'pipewire', 'alsa', 'pulse', 'sndio', 'oss', 'jack' or 'shmem'
# Defaults to 'oss', 'pipewire', 'sndio', 'jack', 'pulse', 'alsa', 'portaudio' or 'fifo', in that order, dependent on what support cava was built with.
# On Mac it defaults to 'portaudio' or 'fifo'
# On windows this is automatic and no input settings are needed.
#
# All input methods uses the same config variable 'source'
# to define where it should get the audio.
#
# For pulseaudio and pipewire 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink
# (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them).
#
# For pipewire 'source' will be the object name or object.serial of the device to capture from.
# Both input and output devices are supported.
#
# For alsa 'source' will be the capture device.
# For fifo 'source' will be the path to fifo-file.
# For shmem 'source' will be /squeezelite-AA:BB:CC:DD:EE:FF where 'AA:BB:CC:DD:EE:FF' will be squeezelite's MAC address
#
# For sndio 'source' will be a raw recording audio descriptor or a monitoring sub-device, e.g. 'rsnd/2' or 'snd/1'. Default: 'default'.
# README.md contains further information on how to setup CAVA for sndio.
#
# For oss 'source' will be the path to a audio device, e.g. '/dev/dsp2'. Default: '/dev/dsp', i.e. the default audio device.
# README.md contains further information on how to setup CAVA for OSS on FreeBSD.
#
# For jack 'source' will be the name of the JACK server to connect to, e.g. 'foobar'. Default: 'default'.
# README.md contains further information on how to setup CAVA for JACK.
#
; method = pulse
; source = auto
; method = pipewire
; source = auto
; method = alsa
; source = hw:Loopback,1
; method = fifo
; source = /tmp/mpd.fifo
; method = shmem
; source = /squeezelite-AA:BB:CC:DD:EE:FF
; method = portaudio
; source = auto
; method = sndio
; source = default
; method = oss
; source = /dev/dsp
; method = jack
; source = default
# The options 'sample_rate', 'sample_bits', 'channels' and 'autoconnect' can be configured for some input methods:
# sample_rate: fifo, pipewire, sndio, oss
# sample_bits: fifo, pipewire, sndio, oss
# channels: sndio, oss, jack
# autoconnect: jack
# Other methods ignore these settings.
#
# For 'sndio' and 'oss' they are only preferred values, i.e. if the values are not supported
# by the chosen audio device, the device will use other supported values instead.
# Example: 48000, 32 and 2, but the device only supports 44100, 16 and 1, then it
# will use 44100, 16 and 1.
#
; sample_rate = 44100
; sample_bits = 16
; channels = 2
; autoconnect = 2
[output]
# Output method. Can be 'ncurses', 'noncurses', 'raw', 'noritake', 'sdl'
# or 'sdl_glsl'.
# 'noncurses' (default) uses a buffer and cursor movements to only print
# changes from frame to frame in the terminal. Uses less resources and is less
# prone to tearing (vsync issues) than 'ncurses'.
#
# 'raw' is an 8 or 16 bit (configurable via the 'bit_format' option) data
# stream of the bar heights that can be used to send to other applications.
# 'raw' defaults to 200 bars, which can be adjusted in the 'bars' option above.
#
# 'noritake' outputs a bitmap in the format expected by a Noritake VFD display
# in graphic mode. It only support the 3000 series graphical VFDs for now.
#
# 'sdl' uses the Simple DirectMedia Layer to render in a graphical context.
# 'sdl_glsl' uses SDL to create an OpenGL context. Write your own shaders or
# use one of the predefined ones.
; method = noncurses
# Orientation of the visualization. Can be 'bottom', 'top', 'left' or 'right'.
# Default is 'bottom'. Other orientations are only supported on sdl and ncruses
# output. Note: many fonts have weird glyphs for 'top' and 'right' characters,
# which can make ncurses not look right.
; orientation = bottom
# Visual channels. Can be 'stereo' or 'mono'.
# 'stereo' mirrors both channels with low frequencies in center.
# 'mono' outputs left to right lowest to highest frequencies.
# 'mono_option' set mono to either take input from 'left', 'right' or 'average'.
# set 'reverse' to 1 to display frequencies the other way around.
; channels = stereo
; mono_option = average
; reverse = 0
# Raw output target. A fifo will be created if target does not exist.
; raw_target = /dev/stdout
# Raw data format. Can be 'binary' or 'ascii'.
; data_format = binary
# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530).
; bit_format = 16bit
# Ascii max value. In 'ascii' mode range will run from 0 to value specified here
; ascii_max_range = 1000
# Ascii delimiters. In ascii format each bar and frame is separated by a delimiters.
# Use decimal value in ascii table (i.e. 59 = ';' and 10 = '\n' (line feed)).
; bar_delimiter = 59
; frame_delimiter = 10
# sdl window size and position. -1,-1 is centered.
; sdl_width = 1000
; sdl_height = 500
; sdl_x = -1
; sdl_y= -1
; sdl_full_screen = 0
# set label on bars on the x-axis. Can be 'frequency' or 'none'. Default: 'none'
# 'frequency' displays the lower cut off frequency of the bar above.
# Only supported on ncurses and noncurses output.
; xaxis = none
# enable alacritty synchronized updates. 1 = on, 0 = off
# removes flickering in alacritty terminal emulator.
# defaults to off since the behaviour in other terminal emulators is unknown
; alacritty_sync = 0
# Shaders for sdl_glsl, located in $HOME/.config/cava/shaders
; vertex_shader = pass_through.vert
; fragment_shader = bar_spectrum.frag
; for glsl output mode, keep rendering even if no audio
; continuous_rendering = 0
# disable console blank (screen saver) in tty
# (Not supported on FreeBSD)
; disable_blanking = 0
# show a flat bar at the bottom of the screen when idle, 1 = on, 0 = off
; show_idle_bar_heads = 1
# show waveform instead of frequency spectrum, 1 = on, 0 = off
; waveform = 0
[color]
# Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow.
# Or defined by hex code '#xxxxxx' (hex code must be within ''). User defined colors requires
# a terminal that can change color definitions such as Gnome-terminal or rxvt.
# default is to keep current terminal color
; background = default
; foreground = default
# SDL and sdl_glsl only support hex code colors, these are the default:
; background = '#111111'
; foreground = '#33ffff'
# Gradient mode, only hex defined colors are supported,
# background must also be defined in hex or remain commented out. 1 = on, 0 = off.
# You can define as many as 8 different colors. They range from bottom to top of screen
gradient = 1
gradient_count = 8
gradient_color_1 = '{color1}'
gradient_color_2 = '{color2}'
gradient_color_3 = '{color3}'
gradient_color_4 = '{color4}'
gradient_color_5 = '{color5}'
gradient_color_6 = '{color6}'
gradient_color_7 = '{color7}'
gradient_color_8 = '{color8}'
[smoothing]
# Percentage value for integral smoothing. Takes values from 0 - 100.
# Higher values means smoother, but less precise. 0 to disable.
# DEPRECATED as of 0.8.0, use noise_reduction instead
; integral = 77
# Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable.
; monstercat = 0
; waves = 0
# Set gravity percentage for "drop off". Higher values means bars will drop faster.
# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off".
# DEPRECATED as of 0.8.0, use noise_reduction instead
; gravity = 100
# In bar height, bars that would have been lower that this will not be drawn.
# DEPRECATED as of 0.8.0
; ignore = 0
# Noise reduction, int 0 - 100. default 77
# the raw visualization is very noisy, this factor adjusts the integral and gravity filters to keep the signal smooth
# 100 will be very slow and smooth, 0 will be fast but noisy.
; noise_reduction = 77
[eq]
# This one is tricky. You can have as much keys as you want.
# Remember to uncomment more than one key! More keys = more precision.
# Look at readme.md on github for further explanations and examples.
; 1 = 1 # bass
; 2 = 1
; 3 = 1 # midtone
; 4 = 1
; 5 = 1 # treble

View File

@@ -1,161 +0,0 @@
window.bar {{
background-color: {color1.rgba};
color: {color1.rgba};
opacity: 1;
}}
.playerbox {{
background-color: {color2};
color:rgb(73, 81, 121);
border: 3px solid black;
border-radius: 15px;
}}
.launcher {{
background: none;
border: none;
}}
box {{
color: {color11};
}}
Window.SettingsWindow {{
background-color: black;
color: black;
}}
.settings_window {{
background-color: {color1.rgba};
border-radius: 15px;
}}
.focused {{
color: {color11};
}}
.other {{
color: {color3};
}}
.media {{
color: {color11};
}}
.media:active {{
background-color: {color11};
}}
button {{
min-width: 0;
padding-top: 0;
padding-bottom: 0;
background: none;
border: none;
padding: 0px;
padding-left: 5px;
padding-right: 5px;
color: {color11};
}}
button:active {{
background-color: {color11};
}}
button:hover {{
border-bottom: 3px solid {color3};
}}
label {{
font-weight: bold;
}}
.workspaces button.focused {{
border-bottom: 3px solid {color11};
}}
.client-title {{
color: {color11};
}}
.clock {{
color: {color11};
}}
.notification {{
color: yellow;
}}
levelbar block,
highlight {{
min-height: 4px;
}}
/************************************/
window.notification-popups box.notifications {{
padding: .5em;
}}
.icon {{
min-width: 68px;
min-height: 68px;
margin-right: 1em;
}}
.icon image {{
font-size: 58px;
/* to center the icon */
margin: 5px;
color: yellow;
}}
.icon box {{
min-width: 68px;
min-height: 68px;
border-radius: 7px;
}}
.notificationbutton {{
color: {color3};
}}
.notification {{
min-width: 350px;
border-radius: 11px;
padding: 1em;
margin: .5em;
border: 1px solid blue;
background-color: {color2};
}}
.notification.critical {{
border: 1px solid lightcoral;
}}
.title {{
color: aqua;
font-size: 1.4em;
}}
.body {{
color: teal;
}}
.actions .action-button {{
margin: 0 .4em;
margin-top: .8em;
}}
.actions .action-button:first-child {{
margin-left: 0;
}}
.actions .action-button:last-child {{
margin-right: 0;
}}

View File

@@ -1,23 +0,0 @@
--accent-color: {color7};
--border-color: {color3};
--background-1: rgba({color0.rgb}, 200);
--background-2: transparent;
--background-mentioned: {color3} !important;
--background-mentioned-hover: {color3} !important;
--background-modifier-hover: {color6} !important;
--background-modifier-active: {color3} !important;
--text-normal: {color1} !important;
--text-positive: {color2} !important;
--text-muted: {color3} !important;
--text-link: {color4} !important;
--button-background: {color5} !important;
--button-background-hover: {color0} !important;
--button-background-active: {color0} !important;
--button-accent-hover: {color0} !important;
--button-accent-active: {color5} !important;
--button-destructive: {color5} !important;
--button-destructive-hover: {color4} !important;
--button-destructive-active: {color4} !important;
--settings-icon-color: {color0} !important;
--tab-selected: {color2} !important;
--switch: {color1} !important;

View File

@@ -1,18 +0,0 @@
$foregroundCol = 0xff{foreground.strip}
$backgroundCol = 0xff{background.strip}
$color0 = 0xff{color0.strip}
$color1 = 0xff{color1.strip}
$color2 = 0xff{color2.strip}
$color3 = 0xff{color3.strip}
$color4 = 0xff{color4.strip}
$color5 = 0xff{color5.strip}
$color6 = 0xff{color6.strip}
$color7 = 0xff{color7.strip}
$color8 = 0xff{color8.strip}
$color9 = 0xff{color9.strip}
$color10 = 0xff{color10.strip}
$color11 = 0xff{color11.strip}
$color12 = 0xff{color12.strip}
$color13 = 0xff{color13.strip}
$color14 = 0xff{color14.strip}
$color15 = 0xff{color15.strip}

View File

@@ -1,98 +0,0 @@
{ config, lib, pkgs, inputs, ... }: let
system = "x86_64-linux";
pkgs-us = import inputs.nixpkgs-us {
inherit system;
config.allowUnfree = true;
};
in {
imports = [
./scripts
];
options.homeconfig.minimal = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = {
nixpkgs.config = lib.mkIf (!config.homeconfig.minimal) {
allowUnfree = true;
};
home.packages = with pkgs; ([
killall
btop
zip
unzip
gcc
zulu
rsync
curl
wget
] ++ (if config.homeconfig.graphical then [
grim
slurp
xfce.thunar
wl-clipboard
blueberry
lxqt.lxqt-policykit
] else []) ++ (if !config.homeconfig.minimal then [
cava
android-tools
neovim-remote
(python312.withPackages (ps: with ps; [
numpy
matplotlib
scipy
pandas
pyaudio
pyusb
debugpy
requests
]))
fastfetch
ncmpcpp
playerctl
mpc-cli
ffmpeg
] else []) ++ (if !config.homeconfig.minimal && config.homeconfig.graphical then [
handbrake
quickemu
bottles
brightnessctl
libdbusmenu-gtk3
lmms
#unfree {
geogebra
spotify
pkgs-us.rustdesk-flutter
#}
pkgs-us.mpv
vlc
pavucontrol
rpi-imager
tigervnc
keepassxc
#3D modeling/printing
blender
freecad-wayland
cura-appimage
#productivity
libreoffice
#games
prismlauncher
] else []));
};
}

Some files were not shown because too many files have changed in this diff Show More