Compare commits

...
160 Commits
Author SHA1 Message Date
jashton 0a536c33fc nixos: gen 133 @ lilac — 2026-11-06 20:32 26.05.20261105.c56a87d (Yarara) ----- 2026-11-06 20:33:27 -07:00
jashton 4114212d41 nixos: gen 132 @ lilac — 2026-11-06 19:01 26.05.20261105.c56a87d (Yarara) ----- 2026-11-06 19:01:05 -07:00
jashton 99b50d56dd nixos: gen 131 @ lilac — 2026-11-06 18:57 26.05.20261105.c56a87d (Yarara) ----- 2026-11-06 18:57:22 -07:00
jashton 5c7e367fde nixos: gen 130 @ lilac — 2026-11-06 18:42 26.05.20261105.c56a87d (Yarara) ----- 2026-11-06 18:43:43 -07:00
jashton 47ae8f7bf9 nixos: gen 129 @ lilac — 2026-11-06 16:10 26.05.20261105.c56a87d (Yarara) ----- 2026-11-06 16:10:22 -07:00
jashton 3b00583072 nixos: gen 128 @ lilac — 2026-11-06 16:04 26.05.20261105.c56a87d (Yarara) ----- 2026-11-06 16:04:05 -07:00
jashton 12bd952ece nixos: gen 127 @ lilac — 2026-11-06 14:53 26.05.20261105.c56a87d (Yarara) ----- update to dux 2.1 2026-11-06 14:54:24 -07:00
jashton f8852dfee3 nixos: gen 126 @ lilac — 2026-11-06 14:39 26.05.20261105.c56a87d (Yarara) ----- 2026-11-06 14:39:13 -07:00
jashton fa746ca9cb nixos: gen 126 @ lilac — 2026-11-06 14:28 26.05.20261105.c56a87d (Yarara) ----- 2026-11-06 14:28:46 -07:00
jashton d30ff2443d nixos: gen 126 @ lilac — 2026-11-06 13:56 26.05.20261105.c56a87d (Yarara) ----- 2026-11-06 13:56:23 -07:00
jashton f66e32be92 nixos: gen 125 @ lilac — 2026-11-06 13:46 26.05.20261105.c56a87d (Yarara) ----- 2026-11-06 13:47:34 -07:00
jashton 410242d8e4 nixos: gen 124 @ lilac — 2026-11-06 09:23 26.05.20261031.fa13731 (Yarara) ----- 2026-11-06 09:24:04 -07:00
jashton 184249a3d8 nixos: gen 123 @ lilac — 2026-11-06 09:15 26.05.20261031.fa13731 (Yarara) ----- 2026-11-06 09:15:15 -07:00
jashton ec4272ea68 nixos: gen 122 @ lilac — 2026-11-06 09:01 26.05.20261031.fa13731 (Yarara) ----- 2026-11-06 09:01:45 -07:00
jashton 666f948dbd nixos: gen 121 @ lilac — 2026-11-05 21:40 26.05.20261031.fa13731 (Yarara) ----- 2026-11-05 21:40:49 -07:00
jashton 51979322ec nixos: gen 120 @ lilac — 2026-11-05 18:41 26.05.20261031.fa13731 (Yarara) ----- 2026-11-05 18:41:49 -07:00
jashton cd6fb4d0a9 nixos: gen 120 @ lilac — 2026-11-05 14:30 26.05.20261031.fa13731 (Yarara) ----- 2026-11-05 14:31:14 -07:00
jashton 77c1f6e3dc nixos: gen 119 @ lilac — 2026-11-05 13:44 26.05.20261031.fa13731 (Yarara) ----- 2026-11-05 13:44:28 -07:00
jashton 49c43b9447 nixos: gen 118 @ lilac — 2026-11-05 13:37 26.05.20261031.fa13731 (Yarara) ----- 2026-11-05 13:37:48 -07:00
jashton f402d23096 nixos: gen 117 @ lilac — 2026-11-05 13:33 26.05.20261031.fa13731 (Yarara) ----- 2026-11-05 13:33:56 -07:00
jashton 25dec3f97a nixos: gen 116 @ lilac — 2026-11-05 12:33 26.05.20261031.fa13731 (Yarara) ----- 2026-11-05 12:33:44 -07:00
jashton a02eb00e74 nixos: gen 115 @ lilac — 2026-11-05 12:22 26.05.20261031.fa13731 (Yarara) ----- 2026-11-05 12:23:08 -07:00
jashton f70618d4c3 nixos: gen 114 @ lilac — 2026-11-04 16:30 26.05.20261031.fa13731 (Yarara) ----- 2026-11-04 16:30:54 -07:00
jashton d1accfb7f2 nixos: gen 113 @ lilac — 2026-11-03 10:07 26.05.20261031.fa13731 (Yarara) ----- 2026-11-03 10:07:54 -07:00
jashton 0bd5d65ca2 nixos: gen 261 @ violet — 2026-11-01 11:44 26.05.20261031.fa13731 (Yarara) ----- disabling magnetic wake on thinkpad (violet) 2026-11-01 11:44:41 -07:00
jashton 87444e73b3 nixos: gen 35 @ lavender — 2026-11-01 11:27 26.05.20261031.fa13731 (Yarara) ----- disabled dank-calendar 2026-11-01 11:29:09 -07:00
jashton 75508118ea nixos: gen 111 @ lilac — 2026-10-30 09:36 26.05.20261028.08d3a97 (Yarara) ----- Adding tree 2026-10-30 09:37:17 -06:00
jashton faa142de6c nixos: gen 110 @ lilac — 2026-10-30 08:26 26.05.20261028.08d3a97 (Yarara) ----- Adding bitwarden-desktop 2026-10-30 08:29:16 -06:00
jashton b6330dad70 nixos: gen 109 @ lilac — 2026-10-29 17:33 26.05.20261028.08d3a97 (Yarara) ----- 2026-10-29 17:34:02 -06:00
jashton e6dd280c9b nixos: gen 108 @ lilac — 2026-10-27 13:48 26.05.20260918.cf9d2fb (Yarara) ----- adding golang support to neovim 2026-10-27 13:48:12 -06:00
jashton 9510cb10c8 nixos: gen 106 @ lilac — 2026-10-23 11:50 26.05.20260918.cf9d2fb (Yarara) ----- 2026-10-23 11:52:41 -06:00
jashton 5f55134b00 nixos: gen 105 @ lilac — 2026-10-23 11:43 26.05.20260918.cf9d2fb (Yarara) ----- 2026-10-23 11:44:23 -06:00
jashton 2eccb54338 nixos: gen 104 @ lilac — 2026-10-22 13:32 26.05.20260918.cf9d2fb (Yarara) ----- 2026-10-22 13:32:25 -06:00
jashton 233d7da06f nixos: gen 103 @ lilac — 2026-10-22 13:20 26.05.20260918.cf9d2fb (Yarara) ----- 2026-10-22 13:21:03 -06:00
jashton e567cd36c7 nixos: gen 102 @ lilac — 2026-10-22 13:10 26.05.20260918.cf9d2fb (Yarara) ----- 2026-10-22 13:10:52 -06:00
jashton f473a80990 nixos: gen 101 @ lilac — 2026-10-22 13:04 26.05.20260918.cf9d2fb (Yarara) ----- updating nvim and tmux for better keybinds. 2026-10-22 13:04:43 -06:00
jashton ae1c694c62 nixos: gen 100 @ lilac — 2026-10-22 12:51 26.05.20260918.cf9d2fb (Yarara) ----- 2026-10-22 12:51:19 -06:00
jashton f33bc686a5 nixos: gen 99 @ lilac — 2026-10-22 12:39 26.05.20260918.cf9d2fb (Yarara) ----- 2026-10-22 12:39:08 -06:00
jashton 6ca766c4f3 nixos: gen 98 @ lilac — 2026-10-22 12:35 26.05.20260918.cf9d2fb (Yarara) ----- adding neovim resurrect 2026-10-22 12:35:23 -06:00
jashton fce04ffc06 nixos: gen 97 @ lilac — 2026-10-21 15:47 26.05.20260918.cf9d2fb (Yarara) ----- 2026-10-21 15:47:39 -06:00
jashton 5ad897acef nixos: gen 96 @ lilac — 2026-10-21 15:15 26.05.20260918.cf9d2fb (Yarara) ----- 2026-10-21 15:15:21 -06:00
jashton 9518d215d4 nixos: gen 95 @ lilac — 2026-10-21 15:13 26.05.20260918.cf9d2fb (Yarara) ----- 2026-10-21 15:13:36 -06:00
jashton f3fd684e9d nixos: gen 94 @ lilac — 2026-10-21 15:04 26.05.20260918.cf9d2fb (Yarara) ----- 2026-10-21 15:04:25 -06:00
jashton 9eca40ace2 nixos: gen 93 @ lilac — 2026-10-21 14:57 26.05.20260918.cf9d2fb (Yarara) ----- 2026-10-21 14:57:07 -06:00
jashton f296674d0b nixos: gen 93 @ lilac — 2026-10-21 14:32 26.05.20260918.cf9d2fb (Yarara) ----- 2026-10-21 14:32:34 -06:00
jashton 6a83515ddf nixos: gen 92 @ lilac — 2026-10-21 14:21 26.05.20260918.cf9d2fb (Yarara) ----- adding pip rule 2026-10-21 14:21:48 -06:00
jashton adae25426c nixos: gen 90 @ lilac — 2026-10-20 13:52 26.05.20260918.cf9d2fb (Yarara) ----- added tmux plugins 2026-10-20 13:52:48 -06:00
jashton 684e63d7b3 nixos: gen 89 @ lilac — 2026-10-17 15:44 26.05.20260918.cf9d2fb (Yarara) ----- updating tmux 2026-10-17 15:44:47 -06:00
jashton 1bf66a1d02 nixos: gen 88 @ lilac — 2026-10-17 15:29 26.05.20260918.cf9d2fb (Yarara) ----- 2026-10-17 15:43:21 -06:00
jashton f23cc03004 nixos: gen 30 @ lavender — 2026-10-16 23:48 26.05.20260918.cf9d2fb (Yarara) ----- 2026-10-16 23:49:41 -06:00
jashton ac5b302f64 nixos: gen 29 @ lavender — 2026-10-16 23:38 26.05.20260918.cf9d2fb (Yarara) ----- 2026-10-16 23:38:35 -06:00
jashton 416b561744 nixos: gen 28 @ lavender — 2026-10-16 23:31 26.05.20260918.cf9d2fb (Yarara) ----- 2026-10-16 23:31:49 -06:00
jashton 49176e8c46 nixos: gen 87 @ lilac — 2026-10-13 13:07 26.05.20260918.cf9d2fb (Yarara) ----- 2026-10-13 13:07:37 -06:00
jashton 7fb7a37c24 nixos: gen 86 @ lilac — 2026-10-13 13:05 26.05.20260918.cf9d2fb (Yarara) ----- 2026-10-13 13:05:43 -06:00
jashton f360204f0c nixos: gen 85 @ lilac — 2026-10-08 14:59 26.05.20260918.cf9d2fb (Yarara) ----- 2026-10-08 14:59:29 -06:00
jashton 43078e404d nixos: gen 84 @ lilac — 2026-10-08 14:34 26.05.20260918.cf9d2fb (Yarara) ----- 2026-10-08 14:34:11 -06:00
jashton 3589763057 nixos: gen 83 @ lilac — 2026-10-08 14:00 26.05.20260918.cf9d2fb (Yarara) ----- 2026-10-08 14:00:17 -06:00
jashton be8fefcb9c nixos: gen 82 @ lilac — 2026-10-08 13:52 26.05.20260918.cf9d2fb (Yarara) ----- 2026-10-08 13:52:51 -06:00
jashton a49564aae6 nixos: gen 81 @ lilac — 2026-10-08 13:48 26.05.20260918.cf9d2fb (Yarara) ----- 2026-10-08 13:48:59 -06:00
jashton ac241fe497 nixos: gen 80 @ lilac — 2026-09-29 13:47 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-29 13:47:40 -06:00
jashton be2ec252ee nixos: gen 79 @ lilac — 2026-09-29 13:43 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-29 13:43:19 -06:00
jashton d585007aaa nixos: gen 78 @ lilac — 2026-09-29 10:15 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-29 10:15:37 -06:00
jashton 42a34d981a nixos: gen 77 @ lilac — 2026-09-25 08:11 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-25 08:11:54 -06:00
jashton 60e64aad63 nixos: gen 76 @ lilac — 2026-09-24 14:51 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-24 14:51:04 -06:00
jashton e1eb76bb8c nixos: gen 75 @ lilac — 2026-09-24 14:16 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-24 14:16:06 -06:00
jashton c5dab4f100 nixos: gen 74 @ lilac — 2026-09-24 14:13 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-24 14:13:18 -06:00
jashton 1ff13c496d nixos: gen 73 @ lilac — 2026-09-24 14:09 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-24 14:09:24 -06:00
jashton c786683558 nixos: gen 72 @ lilac — 2026-09-24 09:50 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-24 09:50:42 -06:00
jashton baa8eb7d90 nixos: gen 71 @ lilac — 2026-09-24 09:47 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-24 09:47:03 -06:00
jashton 427de24789 nixos: gen 70 @ lilac — 2026-09-22 16:23 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-22 16:23:50 -06:00
jashton 366b135a49 nixos: gen 69 @ lilac — 2026-09-22 16:10 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-22 16:10:27 -06:00
jashton cb48f0ea99 fix systemd client service 2026-09-22 16:04:33 -06:00
jashton a4b5fa30df designated lilac as server/listener, violet as client 2026-09-22 15:59:33 -06:00
jashton a5c7fc2126 nixos: gen 68 @ lilac — 2026-09-22 15:58 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-22 15:58:24 -06:00
jashton 31abeb305c nixos: gen 67 @ lilac — 2026-09-22 15:42 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-22 15:42:38 -06:00
jashton b1b6a6c395 nixos: gen 67 @ lilac — 2026-09-22 15:39 26.05.20260918.cf9d2fb (Yarara) ----- IP over bluetooth for seamless LAN-Mouse 2026-09-22 15:39:56 -06:00
jashton f99928c954 nixos: gen 66 @ lilac — 2026-09-22 13:35 26.05.20260918.cf9d2fb (Yarara) ----- configuring opencode to use on-device AI 2026-09-22 13:35:10 -06:00
jashton 284a084ca5 nixos: gen 65 @ lilac — 2026-09-21 18:47 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-21 18:47:38 -06:00
jashton 33adf967e3 nixos: gen 64 @ lilac — 2026-09-21 09:09 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-21 09:10:02 -06:00
jashton cea4b70f83 nixos: gen 64 @ lilac — 2026-09-21 09:06 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-21 09:06:13 -06:00
jashton 92fe2a5a18 nixos: gen 64 @ lilac — 2026-09-20 02:34 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-20 02:34:59 -06:00
jashton da6e625f87 nixos: gen 63 @ lilac — 2026-09-20 02:20 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-20 02:24:09 -06:00
jashton 0ed1b19d50 nixos: gen 62 @ lilac — 2026-09-20 02:10 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-20 02:10:41 -06:00
jashton 03c32ccd43 nixos: gen 61 @ lilac — 2026-09-20 01:26 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-20 01:27:24 -06:00
jashton 6dba7591c9 nixos: gen 60 @ lilac — 2026-09-20 00:05 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-20 00:05:28 -06:00
jashton c5575b29e2 nixos: gen 59 @ lilac — 2026-09-19 22:57 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-19 23:01:04 -06:00
jashton 3a03af88ac nixos: gen 59 @ lilac — 2026-09-19 22:54 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-19 22:54:57 -06:00
jashton 926a9ce8d2 nixos: gen 58 @ lilac — 2026-09-18 23:31 26.05.20260918.cf9d2fb (Yarara) ----- 2026-09-18 23:33:29 -06:00
jashton 0947526230 nixos: gen 57 @ lilac — 2026-09-18 23:04 26.05.20260917.ecc58f3 (Yarara) ----- 2026-09-18 23:05:03 -06:00
jashton dc03ffb1ab nixos: gen 54 @ lilac — 2026-09-18 21:17 26.05.20260814.02e0898 (Yarara) ----- 2026-09-18 21:18:39 -06:00
jashton 0751404d41 nixos: gen 53 @ lilac — 2026-09-18 21:14 26.05.20260814.02e0898 (Yarara) ----- 2026-09-18 21:14:08 -06:00
jashton 8878543aeb nixos: gen 52 @ lilac — 2026-09-18 20:58 26.05.20260814.02e0898 (Yarara) ----- 2026-09-18 21:04:39 -06:00
jashton a17047a67a nixos: gen 51 @ lilac — 2026-09-18 20:14 26.05.20260814.02e0898 (Yarara) ----- 2026-09-18 20:15:39 -06:00
jashton 8c6c7c8495 nixos: gen 50 @ lilac — 2026-09-18 20:09 26.05.20260814.02e0898 (Yarara) ----- 2026-09-18 20:09:03 -06:00
jashton c586a863f6 nixos: gen 49 @ lilac — 2026-09-18 10:24 26.05.20260814.02e0898 (Yarara) ----- 2026-09-18 10:24:10 -06:00
jashton f524723d98 nixos: gen 48 @ lilac — 2026-09-18 10:18 26.05.20260814.02e0898 (Yarara) ----- 2026-09-18 10:18:52 -06:00
jashton 46362c1949 nixos: gen 47 @ lilac — 2026-09-18 10:13 26.05.20260814.02e0898 (Yarara) ----- 2026-09-18 10:14:01 -06:00
jashton cd1e5d7408 nixos: gen 46 @ lilac — 2026-09-18 08:21 26.05.20260814.02e0898 (Yarara) ----- 2026-09-18 08:21:46 -06:00
jashton 77178d0b6e nixos: gen 45 @ lilac — 2026-09-18 08:18 26.05.20260814.02e0898 (Yarara) ----- refactoring nvim.nix and adding better java integration 2026-09-18 08:18:18 -06:00
jashton b85e10aa25 nixos: gen 44 @ lilac — 2026-09-18 03:15 26.05.20260814.02e0898 (Yarara) ----- 2026-09-18 03:15:34 -06:00
jashton 0a0d297033 nixos: gen 43 @ lilac — 2026-09-17 15:15 26.05.20260814.02e0898 (Yarara) ----- 2026-09-17 15:15:45 -06:00
jashton e3779c9f6b nixos: gen 42 @ lilac — 2026-09-17 15:12 26.05.20260814.02e0898 (Yarara) ----- 2026-09-17 15:12:53 -06:00
jashton 7409f22d66 nixos: gen 41 @ lilac — 2026-09-17 15:11 26.05.20260814.02e0898 (Yarara) ----- 2026-09-17 15:11:04 -06:00
jashton 0d19a8c4ef nixos: gen 40 @ lilac — 2026-09-17 15:08 26.05.20260814.02e0898 (Yarara) ----- 2026-09-17 15:08:43 -06:00
jashton e4ad117b70 nixos: gen 39 @ lilac — 2026-09-17 15:01 26.05.20260814.02e0898 (Yarara) ----- 2026-09-17 15:01:48 -06:00
jashton 476a277371 nixos: gen 38 @ lilac — 2026-09-17 14:58 26.05.20260814.02e0898 (Yarara) ----- 2026-09-17 14:58:28 -06:00
jashton f84f7556fb nixos: gen 37 @ lilac — 2026-09-17 14:54 26.05.20260814.02e0898 (Yarara) ----- 2026-09-17 14:54:52 -06:00
jashton 17f1150298 nixos: gen 36 @ lilac — 2026-09-17 14:14 26.05.20260814.02e0898 (Yarara) ----- 2026-09-17 14:14:16 -06:00
jashton 72032bda82 nixos: gen 35 @ lilac — 2026-09-17 11:12 26.05.20260814.02e0898 (Yarara) ----- 2026-09-17 11:12:15 -06:00
jashton 4bb350b262 nixos: gen 34 @ lilac — 2026-09-13 13:04 26.05.20260814.02e0898 (Yarara) ----- 2026-09-13 13:04:27 -06:00
jashton c374ecbd36 nixos: gen 33 @ lilac — 2026-09-12 19:06 26.05.20260814.02e0898 (Yarara) ----- 2026-09-12 19:06:55 -06:00
jashton 44712feab0 nixos: gen 32 @ lilac — 2026-09-11 18:21 26.05.20260814.02e0898 (Yarara) ----- 2026-09-11 18:21:49 -06:00
jashton eb5381bf68 nixos: gen 31 @ lilac — 2026-09-11 18:18 26.05.20260814.02e0898 (Yarara) ----- 2026-09-11 18:19:12 -06:00
jashton 61fc2f1898 nixos: gen 250 @ violet — 2026-09-05 02:57 26.05.20260814.02e0898 (Yarara) ----- 2026-09-05 02:57:34 -06:00
jashton 76a4fd0708 nixos: gen 249 @ violet — 2026-09-05 02:40 26.05.20260814.02e0898 (Yarara) ----- 2026-09-05 02:40:51 -06:00
jashton 5c48a495c2 nixos: gen 248 @ violet — 2026-09-05 02:11 26.05.20260814.02e0898 (Yarara) ----- 2026-09-05 02:11:26 -06:00
jashton b4b0832e3b nixos: gen 247 @ violet — 2026-09-05 02:05 26.05.20260814.02e0898 (Yarara) ----- 2026-09-05 02:05:30 -06:00
jashton 6cd7d5ba59 nixos: gen 30 @ lilac — 2026-09-04 16:44 26.05.20260814.02e0898 (Yarara) ----- 2026-09-04 16:44:23 -06:00
jashton c743bb8318 nixos: gen 29 @ lilac — 2026-09-04 13:00 26.05.20260814.02e0898 (Yarara) ----- adding u of u printers 2026-09-04 13:00:34 -06:00
jashton 0831239cef nixos: gen 28 @ lilac — 2026-09-02 23:35 26.05.20260814.02e0898 (Yarara) ----- 2026-09-02 23:35:39 -06:00
jashton b2f9f3a46d nixos: gen 27 @ lilac — 2026-09-02 23:23 26.05.20260814.02e0898 (Yarara) ----- 2026-09-02 23:23:48 -06:00
jashton eef6ee42bb nixos: gen 26 @ lilac — 2026-09-02 23:12 26.05.20260814.02e0898 (Yarara) ----- background blur on terminal 2026-09-02 23:12:52 -06:00
jashton 8a60192e87 nixos: gen 25 @ lilac — 2026-09-02 23:08 26.05.20260814.02e0898 (Yarara) ----- 2026-09-02 23:09:48 -06:00
jashton f8b0574512 nixos: gen 24 @ lilac — 2026-09-02 23:06 26.05.20260814.02e0898 (Yarara) ----- 2026-09-02 23:06:39 -06:00
jashton 777c18eb76 nixos: gen 23 @ lilac — 2026-09-02 23:05 26.05.20260814.02e0898 (Yarara) ----- s 2026-09-02 23:05:36 -06:00
jashton cc8b3ec1b0 nixos: gen 22 @ lilac — 2026-09-02 22:51 26.05.20260814.02e0898 (Yarara) ----- 2026-09-02 22:51:43 -06:00
jashton 317fe77421 nixos: gen 246 @ violet — 2026-09-02 08:39 26.05.20260814.02e0898 (Yarara) ----- 2026-09-02 12:54:39 -06:00
jashton 744583a0e8 nixos: gen 21 @ lilac — 2026-09-01 11:37 26.05.20260814.02e0898 (Yarara) ----- 2026-09-01 11:38:03 -06:00
jashton 2e7773cf4b adding eclipse java support to neovim 2026-09-01 11:00:07 -06:00
jashton 7081a75fb0 nixos: gen 20 @ lilac — 2026-08-27 14:17 26.05.20260814.02e0898 (Yarara) ----- 2026-08-27 14:18:01 -06:00
jashton 134f22b70c nixos: gen 19 @ lilac — 2026-08-26 16:19 26.05.20260814.02e0898 (Yarara) ----- adding thunderbird 2026-08-26 16:19:29 -06:00
jashton 342f2634f5 nixos: gen 18 @ lilac — 2026-08-25 12:30 26.05.20260814.02e0898 (Yarara) ----- 2026-08-25 12:30:58 -06:00
jashton a9586cca54 nixos: gen 244 @ violet — 2026-08-25 10:43 26.05.20260814.02e0898 (Yarara) ----- 2026-08-25 10:43:59 -06:00
jashton 6f3bbe89f4 nixos: gen 17 @ lilac — 2026-08-24 17:33 26.05.20260814.02e0898 (Yarara) ----- 2026-08-24 17:33:55 -06:00
jashton 3d309eef56 nixos: gen 16 @ lilac — 2026-08-23 17:04 26.05.20260814.02e0898 (Yarara) ----- 2026-08-23 17:04:09 -06:00
jashton 5b7a2368da nixos: gen 15 @ lilac — 2026-08-22 21:31 26.05.20260814.02e0898 (Yarara) ----- 2026-08-22 21:31:33 -06:00
jashton ffceb0d524 nixos: gen 22 @ lavender — 2026-08-22 21:11 26.05.20260814.02e0898 (Yarara) ----- 2026-08-22 21:11:43 -06:00
jashton ab50357d75 nixos: gen 14 @ lilac — 2026-08-22 15:25 26.05.20260814.02e0898 (Yarara) ----- 2026-08-22 15:25:42 -06:00
jashton 52a462e8e2 nixos: gen 13 @ lilac — 2026-08-22 15:02 26.05.20260814.02e0898 (Yarara) ----- 2026-08-22 15:02:33 -06:00
jashton 28e071453e nixos: gen 12 @ lilac — 2026-08-22 13:00 26.05.20260814.02e0898 (Yarara) ----- 2026-08-22 13:00:54 -06:00
jashton df37691ba0 nixos: gen 241 @ violet — 2026-08-22 12:54 26.05.20260814.02e0898 (Yarara) ----- 2026-08-22 12:55:06 -06:00
jashton 832c07352b nixos: gen 12 @ lilac — 2026-08-22 12:42 26.05.20260814.02e0898 (Yarara) ----- adding IP over Thunderbolt for lan-mouse interoperability between Framework 13 Pro and ThinkPad X12 Detachable 2026-08-22 12:42:46 -06:00
jashton 7235c662c4 nixos: gen 11 @ lilac — 2026-08-19 12:11 26.05.20260814.02e0898 (Yarara) ----- 2026-08-19 12:11:30 -06:00
jashton ad5edd23e8 nixos: gen 10 @ lilac — 2026-08-19 12:09 26.05.20260814.02e0898 (Yarara) ----- removing hot corners and adding backdrop color to niri. 2026-08-19 12:09:57 -06:00
jashton 3429f8f2b7 nixos: gen 9 @ lilac — 2026-08-18 12:05 26.05.20260814.02e0898 (Yarara) ----- installing eclipse 2026-08-18 12:11:20 -06:00
jashton cefb0357f5 nixos: gen 8 @ lilac — 2026-08-18 11:51 26.05.20260814.02e0898 (Yarara) ----- adding framework-tool to lilac 2026-08-18 11:51:31 -06:00
jashton ee22facd4c nixos: gen 7 @ lilac — 2026-08-16 17:55 26.05.20260814.02e0898 (Yarara) ----- 2026-08-16 17:55:36 -06:00
jashton 38c810382a nixos: gen 6 @ lilac — 2026-08-16 17:51 26.05.20260814.02e0898 (Yarara) ----- 2026-08-16 17:51:23 -06:00
jashton e4e7dc43af nixos: gen 18 @ lavender — 2026-08-16 17:11 26.05.20260814.02e0898 (Yarara) ----- 2026-08-16 17:11:44 -06:00
jashton 1ab5ac1478 nixos: gen 17 @ lavender — 2026-08-16 17:00 26.05.20260814.02e0898 (Yarara) ----- 2026-08-16 17:00:34 -06:00
jashton bef59301db nixos: gen 5 @ lilac — 2026-08-16 15:20 26.05.20260814.02e0898 (Yarara) ----- 2026-08-16 15:22:57 -06:00
jashton ab1bee9783 nixos: gen 4 @ lilac — 2026-08-16 15:09 26.05.20260814.02e0898 (Yarara) ----- 2026-08-16 15:09:17 -06:00
jashton f658e54ec7 nixos: gen 3 @ lilac — 2026-08-16 14:34 26.05.20260812.9f78f44 (Yarara) ----- 2026-08-16 14:34:48 -06:00
jashton 3a7f539b30 nixos: gen 238 @ violet — 2026-08-15 01:43 26.05.20260812.9f78f44 (Yarara) ----- adding deskflow ports to firewall 2026-08-15 01:43:54 -06:00
jashton f44f84324a updating secrets.yaml for Framework 13 Pro re-install with PCIe 5 NVMe SSD. 2026-08-15 00:18:20 -06:00
jashton 6884d5e1e7 adding ssh pub key age 2026-08-15 00:12:34 -06:00
jashton 3143df8364 nixos: gen 4 @ lilac — 2026-08-13 22:17 26.05.20260812.9f78f44 (Yarara) ----- Added deskflow 2026-08-13 22:17:56 -06:00
jashton bf3cde8e73 nixos: gen 3 @ lilac — 2026-08-13 21:23 26.05.20260812.9f78f44 (Yarara) ----- Enabling bluetooth on Framework 13 Pro. 2026-08-13 21:23:26 -06:00
jashton 07dbe73d82 updating secrets.yaml 2026-08-13 19:49:57 -06:00
jashton b64d4b5bd1 setting up Framework 13 Pro 2026-08-13 19:24:51 -06:00
33 changed files with 1932 additions and 289 deletions
+17
View File
@@ -0,0 +1,17 @@
{
"permissions": {
"allow": [
"Read(//home/jashton/.local/state/nix/profiles/**)",
"Read(//nix/var/nix/profiles/**)",
"Read(//nix/store/**)",
"Bash(systemctl --user show-environment)",
"Bash(nix eval *)",
"Bash(nix-instantiate --parse /home/jashton/.dotfiles/home/jashton.nix)",
"Bash(git -C /home/jashton/.dotfiles status)",
"Bash(git -C /home/jashton/.dotfiles log -3 --stat)",
"Bash(gh api *)",
"Bash(nix-store -q --references /nix/store/256vhj20yfbajhvdm3cpaxradb4pi1ac-ollama-0.34.0)",
"Bash(nix-store -q --references /nix/store/pxgnnjm1p1zlavx8i2wjdmz484lq4k8v-ollama-0.34.0)"
]
}
}
+2
View File
@@ -1,9 +1,11 @@
keys: keys:
- &lavender age1az6l56h4m38jw2hm7t7a99wp9f88s845sg29grtmdpz72lrkc5cq66kmcv - &lavender age1az6l56h4m38jw2hm7t7a99wp9f88s845sg29grtmdpz72lrkc5cq66kmcv
- &violet age1cd40qmufxzvw8dkml9340czqfq6ta3kxpjfj47jpavwn2t7ghywsxhqz79 - &violet age1cd40qmufxzvw8dkml9340czqfq6ta3kxpjfj47jpavwn2t7ghywsxhqz79
- &lilac age1dsf6z3hcr8qrtptdk6xyky9c99tdpjyrnuaawv4atme9rffhps9qpwdn6j
creation_rules: creation_rules:
- path_regex: secrets/[^/]+\.yaml$ - path_regex: secrets/[^/]+\.yaml$
key_groups: key_groups:
- age: - age:
- *lavender - *lavender
- *violet - *violet
- *lilac
+58
View File
@@ -0,0 +1,58 @@
# .dotfiles
NixOS + Home Manager dotfiles repo. Single flake (`flake.nix`) with three per-host configurations, sops-nix secrets, and DMS/niri desktop stack.
## Structure
```
flake.nix — 3 nixosConfigurations: violet, lilac, lavender
hosts/<name>/ — per-machine entrypoint (default.nix) + hardware.nix
system/ — shared NixOS config (core/*, network/*, security/*, services/, virtualisation/)
home/ — Home Manager user config for jashton
secrets/ — sops-encrypted secrets (.sops.yaml has age key rules)
```
## Apply / rebuild
```
sudo nixos-rebuild switch --flake .#<host>
```
The `unix` script (installed to shell packages) wraps this: it runs the rebuild, auto-commits all changes to the dotfiles repo, and pushes. Skip it with `--no-commit`.
Never hand-edit `hosts/*/hardware.nix` — it is a generated scan output.
## Hosts
| Host | Machine | Notable modules |
|------|---------|-----------------|
| violet | ThinkPad | `security/thinkpad.nix`, input-remapper, TLP (disabled), disabled lid-switch suspend |
| lilac | Framework (Intel Core Ultra 3) | `nixos-hardware/framework-intel-core-ultra-series3`, fprintd, Thunderbolt + Intel iGPU |
| lavender | Minimal remote/other | GPU enablement only |
Every host enables: niri compositor, DMS shell with plugin-registry/greeter/calendar/files, sops-nix, home-manager. `lilac` and `violet` also open a Thunderbolt point-to-point link (`thunderbolt0`, port 4242).
## Secrets
Managed via sops-nix. Decrecyption uses each host's SSH host key as the age identity. Edit files under `secrets/` with:
```
sops secrets/secrets.yaml # decrypt/edit
sops --encrypt secrets/secrets.yaml # re-encrypt before committing
```
Verify `.sops.yaml` has all three host keys in its creation rules. If adding a new host, add its age public key there first.
## Desktop stack
- **Compositor:** niri (keybinds in `README.md` > Keybinds > Niri)
- **Shell/Dock:** DankMaterialShell (`dms`) with `dux-files`, `dux-greeter`, `dux-plugin-registry`, `dux-calendar`
- **Spotlight launcher:** DMS built-in, triggered by `Mod+Space` or 4-finger swipe (see README)
- **OSK:** custom `wvkbd-mobintl` build from `wvkbd-src` + `home/programs/{layout,keymap,config}.custom.h` C overrides
- **Gestures:** `lisgd` at startup (see README > Touchscreen gestures)
## Git / config conventions
- `result`, `ports.registry`, `.env`, and `nix-pad.qcow2` are gitignored (Nix generated paths and dev artifacts).
- The `find-open-port` script writes to `ports.registry` (untracked) to reserve dev ports across hosts.
- SSH client aliases for all four hosts (`lavender`, `violet`, `lilac`, `heliotrope`) are in `home/programs/git.nix` — check there for connection details, not in the repo.
+131
View File
@@ -0,0 +1,131 @@
# .dotfiles
NixOS + Home Manager configuration for jashton's machines, built as a single flake.
## NixOS Flakes Structure
```
.
├── flake.nix / flake.lock Inputs + the 3 nixosConfigurations (violet, lilac, lavender)
├── hosts/<name>/ Per-machine entrypoint + hardware.nix
├── system/ Shared NixOS (system-level) configuration
├── home/ Home Manager configuration for user "jashton"
├── secrets/ + .sops.yaml sops-nix encrypted secrets
└── ports.registry State file written by the find-open-port script
```
**`flake.nix`** pins `nixpkgs` to `nixos-26.05` (plus an `nixpkgs-unstable` follower), and pulls in `home-manager`, `sops-nix`, `niri` (compositor), `wvkbd-src` (on-screen keyboard source), the DankMaterialShell trio (`dms`, `dms-plugin-registry`, `danksearch`), and `nixos-hardware`. Its `outputs` define three `nixosConfigurations`, one per host — each wires up the niri/dms-plugin-registry/sops-nix NixOS modules and a `home-manager.users.jashton` block importing `home/jashton.nix` (plus the `danksearch` home module).
**`hosts/`** — one directory per machine, each with `default.nix` (hostname + host-specific services/hardware tweaks, imports `../../system`) and `hardware.nix` (generated hardware scan):
- `violet` — imports the ThinkPad-specific security module (`system/security/thinkpad.nix`), disables lid-switch suspend, has (disabled) TLP power-profile tuning, and enables `input-remapper`.
- `lilac` — Framework laptop (Intel Core Ultra series 3, via `nixos-hardware`), fingerprint reader + Thunderbolt/bolt + Intel graphics acceleration.
- `lavender` — minimal host, just graphics enablement.
- Both `violet`/`lilac` open a Thunderbolt-networking point-to-point link (`thunderbolt0`, ports 4242).
**`system/`** — shared NixOS config imported by every host, split by concern:
- `packages.nix` — system-wide packages, unfree allowed, plus a hand-written `unix` script (`sudo nixos-rebuild switch`, then auto-commits/pushes the dotfiles repo on success) and Steam setup.
- `core/` — `boot.nix` (systemd-boot, `uinput` module), `audio.nix` (PipeWire/Bluetooth tuning), `env.nix` (zsh + oh-my-zsh, Nerd Font, flakes enabled, shell aliases), `locale.nix` (Denver/en_US), `power.nix` (deep sleep).
- `security/` — `sops.nix` (age-via-SSH-host-key secrets), `sudo.nix` (passwordless `tlp` for jashton), `systemd.nix`, `thinkpad.nix` (fprintd), `users.nix` (user/group defs).
- `network/` — NetworkManager + firewall, plus `pi-hole.nix` (a Pi-hole container run via Podman `oci-containers`).
- `services/` — currently an empty placeholder module (compositor/greeter services are declared per-host instead, see `hosts/violet/default.nix`).
- `virtualisation/` — Podman (with Docker compat), Waydroid, VirtualBox, libvirtd.
**`home/`** — Home Manager config for `jashton`:
- `jashton.nix` — top-level user config: session vars, SSH client config (aliases for `lavender`/`violet`/`lilac`/`heliotrope`), the `lan-mouse` user service, workspace directory scaffolding (`~/dev`, `~/school`, etc.), a `custom_wvkbd` package override (builds `wvkbd` from `wvkbd-src` against the `.custom.h` files below), and a set of hand-written shell tools installed as packages: `jroot`/`jbuild`/`jrun`/`jtest`/`jclean` (Java project tooling — see below), `fkill` (interactive `pkill` by name), `find-open-port` (dev-port registry in `ports.registry`).
- `programs/` — `default.nix` imports `alacritty.nix` (terminal theme/font), `git.nix` (identity + ignores), `nvim.nix` (full Neovim config: LSP, completion, Java/jdtls + DAP debugging — see Keybinds). `keymap.custom.h`, `layout.custom.h`, `config.custom.h` (+ `.bak` backups) are C source overrides for wvkbd's `mobintl` on-screen-keyboard layout, spliced into the `custom_wvkbd` build in `jashton.nix`.
- `desktop/` — `default.nix` imports `niri.nix` (the niri compositor config, touch-gesture daemon, and on-screen-keyboard launcher — see Keybinds); `wvkbd.nix` is currently an empty stub.
**`secrets/secrets.yaml`** + **`.sops.yaml`** — sops-encrypted secrets (currently Vaultwarden client id/secret), decrypted at activation time using each host's SSH host key as the age identity.
## Keybinds
### Niri (compositor, `home/desktop/niri.nix`)
`Mod` is niri's default modifier (Super/Windows key).
| Bind | Action |
|---|---|
| `Mod+Return` | Spawn Alacritty |
| `Mod+Space` | Toggle DMS spotlight launcher |
| `Mod+F` | Fullscreen focused window |
| `Mod+V` | Toggle floating for focused window |
| `Mod+X` | Close focused window |
| `Mod+H` / `Mod+L` | Focus column left / right |
| `Mod+J` / `Mod+K` | Focus window down / up |
| `Mod+Shift+H` / `Mod+Shift+L` | Move column left / right |
| `Mod+Shift+J` / `Mod+Shift+K` | Move column to workspace down / up |
| `Mod+U` / `Mod+N` | Focus workspace up / down |
| `Mod+Shift+P` | Toggle overview |
| `Mod+P` | Toggle the on-screen keyboard (signals `wvkbd-mobintl`) |
| `Mod+Shift+E` | Quit niri |
| `Print` | Screenshot (interactive) |
| `Ctrl+Print` | Screenshot whole screen |
| `XF86AudioRaiseVolume` / `XF86AudioLowerVolume` | Volume ±5% |
| `XF86AudioMute` | Toggle mute |
| `XF86MonBrightnessUp` / `XF86MonBrightnessDown` | Brightness ±5 (via `dms ipc call brightness`) |
### Touchscreen gestures (`lisgd`, launched at niri startup, `home/desktop/niri.nix`)
| Gesture | Action |
|---|---|
| 3-finger swipe left → right | Focus column left |
| 3-finger swipe right → left | Focus column right |
| 3-finger swipe up → down | Focus workspace up |
| 3-finger swipe down → up | Focus workspace down |
| 4-finger swipe down → up | Toggle DMS spotlight |
| 1-finger swipe down → up, starting from the bottom edge | Toggle the on-screen keyboard |
| 1-finger swipe up → down, starting from the top edge | Maximize window to edges |
### On-screen keyboard (custom `wvkbd-mobintl` build, `home/programs/{layout,config,keymap}.custom.h`)
- Toggle show/hide: `Mod+P` or the bottom-edge swipe gesture above (both send `SIGRTMIN` to `wvkbd-mobintl`).
- The "⌨" key (`NextLayer`) cycles keyboard layers: `Full ⇄ Special` in portrait, `Landscape ⇄ LandscapeSpecial` in landscape.
- `Abc` (in the `Special` layer) returns to the base layer.
- `Cmp` (Compose) + a letter opens that letter's accent/diacritic picker (e.g. `Cmp` then `e` → é/è/ê/ë/ē…).
- The `q` key doubles as a shortcut into the emoji layer.
- Alternate script layouts exist in the layout source (Cyrillic, Arabic, Persian, Greek, Georgian, Hebrew) but are not wired into the active `layers[]` cycle — only `Full`/`Special` (portrait) and `Landscape`/`LandscapeSpecial` (landscape) are reachable from the running config.
### Neovim (`home/programs/nvim.nix`, leader = `<Space>`)
General:
| Bind | Action |
|---|---|
| `<leader>w` | Write file |
| `<leader>q` | Quit |
| `<leader>wq` | Write and quit |
| `<leader>x` | `chmod +x` the current file |
| `Q` | Disabled (no-op) |
| `o` / `O` | Open a line below/above, stay in normal mode |
| `jj` (insert mode) | Escape to normal mode |
Completion (insert mode, nvim-cmp):
| Bind | Action |
|---|---|
| `<C-Space>` | Trigger completion |
| `<CR>` | Confirm selection |
| `<C-n>` / `<C-p>` | Next / previous item |
Java LSP (buffer-local, active once `jdtls` attaches to a `.java` file):
| Bind | Action |
|---|---|
| `gd` | Go to definition |
| `gr` | Find references |
| `K` | Hover docs |
| `<leader>rn` | Rename symbol |
| `<leader>ca` | Code action |
| `<leader>f` | Format buffer |
| `<leader>oi` | Organize imports |
Debugging (nvim-dap / nvim-dap-ui, global):
| Bind | Action |
|---|---|
| `<leader>db` | Toggle breakpoint |
| `<leader>dB` | Conditional breakpoint (prompts for condition) |
| `<leader>dc` | Continue / start session (prompts for a config if none is running) |
| `<leader>dn` | Step over |
| `<leader>di` | Step into |
| `<leader>du` | Step out |
| `<leader>dr` | Toggle the debug REPL |
| `<leader>dq` | Terminate session |
| `<leader>de` (normal + visual) | Evaluate expression under cursor / selection |
### Other applications
- **Alacritty** (`home/programs/alacritty.nix`) — only theme/font/window settings are configured; keybindings are Alacritty's unmodified defaults.
- Everything else installed (LibreWolf, Thunderbird, Discord, VLC, Zathura, etc.) is installed via `home.packages`/`environment.systemPackages` with no keybind customization in this repo — they run with upstream defaults.
- `input-remapper` is enabled on `violet` (`hosts/violet/default.nix`) but has no remapping profile committed in this repo.
+52
View File
@@ -0,0 +1,52 @@
let SessionLoad = 1
let s:so_save = &g:so | let s:siso_save = &g:siso | setg so=0 siso=0 | setl so=-1 siso=-1
let v:this_session=expand("<sfile>:p")
doautoall SessionLoadPre
silent only
silent tabonly
cd ~/.dotfiles
if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
let s:wipebuf = bufnr('%')
endif
let s:shortmess_save = &shortmess
set shortmess+=aoO
badd +119 home/programs/nvim.nix
badd +1 home/programs/tmux.nix
badd +1 home/desktop/niri.nix
argglobal
%argdel
$argadd home/programs/nvim.nix
edit home/programs/tmux.nix
argglobal
balt home/programs/nvim.nix
setlocal foldmethod=indent
setlocal foldexpr=0
setlocal foldmarker={{{,}}}
setlocal foldignore=#
setlocal foldlevel=99
setlocal foldminlines=1
setlocal foldnestmax=20
setlocal foldenable
let s:l = 1 - ((0 * winheight(0) + 18) / 37)
if s:l < 1 | let s:l = 1 | endif
keepjumps exe s:l
normal! zt
keepjumps 1
normal! 0
tabnext 1
if exists('s:wipebuf') && len(win_findbuf(s:wipebuf)) == 0 && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal'
silent exe 'bwipe ' . s:wipebuf
endif
unlet! s:wipebuf
set winheight=1 winwidth=20
let &shortmess = s:shortmess_save
let s:sx = expand("<sfile>:p:r")."x.vim"
if filereadable(s:sx)
exe "source " . fnameescape(s:sx)
endif
let &g:so = s:so_save | let &g:siso = s:siso_save
let g:this_session = v:this_session
let g:this_obsession = v:this_session
doautoall SessionLoadPost
unlet SessionLoad
" vim: set ft=vim :
Generated
+284 -55
View File
@@ -1,64 +1,212 @@
{ {
"nodes": { "nodes": {
"danksearch": { "dank-qml-common": {
"inputs": { "flake": false,
"nixpkgs": [
"nixpkgs"
]
},
"locked": { "locked": {
"lastModified": 1784433272, "lastModified": 1793982952,
"narHash": "sha256-5Gz3pC/rcn8LLwzLZZhrpPMqY+PDdUzoFtXV3uWoitg=", "narHash": "sha256-dffCm8ok1sFxCNYJ6pP6m0mln+TVRtnd5shO7phKSAQ=",
"owner": "AvengeMedia", "owner": "duxlabs-dev",
"repo": "danksearch", "repo": "dux-qml-common",
"rev": "4b4905e2ef3454230fb648d2139f3139b742b0eb", "rev": "b02c0321263372a8c9d18c6648b4608a1865ff90",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "AvengeMedia", "owner": "duxlabs-dev",
"repo": "danksearch", "repo": "dux-qml-common",
"type": "github"
}
},
"dank-qml-common_2": {
"flake": false,
"locked": {
"lastModified": 1793982469,
"narHash": "sha256-drJMZ74sVY0J7bylmuBXHyATWO24QukaRJrI0XjMKXk=",
"owner": "duxlabs-dev",
"repo": "dux-qml-common",
"rev": "76277f04bf526164150efa857e3f225dc54cb090",
"type": "github"
},
"original": {
"owner": "duxlabs-dev",
"repo": "dux-qml-common",
"type": "github"
}
},
"dank-qml-common_3": {
"flake": false,
"locked": {
"lastModified": 1793982469,
"narHash": "sha256-drJMZ74sVY0J7bylmuBXHyATWO24QukaRJrI0XjMKXk=",
"owner": "duxlabs-dev",
"repo": "dux-qml-common",
"rev": "76277f04bf526164150efa857e3f225dc54cb090",
"type": "github"
},
"original": {
"owner": "duxlabs-dev",
"repo": "dux-qml-common",
"type": "github"
}
},
"dank-qml-common_4": {
"flake": false,
"locked": {
"lastModified": 1793982469,
"narHash": "sha256-drJMZ74sVY0J7bylmuBXHyATWO24QukaRJrI0XjMKXk=",
"owner": "duxlabs-dev",
"repo": "dux-qml-common",
"rev": "76277f04bf526164150efa857e3f225dc54cb090",
"type": "github"
},
"original": {
"owner": "duxlabs-dev",
"repo": "dux-qml-common",
"type": "github" "type": "github"
} }
}, },
"dms": { "dms": {
"inputs": { "inputs": {
"dank-qml-common": "dank-qml-common",
"flake-compat": "flake-compat", "flake-compat": "flake-compat",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1785111455, "lastModified": 1793995112,
"narHash": "sha256-aTNuC9NDBnYAeEtFsleeUwmGX3AZlKOutbl+LQRPkmQ=", "narHash": "sha256-SDAgAZaydGorfIcD+BWtBbtxcZn1SPmIuSa5vJ/KADM=",
"owner": "AvengeMedia", "owner": "duxlabs-dev",
"repo": "DankMaterialShell", "repo": "dux-shell",
"rev": "069ddab041c738236a8910e4c39b65d9628d3018", "rev": "2f2729d51739362e0d66388f3e5aefc4164fc9d6",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "AvengeMedia", "owner": "duxlabs-dev",
"ref": "stable", "ref": "stable-2.1",
"repo": "DankMaterialShell", "repo": "dux-shell",
"type": "github" "type": "github"
} }
}, },
"dms-plugin-registry": { "dux-calendar": {
"inputs": {
"dank-qml-common": "dank-qml-common_2",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1793984743,
"narHash": "sha256-I4c8yrrPNtGLpUoLOrCJEvs3LVu8Vki3np5KK4EtVIU=",
"owner": "duxlabs-dev",
"repo": "dux-calendar",
"rev": "3dbc3dd38b49847b64f17cda61f8c6a79c7f28c6",
"type": "github"
},
"original": {
"owner": "duxlabs-dev",
"repo": "dux-calendar",
"type": "github"
}
},
"dux-files": {
"inputs": {
"dank-qml-common": "dank-qml-common_3",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1793982685,
"narHash": "sha256-blCXIdzt7fF9/8WekVi8Kx4JaB2BrUrhUda+msGnxsA=",
"owner": "duxlabs-dev",
"repo": "dux-files",
"rev": "ac919084c6b3d463cb2b91307e93e258c53a8547",
"type": "github"
},
"original": {
"owner": "duxlabs-dev",
"repo": "dux-files",
"type": "github"
}
},
"dux-gop": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1784857968, "lastModified": 1793890244,
"narHash": "sha256-83haLQzxrk6sCX76iQlloHWQ+TD0RKsK+LdVTMikNwk=", "narHash": "sha256-vUj21i43rws9dxBjMxt62M9nCdqVLFGWyXwk0B934Bs=",
"owner": "AvengeMedia", "owner": "duxlabs-dev",
"repo": "dms-plugin-registry", "repo": "dux-gop",
"rev": "78d478f34ad6790faea447c37d16bab63e1d3570", "rev": "963e30cc8604752415819139ace37f696e9caf09",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "AvengeMedia", "owner": "duxlabs-dev",
"repo": "dms-plugin-registry", "repo": "dux-gop",
"type": "github"
}
},
"dux-greeter": {
"inputs": {
"dank-qml-common": "dank-qml-common_4",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1793982787,
"narHash": "sha256-B87zCSoxzVQ8EVD8TV/TnRAVms2zdbx+g4eqWMX1QjA=",
"owner": "duxlabs-dev",
"repo": "dux-greeter",
"rev": "f68ff1eb33c2db09cbfe6b146cf2a0bfe96f21aa",
"type": "github"
},
"original": {
"owner": "duxlabs-dev",
"repo": "dux-greeter",
"type": "github"
}
},
"dux-plugin-registry": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1793972984,
"narHash": "sha256-hrVWL4sAaxTgAEEi2CZiRDuR7ss2Vq2DoDFcbGJMTlo=",
"owner": "duxlabs-dev",
"repo": "dux-plugin-registry",
"rev": "7dbadcb2fa793a3591e8a11f1a6890261386dc03",
"type": "github"
},
"original": {
"owner": "duxlabs-dev",
"repo": "dux-plugin-registry",
"type": "github"
}
},
"dux-search": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1793983508,
"narHash": "sha256-hx9WyYerSHGFma2t4IRwnANn32G6XOFqGZB1MYS9tyM=",
"owner": "duxlabs-dev",
"repo": "dux-search",
"rev": "edf0176c59729bdaa863055dc14c6f77a40c0438",
"type": "github"
},
"original": {
"owner": "duxlabs-dev",
"repo": "dux-search",
"type": "github" "type": "github"
} }
}, },
@@ -78,6 +226,24 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@@ -85,11 +251,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1784350909, "lastModified": 1792818383,
"narHash": "sha256-ZWyzLbS1yKUTeFJLmdVuWNnHttL333/ldJbEE+KzCrM=", "narHash": "sha256-199i7ubVSXTMl+0AAlL7cVCXSjcI+jWByMcimYjeMX0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "4ce190229c73d44536caa7072f6308fb2d8feeb3", "rev": "24f2190587513b9c2f73db112a17844ae912d965",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -109,11 +275,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable" "xwayland-satellite-unstable": "xwayland-satellite-unstable"
}, },
"locked": { "locked": {
"lastModified": 1784874881, "lastModified": 1785857305,
"narHash": "sha256-u4jhSIf/Un0qZB+Cn3hTTaHSI20XeAxYbA5o4faqdJs=", "narHash": "sha256-25q05zpF1sqOCxPPUG9DPPGd+EDW7SiAOWCzBWRS7r0=",
"owner": "sodiboo", "owner": "sodiboo",
"repo": "niri-flake", "repo": "niri-flake",
"rev": "ef7a2a3d719af46b906c22a3ebfb7d65627b2cd2", "rev": "9ee3e13b60643448228353097880521658b2fe0e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -122,6 +288,27 @@
"type": "github" "type": "github"
} }
}, },
"niri-float-sticky": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1788698372,
"narHash": "sha256-kQiZEjeviamwC/kUhc2p089cqNpjkcjzzIAv1UWW4tw=",
"owner": "probeldev",
"repo": "niri-float-sticky",
"rev": "b3e79bd99bf99b993c3348f0051564f9d25f65e4",
"type": "github"
},
"original": {
"owner": "probeldev",
"repo": "niri-float-sticky",
"type": "github"
}
},
"niri-stable": { "niri-stable": {
"flake": false, "flake": false,
"locked": { "locked": {
@@ -142,11 +329,11 @@
"niri-unstable": { "niri-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1784570726, "lastModified": 1785701241,
"narHash": "sha256-9EMn69JBcFWFgUM7f0VBAX+jBby5b9H3M59U75+5yI4=", "narHash": "sha256-ircVOzPWRircI39ac/tqJajr5OoJxEVrDlBb05TULEk=",
"owner": "YaLTeR", "owner": "YaLTeR",
"repo": "niri", "repo": "niri",
"rev": "7f26c3ee804fb6ed458ef7fb0e3c794f14e0b3bc", "rev": "feb3e43f1475e0865bb89cbd1e898b34d1d2ccf6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -155,13 +342,34 @@
"type": "github" "type": "github"
} }
}, },
"nixos-hardware": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1793871777,
"narHash": "sha256-DbFyxXHjP4SJDWVVIILkgrUZxj29cDusi8ULXoQGuZ8=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "d645c71a58dbae3eb17ff551a07aea13a541cb1a",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "master",
"repo": "nixos-hardware",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1784796856, "lastModified": 1785828668,
"narHash": "sha256-wWFrV5/Qbm+lyt5x20E/bSbfJiGKMo4RCxZV8cl/WZI=", "narHash": "sha256-8fsyqeO+mJqvIzeO4xIpgJe/f7MTbbVTEC6RT6WSXNs=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e2587caef70cea85dd97d7daab492899902dbf5d", "rev": "e72e4f299401a3689d4b3d5fc6496b11db7064eb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -189,11 +397,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1784796856, "lastModified": 1793726008,
"narHash": "sha256-wWFrV5/Qbm+lyt5x20E/bSbfJiGKMo4RCxZV8cl/WZI=", "narHash": "sha256-jQp1wKvbwWdLBASTXkSi/VYmDJ5AbBi1WvcMt9HWJC8=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e2587caef70cea85dd97d7daab492899902dbf5d", "rev": "1d060086d60cb76a40cf37109f979d88a5bd6396",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -205,11 +413,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1784856561, "lastModified": 1793865203,
"narHash": "sha256-J+Bx1Z6Oeoj2FgnBhRMKyUhhtDoOpTgXYaVLZpDjW4A=", "narHash": "sha256-/cpdPHaySDIyCgZI6EWngiM6jK3YLUNzv1b7lTzy6Bk=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "597283ad8aa0b331c788e97c4c262d58877074ef", "rev": "c56a87d8e41ce69bd2af57eb35dcc117a9dfca33",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -221,11 +429,17 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"danksearch": "danksearch",
"dms": "dms", "dms": "dms",
"dms-plugin-registry": "dms-plugin-registry", "dux-calendar": "dux-calendar",
"dux-files": "dux-files",
"dux-gop": "dux-gop",
"dux-greeter": "dux-greeter",
"dux-plugin-registry": "dux-plugin-registry",
"dux-search": "dux-search",
"home-manager": "home-manager", "home-manager": "home-manager",
"niri": "niri", "niri": "niri",
"niri-float-sticky": "niri-float-sticky",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
@@ -239,11 +453,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1783174389, "lastModified": 1793995029,
"narHash": "sha256-aCWC8ngycU7OdJrU2+Je3qf+1a2ykuBvpPhZT/9tXMc=", "narHash": "sha256-ZlE4BtMjWhfC6rFXLO9Qimn36Ene1INqCgKDDvazjhc=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "f1406619a3884cd5c47992a70b8b35c9c0fcb4c9", "rev": "89a234ce2daf6e568a7d4b4fe250afdd23d84e20",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -252,14 +466,29 @@
"type": "github" "type": "github"
} }
}, },
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"wvkbd-src": { "wvkbd-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1784927765, "lastModified": 1793130067,
"narHash": "sha256-Et1k3M8L/r5WnoNOuiCzVVgJrpXtWSbIUI+2/njiwj0=", "narHash": "sha256-o186ow9kGTwWmmiAuTmC2t9fAiDbvKkYimZwzDGp/xE=",
"owner": "jjsullivan5196", "owner": "jjsullivan5196",
"repo": "wvkbd", "repo": "wvkbd",
"rev": "6b41504a0cb58fd1163fa44692398fbd61f8905f", "rev": "f7e9ea3a7565decd0d120861c1cb36a7b6836244",
"type": "github" "type": "github"
}, },
"original": { "original": {
+85 -10
View File
@@ -17,28 +17,58 @@
# Desktop/Shell/UI # Desktop/Shell/UI
niri.url = "github:sodiboo/niri-flake"; niri.url = "github:sodiboo/niri-flake";
niri-float-sticky = {
url = "github:probeldev/niri-float-sticky";
inputs.nixpkgs.follows = "nixpkgs";
};
wvkbd-src = { wvkbd-src = {
url = "github:jjsullivan5196/wvkbd"; url = "github:jjsullivan5196/wvkbd";
flake = false; flake = false;
}; };
dms = { dms = {
url = "github:AvengeMedia/DankMaterialShell/stable"; url = "github:duxlabs-dev/dux-shell/stable-2.1";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
dms-plugin-registry = { dux-gop = {
url = "github:AvengeMedia/dms-plugin-registry"; url = "github:duxlabs-dev/dux-gop";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
danksearch = { dux-files = {
url = "github:AvengeMedia/danksearch"; url = "github:duxlabs-dev/dux-files";
inputs.nixpkgs.follows = "nixpkgs";
};
dux-search = {
url = "github:duxlabs-dev/dux-search";
inputs.nixpkgs.follows = "nixpkgs";
};
dux-greeter = {
url = "github:duxlabs-dev/dux-greeter";
inputs.nixpkgs.follows = "nixpkgs";
};
dux-calendar = {
url = "github:duxlabs-dev/dux-calendar";
inputs.nixpkgs.follows = "nixpkgs";
};
dux-plugin-registry = {
url = "github:duxlabs-dev/dux-plugin-registry";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-hardware = {
url = "github:NixOS/nixos-hardware/master";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
}; };
outputs = { nixpkgs, home-manager, sops-nix, niri, dms, dms-plugin-registry, danksearch, wvkbd-src, ... }@inputs: { outputs = { nixpkgs, home-manager, sops-nix, niri, niri-float-sticky, dms, dux-files, dux-search, dux-greeter, dux-calendar, dux-plugin-registry, wvkbd-src, nixos-hardware, ... }@inputs: {
nixosConfigurations = { nixosConfigurations = {
violet = nixpkgs.lib.nixosSystem { violet = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
@@ -48,7 +78,13 @@
./hosts/violet/default.nix ./hosts/violet/default.nix
niri.nixosModules.niri niri.nixosModules.niri
dms-plugin-registry.nixosModules.default
dms.nixosModules.default
dux-files.nixosModules.default
dux-greeter.nixosModules.default
dux-plugin-registry.nixosModules.default
dux-calendar.nixosModules.default
sops-nix.nixosModules.sops sops-nix.nixosModules.sops
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
@@ -60,7 +96,40 @@
home-manager.users.jashton = { home-manager.users.jashton = {
imports = [ imports = [
./home/jashton.nix ./home/jashton.nix
danksearch.homeModules.default dux-search.homeModules.default
];
};
}
];
};
lilac = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./hosts/lilac/default.nix
nixos-hardware.nixosModules.framework-intel-core-ultra-series3
niri.nixosModules.niri
dms.nixosModules.default
dux-files.nixosModules.default
dux-greeter.nixosModules.default
dux-plugin-registry.nixosModules.default
dux-calendar.nixosModules.default
sops-nix.nixosModules.sops
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit inputs; };
home-manager.users.jashton = {
imports = [
./home/jashton.nix
dux-search.homeModules.default
]; ];
}; };
} }
@@ -75,7 +144,13 @@
./hosts/lavender/default.nix ./hosts/lavender/default.nix
niri.nixosModules.niri niri.nixosModules.niri
dms-plugin-registry.nixosModules.default
dms.nixosModules.default
dux-files.nixosModules.default
dux-greeter.nixosModules.default
dux-plugin-registry.nixosModules.default
dux-calendar.nixosModules.default
sops-nix.nixosModules.sops sops-nix.nixosModules.sops
home-manager.nixosModules.home-manager { home-manager.nixosModules.home-manager {
@@ -86,7 +161,7 @@
home-manager.users.jashton = { home-manager.users.jashton = {
imports = [ imports = [
./home/jashton.nix ./home/jashton.nix
danksearch.homeModules.default dux-search.homeModules.default
]; ];
}; };
} }
Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 566 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

+125 -91
View File
@@ -1,6 +1,8 @@
{ config, lib, pkgs, inputs, ... }: { config, lib, pkgs, inputs, ... }:
let let
niri-float-sticky = inputs.niri-float-sticky.packages.${pkgs.stdenv.hostPlatform.system}.default;
launch-lisgd = pkgs.writeShellScriptBin "launch-lisgd" '' launch-lisgd = pkgs.writeShellScriptBin "launch-lisgd" ''
# Search for the capacitive touch layer and extract its event number. # Search for the capacitive touch layer and extract its event number.
# UPDATE 'Touchscreen' below to match the unique word you found in step 1. # UPDATE 'Touchscreen' below to match the unique word you found in step 1.
@@ -14,7 +16,8 @@ let
-g "3,UD,*,*,P,niri msg action focus-workspace-up && sleep 0.4" \ -g "3,UD,*,*,P,niri msg action focus-workspace-up && sleep 0.4" \
-g "3,DU,*,*,P,niri msg action focus-workspace-down && sleep 0.4" \ -g "3,DU,*,*,P,niri msg action focus-workspace-down && sleep 0.4" \
-g "4,DU,*,*,P,dms ipc spotlight toggle && sleep 0.4" \ -g "4,DU,*,*,P,dms ipc spotlight toggle && sleep 0.4" \
-g "1,DU,B,*,pkill -u jashton -RTMIN wvkbd-mobintl && sleep 0.4" -g "1,DU,B,*,pkill -u jashton -RTMIN wvkbd-mobintl && sleep 0.4" \
-g "1,UD,T,*,P,niri msg action maximize-window-to-edges && sleep 0.4"
fi fi
''; '';
@@ -36,107 +39,138 @@ let
in in
{ {
home.packages = [ niri-float-sticky ];
xdg.portal = { xdg.portal = {
enable = true; enable = true;
# Use gtk or kde based on your preferred file picker dialog
config.niri = { config.niri = {
"org.freedesktop.impl.portal.FileChooser" = [ "gtk" ]; # or "kde" default = [ "gnome" "gtk" ];
"org.freedesktop.impl.portal.FileChooser" = [ "gtk" ];
}; };
extraPortals = [
# Ensure the GTK portal is installed pkgs.xdg-desktop-portal-gnome
extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; pkgs.xdg-desktop-portal-gtk
};
programs.niri = {
settings = {
# Autostart DMS if you prefer launching it directly from Niri instead of systemd
spawn-at-startup = [
{ command = [ "dms" "run" ]; }
{ command = [ "${launch-wvkbd}/bin/launch-wvkbd" ]; }
{ command = [ "${launch-lisgd}/bin/launch-lisgd" ]; } # Spawns the daemon
]; ];
hotkey-overlay = {
skip-at-startup = true;
}; };
input = { #programs.niri.enable = true;
keyboard.xkb.layout = "us"; xdg.configFile."niri/config.kdl".text = lib.mkForce ''
touchpad = { input {
tap = true; keyboard {
natural-scroll = true; xkb {
}; layout "us"
}; model ""
rules ""
layout = { variant ""
gaps = 8;
center-focused-column = "never";
default-column-width.proportion = 1.0;
border.enable = false;
#tab-indicator.corner-radius = 18.0;
focus-ring = {
enable = false;
width = 2;
};
};
prefer-no-csd = true;
window-rules = [
{ # All windows
geometry-corner-radius = {
bottom-left = 25.0;
bottom-right = 25.0;
top-right = 25.0;
top-left = 25.0;
};
draw-border-with-background = true;
clip-to-geometry = true;
} }
]; repeat-delay 600
repeat-rate 25
track-layout "global"
}
touchpad {
tap
natural-scroll
}
}
screenshot-path "~/media/pics/screenshots/%Y-%m-%d %H-%M-%S.png"
prefer-no-csd
layout {
gaps 8
struts {
left 0
right 0
top 0
bottom 0
}
focus-ring { off; }
border { off; }
default-column-width { proportion 0.5; }
center-focused-column "never"
}
cursor {
xcursor-theme "default"
xcursor-size 24
}
hotkey-overlay { skip-at-startup; }
binds {
Ctrl+Print { screenshot-screen; }
Mod+F { maximize-column; }
Mod+Shift+F { fullscreen-window; }
Mod+V { toggle-window-floating; }
Mod+P { spawn "pkill" "-RTMIN" "wvkbd-mobintl"; }
Mod+Return { spawn "alacritty"; }
Mod+Shift+E { quit; }
# Vim Keybindings & Built-in Features Mod+H { focus-column-left; }
binds = with config.lib.niri.actions; { Mod+J { focus-workspace-down; }
# Launchers & Session Control Mod+K { focus-workspace-up; }
"Mod+Return".action.spawn = [ "alacritty" ]; Mod+L { focus-column-right; }
"Mod+P".action.spawn = [ "pkill" "-RTMIN" "wvkbd-mobintl" ]; Mod+Shift+H { move-column-left; }
"Mod+Space".action.spawn = [ "dms" "ipc" "spotlight" "toggle" ]; Mod+Shift+J { move-column-to-workspace-down; }
"Mod+X".action.close-window = []; Mod+Shift+K { move-column-to-workspace-up; }
"Mod+F".action.fullscreen-window = []; Mod+Shift+L { move-column-right; }
"Mod+Shift+E".action.quit = []; Mod+Ctrl+H { set-column-width "-2%"; }
"Mod+Shift+P".action.toggle-overview = []; Mod+Ctrl+L { set-column-width "+2%"; }
Mod+Ctrl+J { set-window-height "+2%"; }
Mod+Ctrl+K { set-window-height "-2%"; }
# Vim Focus Movement Mod+Shift+P { toggle-overview; }
"Mod+H".action.focus-column-left = []; Mod+Space { spawn "dms" "ipc" "spotlight" "toggle"; }
"Mod+J".action.focus-window-down = []; Mod+X { close-window; }
"Mod+K".action.focus-window-up = []; Print { screenshot; }
"Mod+L".action.focus-column-right = []; XF86AudioLowerVolume { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.05-"; }
XF86AudioMute { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }
# Workspace Navigation XF86AudioRaiseVolume { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.05+"; }
"Mod+N".action.focus-workspace-down = []; XF86MonBrightnessDown { spawn "dms" "ipc" "call" "brightness" "decrement" "5" ""; }
"Mod+U".action.focus-workspace-up = []; XF86MonBrightnessUp { spawn "dms" "ipc" "call" "brightness" "increment" "5" ""; }
# Vim Window Reordering
"Mod+Shift+H".action.move-column-left = [];
"Mod+Shift+L".action.move-column-right = [];
"Mod+Shift+J".action.move-column-to-workspace-down = [];
"Mod+Shift+K".action.move-column-to-workspace-up = [];
# Volume & Brightness Media Controls
"XF86AudioRaiseVolume".action.spawn = [ "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.05+" ];
"XF86AudioLowerVolume".action.spawn = [ "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.05-" ];
"XF86AudioMute".action.spawn = [ "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle" ];
"XF86MonBrightnessUp".action.spawn = [ "dms" "ipc" "call" "brightness" "increment" "5" "" ];
"XF86MonBrightnessDown".action.spawn = [ "dms" "ipc" "call" "brightness" "decrement" "5" "" ];
# Screenshots
"Print".action.screenshot = [];
"Ctrl+Print".action.screenshot-screen = [];
};
};
};
} }
spawn-at-startup "${niri-float-sticky}/bin/niri-float-sticky"
spawn-at-startup "/nix/store/b1kxyzg5r6644mcmjh8jwsb8rinqzsw8-launch-wvkbd/bin/launch-wvkbd"
spawn-at-startup "/nix/store/l9k161qcs6ypzzbicjhkn8b203r610j6-launch-lisgd/bin/launch-lisgd"
layer-rule {
background-effect {
xray false
}
}
window-rule {
draw-border-with-background true
geometry-corner-radius 25.000000 25.000000 25.000000 25.000000
clip-to-geometry true
}
window-rule {
match title="(?i)picture.in.picture"
open-floating true
default-column-width { fixed 240; }
default-window-height { fixed 185; }
default-floating-position x=8 y=8 relative-to="top-right"
}
window-rule {
match app-id="^Alacritty$"
background-effect {
blur true
}
}
overview {
backdrop-color "#987CA7"
}
gestures {
hot-corners {
off
}
}
include "/home/jashton/.config/niri/dms/outputs.kdl"
include "/home/jashton/.config/niri/dms/binds.kdl"
include "/home/jashton/.config/niri/dms/cursor.kdl"
include "/home/jashton/.config/niri/dms/windowrules.kdl"
'';
}
+188 -9
View File
@@ -37,20 +37,36 @@ in
GTK_IM_MODULE = "wayland"; # Forces GTK apps to use Wayland text-input protocols GTK_IM_MODULE = "wayland"; # Forces GTK apps to use Wayland text-input protocols
QT_IM_MODULE = "wayland"; # Forces Qt apps to use Wayland text-input protocols QT_IM_MODULE = "wayland"; # Forces Qt apps to use Wayland text-input protocols
TEXT_INPUT_PRESENT = "1"; # Explicitly signals virtual keyboard capability to the shell TEXT_INPUT_PRESENT = "1"; # Explicitly signals virtual keyboard capability to the shell
JAVA_HOME = "${pkgs.jdk21.home}";
}; };
home.sessionPath = [
"$HOME/.cargo/bin"
];
home.packages = with pkgs; [ home.packages = with pkgs; [
android-tools
antigravity antigravity
asciinema asciinema
bitwarden-desktop
claude-code
discord discord
eclipses.eclipse-java
ffmpeg ffmpeg
gemini-cli graphviz
kicad
libreoffice libreoffice
mc librewolf
opencode openmw
pdftk pdftk
picom
prismlauncher
scrot scrot
signal-desktop
spotify spotify
thunderbird
tor
tor-browser
vlc vlc
wtype wtype
xwayland-satellite xwayland-satellite
@@ -59,22 +75,127 @@ in
custom_wvkbd custom_wvkbd
(pkgs.writeShellScriptBin "clrcache" ''
echo 3 | sudo tee /proc/sys/vm/drop_caches
'')
(pkgs.writeShellScriptBin "jroot" ''
d="$PWD"
while [ "$d" != "/" ]; do
if [ -f "$d/.classpath" ]; then printf '%s\n' "$d"; exit 0; fi
d="$(dirname "$d")"
done
echo "jroot: no .classpath found at or above $PWD" >&2
exit 1
'')
(pkgs.writeShellScriptBin "jbuild" ''
ROOT="$(jroot)"
cd "$ROOT"
mkdir -p bin
# Set the target directory, defaulting to the current directory (.) if $1 is empty
SOURCES_FILE="SOURCES"
# Fix the find command to safely search the target directory
find . -name '*.java' > "$SOURCES_FILE"
if [ ! -s "$SOURCES_FILE" ]; then
# Fix the error message to reference the directory, not the output text file
echo "jbuild: no .java files found under $TARGET_DIR" >&2
exit 1
fi
# Source roots for every top-level package (assignments/assign04 -> package assign04, etc.).
# Needed so javac can resolve cross-package imports (eg. assign04 -> timing) and
# transitively compile whatever those imports require, even though TARGET_DIR only
# covers one subtree.
SOURCEPATH="assignments:labs:timing:src"
javac -Xlint -g --release 21 -encoding UTF-8 -d bin -cp "lib/*" -sourcepath "$SOURCEPATH" @"$SOURCES_FILE"
'')
(pkgs.writeShellScriptBin "jclean" ''
set -euo pipefail
ROOT="$(jroot)"
rm -rf "$ROOT/bin/*"
echo "cleaned $ROOT/bin"
'')
(pkgs.writeShellScriptBin "jrun" ''
if [ $# -lt 3 ]; then
echo "usage: jrun <package> <MainClass> [args...]" >&2
exit 1
fi
ROOT="$(jroot)"
cd "$ROOT"
MAIN="$2.$3"
shift 2
java -cp "bin:lib/*" "$MAIN" "$@"
'')
(pkgs.writeShellScriptBin "jtest" ''
# sort -V so 1.10.2 beats 1.9.0; plain tail -n1 sorts those the wrong way.
JUNIT="$(ls -1 "$HOME"/dev/jars/junit-platform-console-standalone-*.jar 2>/dev/null | sort -V | tail -n1 || true)"
if [ -z "$JUNIT" ]; then
echo "jtest: no junit-platform-console-standalone jar in ~/dev/jars" >&2
exit 1
fi
ROOT="$(jroot)"
cd "$ROOT"
exec java -jar "$JUNIT" execute --class-path "bin:lib/*" --select-package "$1"
'')
(pkgs.writeShellScriptBin "fkill" ''
set -eu
if [ $# -lt 1 ]; then
echo "usage: fkill <process-name>" >&2
echo "eg. fkill firefox" >&2
exit 1
fi
PROGRAM="$1"
if ! pgrep -x -- "$PROGRAM" >/dev/null 2>&1; then
echo "fkill: no process named '$PROGRAM'" >&2
exit 1
fi
pgrep -a -x -- "$PROGRAM"
printf 'Kill these? [y/N] '
read -r reply
case "$reply" in
[yY]*) pkill -x -- "$PROGRAM" ;;
*) echo "aborted" ;;
esac
'')
(pkgs.writeShellScriptBin "find-open-port" '' (pkgs.writeShellScriptBin "find-open-port" ''
if [ -z "$1" ]; then set -u
if [ $# -lt 1 ]; then
echo "Please provide an application name, project directory, or other identifier." echo "Please provide an application name, project directory, or other identifier."
echo " Usage: find-open-port $HOME/dev/some-project" echo ' Usage: find-open-port $HOME/dev/some-project'
echo " Usage: find-open-port some-app" echo " Usage: find-open-port some-app"
exit 1 exit 1
fi fi
APP_NAME=$1 APP_NAME="$1"
REGISTRY_FILE=$HOME/.dotfiles/ports.registry REGISTRY_FILE="$HOME/.dotfiles/ports.registry"
MIN_PORT=8000 MIN_PORT=8000
MAX_PORT=8999 MAX_PORT=8999
MAX_RETRIES=50 MAX_RETRIES=50
mkdir -p "$(dirname "$REGISTRY_FILE")"
if [ -f "$REGISTRY_FILE" ] && grep -q "^$APP_NAME : " "$REGISTRY_FILE"; then
echo "Already registered:"
grep "^$APP_NAME : " "$REGISTRY_FILE"
exit 0
fi
echo "Searching for available port between $MIN_PORT and $MAX_PORT for $APP_NAME..." echo "Searching for available port between $MIN_PORT and $MAX_PORT for $APP_NAME..."
for ((i=1; i<=MAX_RETRIES; i++)); do for ((i=1; i<=MAX_RETRIES; i++)); do
@@ -108,9 +229,65 @@ in
''; '';
}; };
programs.dsearch.enable = true;
programs.opencode = {
enable = true;
settings = {
provider = {
ollama = {
npm = "@ai-sdk/openai-compatible";
name = "Ollama (Local)";
options = {
baseURL = "http://localhost:11434/v1";
};
models = {
"qwen3.6:35b-a3b-q4_K_M" = {
name = "Qwen3.6 35B Thinker";
limit = {
context = 65536;
output = 8192;
};
};
"qwen2.5:32b" = {
name = "Qwen2.5 32B";
limit = {
context = 65536;
output = 8192;
};
};
"gemma4:26b" = {
name = "Gemma 4 26B";
limit = {
context = 65536;
output = 8192;
};
};
};
};
};
};
};
programs.ssh = { programs.ssh = {
enable = true; enable = true;
matchBlocks = { enableDefaultConfig = false;
settings = {
"*" = {
forwardAgent = false;
addKeysToAgent = "no";
compression = false;
serverAliveInterval = 0;
serverAliveCountMax = 3;
hashKnownHosts = false;
userKnownHostsFile = "~/.ssh/known_hosts";
controlMaster = "no";
controlPath = "~/.ssh/master-%r@%n:%p";
controlPersist = "no";
};
"heliotrope" = { "heliotrope" = {
hostname = "100.77.235.110"; hostname = "100.77.235.110";
}; };
@@ -120,9 +297,11 @@ in
"violet" = { "violet" = {
hostname = "100.101.100.84"; hostname = "100.101.100.84";
}; };
"lilac" = {
hostname = "100.82.51.88";
};
}; };
}; };
home.stateVersion = "26.05"; # DO NOT CHANGE home.stateVersion = "26.05"; # DO NOT CHANGE
} }
+3 -1
View File
@@ -20,8 +20,10 @@
}; };
colors = { colors = {
draw_bold_text_with_bright_colors = true;
primary = { primary = {
background = "#08090b"; # Black background = "#080808"; # Carbon Black
foreground = "#8d739c"; # Vintage Lavender 1 foreground = "#8d739c"; # Vintage Lavender 1
}; };
+1
View File
@@ -5,5 +5,6 @@
./alacritty.nix ./alacritty.nix
./git.nix ./git.nix
./nvim.nix ./nvim.nix
./tmux.nix
]; ];
} }
+1 -1
View File
@@ -1173,7 +1173,7 @@ static struct key keys_landscape_special[] = {
{";", ":", 1.0, Code, KEY_SEMICOLON, .scheme = 1}, {";", ":", 1.0, Code, KEY_SEMICOLON, .scheme = 1},
{"'", "\"", 1.0, Code, KEY_APOSTROPHE, .scheme = 1}, {"'", "\"", 1.0, Code, KEY_APOSTROPHE, .scheme = 1},
{",", "<", 1.0, Code, KEY_COMMA, .scheme = 1}, {",", "<", 1.0, Code, KEY_COMMA, .scheme = 1},
{".", ">", 1.0, Code, KEY_SLASH, .scheme = 1}, {".", ">", 1.0, Code, KEY_DOT, .scheme = 1},
{"/", "?", 1.0, Code, KEY_SLASH, .scheme = 1}, {"/", "?", 1.0, Code, KEY_SLASH, .scheme = 1},
{"", "", 0.0, EndRow}, {"", "", 0.0, EndRow},
+502 -2
View File
@@ -1,5 +1,8 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let
javaDebug = pkgs.vscode-extensions.vscjava.vscode-java-debug;
in
{ {
programs.neovim = { programs.neovim = {
enable = true; enable = true;
@@ -28,8 +31,11 @@
vim.opt.foldmethod = "indent" vim.opt.foldmethod = "indent"
vim.opt.foldlevel = 99 vim.opt.foldlevel = 99
-- nvim-tree replaces netrw; disable it up front so it never flashes.
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
vim.g.mapleader = " " vim.g.mapleader = " "
vim.keymap.set("n", "<leader>", ":")
vim.keymap.set("n", "<leader>w", "<cmd>w<CR>", { silent = true }) vim.keymap.set("n", "<leader>w", "<cmd>w<CR>", { silent = true })
vim.keymap.set("n", "<leader>q", "<cmd>q<CR>", { silent = true }) vim.keymap.set("n", "<leader>q", "<cmd>q<CR>", { silent = true })
vim.keymap.set("n", "<leader>wq", "<cmd>wq<CR>", { silent = true }) vim.keymap.set("n", "<leader>wq", "<cmd>wq<CR>", { silent = true })
@@ -51,6 +57,7 @@
view = { width = 30 }, view = { width = 30 },
renderer = { group_empty = true }, renderer = { group_empty = true },
filters = { dotfiles = false }, filters = { dotfiles = false },
update_focused_file = { enable = true },
}) })
require("bufferline").setup({ require("bufferline").setup({
@@ -67,9 +74,63 @@
}) })
require("lualine").setup({ require("lualine").setup({
ons = { theme = "auto" }, options = { theme = "auto" },
}) })
-- <leader>e: open the explorer if closed, focus it if open elsewhere,
-- close it if it already has focus.
local tree = require("nvim-tree.api").tree
vim.keymap.set("n", "<leader>e", function()
if not tree.is_visible() then
tree.open()
elseif vim.bo.filetype == "NvimTree" then
tree.close()
else
tree.focus()
end
end, { silent = true, desc = "Toggle/focus file explorer" })
-- <leader>o / <leader>p: previous / next buffer in bufferline order
-- (left / right). From the explorer, hop back to the previous window
-- first so the tree window never gets a file loaded into it.
local function cycle(cmd)
return function()
if vim.bo.filetype == "NvimTree" then
vim.cmd("wincmd p")
end
vim.cmd(cmd)
end
end
vim.keymap.set("n", "<leader>o", cycle("BufferLineCyclePrev"), { silent = true, desc = "Buffer left" })
vim.keymap.set("n", "<leader>p", cycle("BufferLineCycleNext"), { silent = true, desc = "Buffer right" })
-- <leader>c: close the current bufferline tab (buffer), or quit Neovim
-- when it's the last one. Switching away before deleting keeps the
-- nvim-tree layout intact, and unsaved changes block the close instead
-- of being discarded.
vim.keymap.set("n", "<leader>c", function()
if vim.bo.filetype == "NvimTree" then
tree.close()
return
end
if not vim.bo.buflisted then
pcall(vim.cmd, "close")
return
end
if vim.bo.modified then
vim.notify("Unsaved changes; save first (<leader>w)", vim.log.levels.WARN)
return
end
local buf = vim.api.nvim_get_current_buf()
if #vim.fn.getbufinfo({ buflisted = 1 }) <= 1 then
vim.cmd("qall")
else
vim.cmd("BufferLineCyclePrev")
vim.cmd("bdelete " .. buf)
end
end, { silent = true, desc = "Close buffer / quit if last" })
require("neocord").setup({ require("neocord").setup({
logo = "auto", logo = "auto",
logo_tooltip = "Neovim", logo_tooltip = "Neovim",
@@ -85,6 +146,427 @@
delete = { text = "_" }, delete = { text = "_" },
}, },
}) })
-- nvim-treesitter no longer exposes a configs module; highlighting is
-- started per buffer. Indent is deliberately left alone so treesitter
-- doesn't fight the Eclipse-matching tab settings below.
vim.api.nvim_create_autocmd("FileType", {
pattern = {
"java", "xml", "nix", "lua", "rs", "go", "gomod",
"php", "sql", "html", "css", "scss", "javascript",
},
callback = function(args)
pcall(vim.treesitter.start, args.buf)
end,
})
-- Java indentation must match Eclipse's formatter, not the 2-space default.
vim.api.nvim_create_autocmd("FileType", {
pattern = "java",
callback = function()
vim.bo.expandtab = false
vim.bo.tabstop = 4
vim.bo.shiftwidth = 4
vim.bo.softtabstop = 4
end,
})
-- Go indentation must match gofmt: real tabs, displayed 4 wide.
vim.api.nvim_create_autocmd("FileType", {
pattern = { "go", "gomod" },
callback = function()
vim.bo.expandtab = false
vim.bo.tabstop = 4
vim.bo.shiftwidth = 4
vim.bo.softtabstop = 4
end,
})
-- PHP indentation must match PSR-12 (php-cs-fixer): 4 spaces.
vim.api.nvim_create_autocmd("FileType", {
pattern = "php",
callback = function()
vim.bo.expandtab = true
vim.bo.tabstop = 4
vim.bo.shiftwidth = 4
vim.bo.softtabstop = 4
end,
})
local cmp = require("cmp")
local luasnip = require("luasnip")
cmp.setup({
snippet = { expand = function(a) luasnip.lsp_expand(a.body) end },
mapping = cmp.mapping.preset.insert({
["<C-Space>"] = cmp.mapping.complete(),
["<CR>"] = cmp.mapping.confirm({ select = false }),
["<C-n>"] = cmp.mapping.select_next_item(),
["<C-p>"] = cmp.mapping.select_prev_item(),
}),
sources = {
{ name = "nvim_lsp" },
{ name = "luasnip" },
{ name = "buffer" },
{ name = "path" },
},
})
local capabilities = require("cmp_nvim_lsp").default_capabilities()
-- rustaceanvim auto-starts rust-analyzer on FileType rust, picking it up
-- from PATH -- so per-project rust-analyzer pins (e.g. from a project's
-- flake devShell/direnv) are used automatically without extra config here.
vim.g.rustaceanvim = {
server = {
capabilities = capabilities,
on_attach = function(_, bufnr)
local map = function(k, f) vim.keymap.set("n", k, f, { buffer = bufnr, silent = true }) end
map("gd", vim.lsp.buf.definition)
map("gr", vim.lsp.buf.references)
map("K", vim.lsp.buf.hover)
map("<leader>rn", vim.lsp.buf.rename)
map("<leader>ca", vim.lsp.buf.code_action)
map("<leader>f", function() vim.lsp.buf.format({ async = true }) end)
end,
},
}
-- Go: gopls (LSP) + golangci-lint-langserver (lint diagnostics) via
-- Neovim's native LSP config, so no nvim-lspconfig plugin is needed.
-- Like rust-analyzer above, both binaries are resolved from PATH, so a
-- project's flake devShell/direnv pins are used automatically.
vim.lsp.config("gopls", {
cmd = { "gopls" },
filetypes = { "go", "gomod", "gowork", "gotmpl" },
root_markers = { "go.work", "go.mod", ".git" },
capabilities = capabilities,
settings = {
gopls = {
gofumpt = true,
usePlaceholders = true,
completeUnimported = true,
staticcheck = false, -- golangci-lint already covers this
analyses = {
unusedparams = true,
unusedwrite = true,
useany = true,
},
hints = {
assignVariableTypes = true,
compositeLiteralFields = true,
constantValues = true,
parameterNames = true,
rangeVariableTypes = true,
},
},
},
on_attach = function(_, bufnr)
local map = function(k, f) vim.keymap.set("n", k, f, { buffer = bufnr, silent = true }) end
map("gd", vim.lsp.buf.definition)
map("gr", vim.lsp.buf.references)
map("K", vim.lsp.buf.hover)
map("<leader>rn", vim.lsp.buf.rename)
map("<leader>ca", vim.lsp.buf.code_action)
map("<leader>f", function() vim.lsp.buf.format({ async = true }) end)
map("<leader>ci", function()
vim.lsp.buf.code_action({
context = { only = { "source.organizeImports" }, diagnostics = {} },
apply = true,
})
end)
end,
})
-- golangci-lint v2 syntax (current in nixpkgs). Needs golangci-lint on
-- PATH; a project .golangci.yml (with `version: "2"`) controls the rules.
vim.lsp.config("golangci_lint_ls", {
cmd = { "golangci-lint-langserver" },
filetypes = { "go", "gomod" },
root_markers = { ".golangci.yml", ".golangci.yaml", ".golangci.toml", ".golangci.json", "go.work", "go.mod", ".git" },
capabilities = capabilities,
init_options = {
command = {
"golangci-lint", "run",
"--output.json.path", "stdout",
"--show-stats=false",
"--issues-exit-code=1",
},
},
})
vim.lsp.enable({ "gopls", "golangci_lint_ls" })
-- On save: organize imports via gopls, then format (gofumpt via gopls).
vim.api.nvim_create_autocmd("BufWritePre", {
pattern = "*.go",
callback = function(args)
local clients = vim.lsp.get_clients({ bufnr = args.buf, name = "gopls" })
local client = clients[1]
if not client then
return
end
local params = vim.lsp.util.make_range_params(0, client.offset_encoding)
params.context = { only = { "source.organizeImports" } }
local result = vim.lsp.buf_request_sync(args.buf, "textDocument/codeAction", params, 1000)
for _, res in pairs(result or {}) do
for _, action in pairs(res.result or {}) do
if action.edit then
vim.lsp.util.apply_workspace_edit(action.edit, client.offset_encoding)
end
end
end
vim.lsp.buf.format({ bufnr = args.buf, async = false })
end,
})
-- PHP / SQL / HTML / CSS / JS: same approach as Go above. Every server
-- and tool is resolved from PATH, so the project's flake devShell /
-- direnv provides them (launch Neovim from inside that environment).
local function web_attach(_, bufnr)
local map = function(k, f) vim.keymap.set("n", k, f, { buffer = bufnr, silent = true }) end
map("gd", vim.lsp.buf.definition)
map("gr", vim.lsp.buf.references)
map("K", vim.lsp.buf.hover)
map("<leader>rn", vim.lsp.buf.rename)
map("<leader>ca", vim.lsp.buf.code_action)
-- conform runs php-cs-fixer / prettierd / sqlfluff, falling back to the LSP.
map("<leader>f", function()
require("conform").format({ async = true, lsp_format = "fallback" })
end)
end
vim.lsp.config("phpactor", {
cmd = { "phpactor", "language-server" },
filetypes = { "php" },
root_markers = { "composer.json", ".phpactor.json", ".phpactor.yml", ".git" },
capabilities = capabilities,
on_attach = web_attach,
})
-- sqls only gives real results once a connection is defined in its
-- config.yml (the root marker below); without one it attaches but is quiet.
vim.lsp.config("sqls", {
cmd = { "sqls" },
filetypes = { "sql", "mysql" },
root_markers = { "config.yml", ".git" },
capabilities = capabilities,
on_attach = web_attach,
})
vim.lsp.config("html", {
cmd = { "vscode-html-language-server", "--stdio" },
filetypes = { "html", "templ" },
root_markers = { "package.json", ".git" },
capabilities = capabilities,
init_options = {
provideFormatter = true,
embeddedLanguages = { css = true, javascript = true },
configurationSection = { "html", "css", "javascript" },
},
on_attach = web_attach,
})
vim.lsp.config("cssls", {
cmd = { "vscode-css-language-server", "--stdio" },
filetypes = { "css", "scss", "less" },
root_markers = { "package.json", ".git" },
capabilities = capabilities,
init_options = { provideFormatter = true },
settings = {
css = { validate = true },
scss = { validate = true },
less = { validate = true },
},
on_attach = web_attach,
})
vim.lsp.config("ts_ls", {
cmd = { "typescript-language-server", "--stdio" },
filetypes = { "javascript", "javascriptreact", "typescript", "typescriptreact" },
root_markers = { "tsconfig.json", "jsconfig.json", "package.json", ".git" },
capabilities = capabilities,
init_options = { hostInfo = "neovim" },
on_attach = web_attach,
})
vim.lsp.config("emmet_ls", {
cmd = { "emmet-ls", "--stdio" },
filetypes = { "html", "css", "scss", "less", "javascriptreact", "typescriptreact" },
root_markers = { ".git" },
capabilities = capabilities,
})
vim.lsp.enable({ "phpactor", "sqls", "html", "cssls", "ts_ls", "emmet_ls" })
-- Linters (diagnostics): run on open and save. phpstan can be slow on
-- big projects, so it is deliberately not run on every keystroke.
-- sqlfluff needs a dialect, set it in a project .sqlfluff file.
local lint = require("lint")
lint.linters_by_ft = {
php = { "phpstan", "phpcs" },
sql = { "sqlfluff" },
css = { "stylelint" },
scss = { "stylelint" },
less = { "stylelint" },
javascript = { "eslint_d" },
javascriptreact = { "eslint_d" },
typescript = { "eslint_d" },
typescriptreact = { "eslint_d" },
}
vim.api.nvim_create_autocmd({ "BufReadPost", "BufWritePost" }, {
callback = function()
lint.try_lint()
end,
})
-- Formatters (<leader>f via web_attach).
require("conform").setup({
formatters_by_ft = {
php = { "php_cs_fixer" },
sql = { "sqlfluff" },
html = { "prettierd" },
css = { "prettierd" },
scss = { "prettierd" },
less = { "prettierd" },
javascript = { "prettierd" },
javascriptreact = { "prettierd" },
typescript = { "prettierd" },
typescriptreact = { "prettierd" },
json = { "prettierd" },
},
})
local bundles = vim.fn.glob(
"${javaDebug}/share/vscode/extensions/vscjava.vscode-java-debug/server/com.microsoft.java.debug.plugin-*.jar",
true, true)
if #bundles == 0 then
vim.notify("java-debug bundle not found - Java debugging disabled", vim.log.levels.WARN)
end
local java_home = os.getenv("JAVA_HOME")
if not java_home then
local javac = vim.fn.exepath("javac")
if javac ~= "" then
java_home = vim.fn.fnamemodify(vim.fn.resolve(javac), ":h:h")
end
end
if not java_home then
vim.notify("No JAVA_HOME and no javac on PATH - jdtls will guess a runtime", vim.log.levels.WARN)
end
if not java_home then
vim.notify("JAVA_HOME unset - jdtls will guess a runtime", vim.log.levels.WARN)
end
-- Eclipse metadata wins over build files, build files over .git, and the
-- file's own directory is the last resort so bare folders still attach.
local function find_project_root()
local setup = require("jdtls.setup")
return setup.find_root({ ".project", ".classpath" })
or setup.find_root({ "pom.xml", "build.gradle", "build.gradle.kts" })
or setup.find_root({ ".git" })
or vim.fn.expand("%:p:h")
end
local dap_configured = false
local function start_jdtls()
local jdtls = require("jdtls")
local root_dir = find_project_root()
local project_name = vim.fn.fnamemodify(root_dir, ":p:h:t")
.. "-" .. vim.fn.sha256(root_dir):sub(1, 8)
local workspace = vim.fn.stdpath("cache") .. "/jdtls-workspaces/" .. project_name
local java_settings = {
configuration = {
updateBuildConfiguration = "automatic",
},
-- Keep a stray pom.xml from overriding the Eclipse project model.
-- Flip these on if a course actually requires Maven or Gradle.
import = {
maven = { enabled = false },
gradle = { enabled = false },
},
project = {
outputPath = "bin",
referencedLibraries = { "lib/**/*.jar" },
},
signatureHelp = { enabled = true },
eclipse = { downloadSources = true },
}
if java_home then
java_settings.configuration.runtimes = {
{ name = "JavaSE-21", path = java_home, default = true },
}
end
-- If the repo carries an exported Eclipse formatter profile, use it verbatim.
local formatter = root_dir .. "/.settings/eclipse-formatter.xml"
if vim.uv.fs_stat(formatter) then
java_settings.format = { settings = { url = formatter } }
end
jdtls.start_or_attach({
cmd = { "jdtls", "-data", workspace },
root_dir = root_dir,
capabilities = capabilities,
settings = { java = java_settings },
init_options = { bundles = bundles },
on_attach = function(_, bufnr)
require("jdtls").setup_dap({ hotcodereplace = "auto" })
if not dap_configured then
dap_configured = true
require("jdtls.dap").setup_dap_main_class_configs()
end
local map = function(k, f) vim.keymap.set("n", k, f, { buffer = bufnr, silent = true }) end
map("gd", vim.lsp.buf.definition)
map("gr", vim.lsp.buf.references)
map("K", vim.lsp.buf.hover)
map("<leader>rn", vim.lsp.buf.rename)
map("<leader>ca", vim.lsp.buf.code_action)
map("<leader>f", function() vim.lsp.buf.format({ async = true }) end)
map("<leader>ci", require("jdtls").organize_imports)
end,
})
end
vim.api.nvim_create_autocmd("FileType", {
pattern = "java",
callback = start_jdtls,
})
local dap, dapui = require("dap"), require("dapui")
dapui.setup()
require("nvim-dap-virtual-text").setup()
-- `jtest --debug` suspends the test JVM waiting on :5005; this lets
-- <leader>dc attach to it directly from the config picker.
dap.configurations.java = dap.configurations.java or {}
table.insert(dap.configurations.java, {
type = "java",
request = "attach",
name = "Attach to jtest (:5005)",
hostName = "127.0.0.1",
port = 5005,
})
dap.listeners.after.event_initialized["dapui"] = function() dapui.open() end
dap.listeners.before.event_terminated["dapui"] = function() dapui.close() end
dap.listeners.before.event_exited["dapui"] = function() dapui.close() end
vim.keymap.set("n", "<leader>db", dap.toggle_breakpoint)
vim.keymap.set("n", "<leader>dB", function()
dap.set_breakpoint(vim.fn.input("Condition: "))
end)
vim.keymap.set("n", "<leader>dc", dap.continue)
vim.keymap.set("n", "<leader>dn", dap.step_over)
vim.keymap.set("n", "<leader>di", dap.step_into)
vim.keymap.set("n", "<leader>du", dap.step_out)
vim.keymap.set("n", "<leader>dr", dap.repl.toggle)
vim.keymap.set("n", "<leader>dq", dap.terminate)
vim.keymap.set({ "n", "v" }, "<leader>de", function() dapui.eval() end)
''; '';
plugins = with pkgs.vimPlugins; [ plugins = with pkgs.vimPlugins; [
@@ -95,6 +577,24 @@
{ plugin = lualine-nvim; } { plugin = lualine-nvim; }
{ plugin = neocord; } { plugin = neocord; }
{ plugin = gitsigns-nvim; } { plugin = gitsigns-nvim; }
{ plugin = nvim-jdtls; }
{ plugin = nvim-dap; }
{ plugin = nvim-dap-ui; }
{ plugin = nvim-nio; }
{ plugin = nvim-dap-virtual-text; }
{ plugin = nvim-cmp; }
{ plugin = cmp-nvim-lsp; }
{ plugin = cmp-buffer; }
{ plugin = cmp-path; }
{ plugin = luasnip; }
{ plugin = cmp_luasnip; }
{ plugin = rustaceanvim; }
{ plugin = nvim-lint; }
{ plugin = conform-nvim; }
{ plugin = (nvim-treesitter.withPlugins (p: [ p.java p.xml p.nix p.lua p.rust p.go p.gomod p.php p.sql p.html p.css p.javascript ])); }
{ plugin = vim-obsession; }
]; ];
}; };
} }
+85
View File
@@ -0,0 +1,85 @@
{ config, pkgs, ... }:
{
programs.tmux = {
enable = true;
baseIndex = 1;
extraConfig = ''
unbind C-b
unbind '"'
unbind %
unbind [
unbind s
unbind c
unbind z
unbind 0
unbind 1
unbind 2
unbind 3
unbind 4
unbind 5
unbind 6
unbind 7
unbind 8
unbind 9
set -g prefix C-a
bind C-a send-prefix
set-window-option -g mode-keys vi
set -g allow-passthrough on
set -s set-clipboard on
set -sg escape-time 10
set -g renumber-windows on
bind r source-file ~/.config/tmux/tmux.conf \; display "reloaded"
bind -n M-h select-pane -L
bind -n M-j select-pane -D
bind -n M-k select-pane -U
bind -n M-l select-pane -R
bind -n M-H resize-pane -L 2
bind -n M-J resize-pane -D 2
bind -n M-K resize-pane -U 2
bind -n M-L resize-pane -R 2
bind -n M-f resize-pane -Z
bind -n M-c new-window
bind -n 'M-\' split-window -h -c "#{pane_current_path}"
bind -n M-- split-window -v -c "#{pane_current_path}"
bind -n M-1 select-window -t :1
bind -n M-2 select-window -t :2
bind -n M-3 select-window -t :3
bind -n M-4 select-window -t :4
bind -n M-5 select-window -t :5
bind -n M-6 select-window -t :6
bind -n M-7 select-window -t :7
bind -n M-8 select-window -t :8
bind -n M-9 select-window -t :9
bind -n M-s copy-mode
'';
plugins = with pkgs.tmuxPlugins; [
{
plugin = resurrect;
extraConfig = ''
set -g @resurrect-strategy-nvim 'session'
'';
}
{
plugin = continuum;
extraConfig = ''
set -g @continuum-restore "on"
set -g @continuum-save-interval "5"
'';
}
];
};
}
+5
View File
@@ -9,4 +9,9 @@
networking.hostName = "lavender"; networking.hostName = "lavender";
system.stateVersion = "26.05"; system.stateVersion = "26.05";
hardware.graphics = {
enable = true;
enable32Bit = true;
};
} }
+96
View File
@@ -0,0 +1,96 @@
{ config, pkgs, inputs, ... }:
let
unstable = import inputs.nixpkgs-unstable {
system = pkgs.stdenv.hostPlatform.system;
config.allowUnfree = true;
};
in
{
imports = [
./hardware.nix
../../system
];
networking.hostName = "lilac";
services.fwupd.enable = true;
services.fprintd.enable = true;
services.hardware.bolt.enable = true;
system.stateVersion = "26.05";
environment.systemPackages = with pkgs; [
framework-tool
# GPU compute diagnostics
clinfo
vulkan-tools
intel-gpu-tools
# Vulkan-accelerated llama.cpp CLI/server for manual/advanced use
(llama-cpp.override { vulkanSupport = true; })
];
boot.kernelModules = [ "bnep" ];
networking.interfaces.bnep0.ipv4.addresses = [{
address = "10.0.0.1";
prefixLength = 24;
}];
networking.firewall.interfaces."bnep0".allowedUDPPorts = [ 4242 ];
systemd = {
services = {
# 1. Start the listening server profile
bt-pan-server = {
description = "Bluetooth PAN GN Server";
after = [ "bluetooth.service" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = "${pkgs.bluez-tools}/bin/bt-network -s nap bnep";
Restart = "always";
RestartSec = 5;
};
};
};
};
hardware.graphics = {
enable = true;
enable32Bit = true;
extraPackages = with pkgs; [
intel-media-driver # Hardware video acceleration
intel-vaapi-driver
vpl-gpu-rt # Video processing runtime
intel-compute-runtime # OpenCL + Level Zero GPU compute (Arc iGPU)
# Explicit Vulkan Support for Ollama-Vulkan
vulkan-loader
vulkan-validation-layers
vulkan-tools # Useful for running `vulkaninfo` to verify the iGPU
];
extraPackages32 = with pkgs.pkgsi686Linux; [
intel-media-driver
];
};
services.power-profiles-daemon.enable = true;
services.thermald.enable = true;
services.ollama = {
enable = true;
package = unstable.ollama-vulkan;
environmentVariables = {
OLLAMA_IGPU_ENABLE = "1";
GGML_VULKAN_DEVICE = "0";
OLLAMA_NUM_PARALLEL = "3";
OLLAMA_KEEP_ALIVE = "-1";
OLLAMA_CONTEXT_LENGTH = "65536";
OLLAMA_FLASH_ATTENTION = "1";
OLLAMA_KV_CACHE_TYPE = "q8_0";
};
};
}
+41
View File
@@ -0,0 +1,41 @@
# Do not modify this file! It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/829d5d81-c2d1-466f-a490-a97ec2a29bc8";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/530C-3D2D";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/3e31b909-ac9d-4329-9ed5-595ea5a9b099"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware = {
cpu.intel = {
npu.enable = true;
updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
};
bluetooth.enable = true;
};
}
+53 -1
View File
@@ -9,7 +9,59 @@
networking.hostName = "violet"; networking.hostName = "violet";
services.power-profiles-daemon.enable = false; services.power-profiles-daemon.enable = true;
services.hardware.bolt.enable = true;
services.input-remapper.enable = true;
system.stateVersion = "26.05"; system.stateVersion = "26.05";
#boot.kernelModules = [ "bnep" ];
#networking.interfaces.bnep0.ipv4.addresses = [{
# address = "10.0.0.2";
# prefixLength = 24;
#}];
#networking.firewall.interfaces."bnep0".allowedUDPPorts = [ 4242 ];
systemd = {
services = {
disable-lid-wakeup = {
description = "Disable ACPI wakeup by magnetic lid sensor";
wantedBy = [ "multi-user.target" ];
serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;
ExecStart = pkgs.writeShellScript "disable-lid-wakeup" ''
grep -E '^LID.*\*enabled' /proc/acpi/wakeup | cut -f1 | while read -r dev; do
echo "$dev" > /proc/acpi/wakeup
done
'';
};
};
};
};
services.tlp = {
enable = false;
settings = {
USB_AUTOSUSPEND = 0;
# AC
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
SOUND_POWER_SAVE_ON_AC = 0;
PCIE_ASPM_ON_AC = "default";
CPU_BOOST_ON_BAT = 0;
# Battery
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
SOUND_POWER_SAVE_ON_BAT = 1;
PCIE_ASPM_ON_BAT = "powersupersave";
CPU_BOOST_ON_AC = 1;
};
};
} }
+2 -15
View File
@@ -39,7 +39,7 @@
''; '';
services.howdy = { services.howdy = {
enable = true; enable = false;
control = "sufficient"; control = "sufficient";
settings = { settings = {
video = { video = {
@@ -60,19 +60,6 @@
sensor.iio.enable = true; sensor.iio.enable = true;
graphics.enable = true; graphics.enable = true;
bluetooth = { bluetooth.enable = true;
enable = true;
powerOnBoot = true;
settings = {
General = {
Experimental = true;
KernelExperimental = true;
ControllerMode = "dual";
Enable = "Source,Sink,Media,Socket";
};
};
};
}; };
} }
+19 -10
View File
@@ -4,22 +4,31 @@ sops:
age: age:
- enc: | - enc: |
-----BEGIN AGE ENCRYPTED FILE----- -----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSAyNjkvMzI5MUtPZEVua0U1 YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSA5THRkQUg1S1pRTEpHdjRT
TkxIREI3MnNNbytGTStXWWxwdm9XbEYwTmlZCnhMcGZGNnU2RTVtRzVUWWxzRzFw MThsR2tuSytIdzdvWndqMnM3MUNxRk5PMHdBCkRRalFpRC8zQ012RkNKYlloUGpH
NTRVT1ZSUFZOY29JNWZacjdoMjE1S3MKLS0tIFVoZk5Ea3pMUUYvYVgvUzdTN2Yx cWJ1bmZEL3VxRndrei9BbGlNYnR3amsKLS0tIFEvR295a2VsRXJsZ1IzSUZCWlhI
V3VITk1wc05DK0tvRnBNZ1ptSldWUGsKT3fSHkqsjkvtRgbPpvIz0ufGPf4pZh6G akcybUs1cmlyL2I0U2tXQmdYb3V5NVUKQ0bkyCvBwpa7BUolE/QXDib5tZ0QvIie
iibDAgCCrsHk0GViDIBlnwOHgwCM4io3j565M+jS6cjV2YKsOHz2Ng== cZZ4NDdhq7EtS++sQl6AN9ZUp209F49XMoV/3u17njg1Mdqt2kM5vw==
-----END AGE ENCRYPTED FILE----- -----END AGE ENCRYPTED FILE-----
recipient: age1az6l56h4m38jw2hm7t7a99wp9f88s845sg29grtmdpz72lrkc5cq66kmcv recipient: age1az6l56h4m38jw2hm7t7a99wp9f88s845sg29grtmdpz72lrkc5cq66kmcv
- enc: | - enc: |
-----BEGIN AGE ENCRYPTED FILE----- -----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBQelp5Y2E2WFM1TFhIb1gz YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBmY2hSRWRjRXBNMXduUTZw
eS9lWTAydUYrQlYxZkY5akt3MkI5TGlXSVhRCktTV0tFcmFwaS9VVTdwZTRlWkFF NHlyUGxoRnZyVFYzMENDVTljeGpoVlBReFZ3Ci9aREtkYjJuUklaYXljSkNod0RG
alNQYW83TTcycytWVHVZUVhmOU5ETU0KLS0tIGJmSWZRaW5tM3R6a3ZlaitSb3d3 NHhReE5Sck9DRmR2ZlJYdGZEM3pieDAKLS0tIDlYbWV2UllheFRQRUZwVmRteDJW
a0JFN3NORTBFYVpsMjJkUHdtbFh4c1EK7lRQR/qO3rpctSDC6Mvy6eAA6zj70MDD NU9wZHQyU0t3Tm5odE9UUTVmZkMwZlUKcnXTTlGDMMMwtfIbAOT8UiM/yTyuoDmA
cmUiMcIDn2FyX5d9r2jk5EZtx2rZPB4ti4pp4Lox3zuEMMCksaFXmw== +sqOslfVPW/FgCXtCdca2wc3SFs6LjPNmuJFp14tUQByqftNgLv3gA==
-----END AGE ENCRYPTED FILE----- -----END AGE ENCRYPTED FILE-----
recipient: age1cd40qmufxzvw8dkml9340czqfq6ta3kxpjfj47jpavwn2t7ghywsxhqz79 recipient: age1cd40qmufxzvw8dkml9340czqfq6ta3kxpjfj47jpavwn2t7ghywsxhqz79
- enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBBYkRuVERsU0JXaXkwc1NM
MFlZUzlzWEpWbEVPUTZTcTdLS0hFaXJkc0dnCnh2dDdXZXMreDRCMmU2anNhUnl4
ek5zc2hQYThXWVBZM0dTN1F2MXlFV0EKLS0tIG05NmdrK3BJUDVsc0t4dWhrRzZF
VnZNV0hpRlZnbEVvc0NSa2NDTU9HeEUKD68eN/3/ReQYS1z0kQ6Txa18hVqrEVo+
Cuii27UwrwN07cE1XZx7PHG17pfuCzdnxFPr3CNhFPWCz4f/CD13SA==
-----END AGE ENCRYPTED FILE-----
recipient: age1dsf6z3hcr8qrtptdk6xyky9c99tdpjyrnuaawv4atme9rffhps9qpwdn6j
lastmodified: "2026-08-05T02:52:44Z" lastmodified: "2026-08-05T02:52:44Z"
mac: ENC[AES256_GCM,data:69aZI03tg5IakwK80lx/eVrFq84WB2dk3DFKc5X5Idc2irrz2AodqsmlBNkrDDC6bnv1kUAW8dQlOscbHxKNtOq+lzEtuVI88A2sO1JT06ILFMMfj3R2BEZPtuidl/iytovUKmZrL9JzlNKTd/74htsBvC3cLoIk7r/WfyfoU4w=,iv:r2Jzq9IqL+ssKo13tpJ4OrgnPxxNaNaYbAa0+DnLt54=,tag:GL5AEZPDudVB+IQZtbmwvg==,type:str] mac: ENC[AES256_GCM,data:69aZI03tg5IakwK80lx/eVrFq84WB2dk3DFKc5X5Idc2irrz2AodqsmlBNkrDDC6bnv1kUAW8dQlOscbHxKNtOq+lzEtuVI88A2sO1JT06ILFMMfj3R2BEZPtuidl/iytovUKmZrL9JzlNKTd/74htsBvC3cLoIk7r/WfyfoU4w=,iv:r2Jzq9IqL+ssKo13tpJ4OrgnPxxNaNaYbAa0+DnLt54=,tag:GL5AEZPDudVB+IQZtbmwvg==,type:str]
unencrypted_suffix: _unencrypted unencrypted_suffix: _unencrypted
+2 -2
View File
@@ -5,6 +5,6 @@
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelModules = [ "uinput" ]; boot.kernelModules = [ "uinput" ];
system.nixos.label = "niri-v.1.2"; system.nixos.label = "niri-v.1.3";
environment.pathsToLink = [ "/libexec" ]; environment.pathsToLink = [ "/libexec" "/share/xdg-desktop-portal" "/share/xdg-desktop-portal/portals" ];
} }
+2
View File
@@ -8,4 +8,6 @@
./locale.nix ./locale.nix
./power.nix ./power.nix
]; ];
hardware.flipperzero.enable = true;
} }
+6
View File
@@ -43,6 +43,12 @@
]; ];
}; };
shellInit = ''
if [ -f "/etc/profiles/per-user/$USER/etc/profile.d/hm-session-vars.sh" ]; then
. "/etc/profiles/per-user/$USER/etc/profile.d/hm-session-vars.sh"
fi
'';
interactiveShellInit = '' interactiveShellInit = ''
if [ -f "/run/secrets/vaultwarden_clientid" ]; then if [ -f "/run/secrets/vaultwarden_clientid" ]; then
export BW_CLIENTID=$(cat /run/secrets/vaultwarden_clientid) export BW_CLIENTID=$(cat /run/secrets/vaultwarden_clientid)
-27
View File
@@ -2,31 +2,4 @@
{ {
boot.kernelParams = [ "mem_sleep_default=deep" ]; boot.kernelParams = [ "mem_sleep_default=deep" ];
services.power-profiles-daemon.enable = false;
services.tlp = {
enable = true;
settings = {
USB_AUTOSUSPEND = 0;
# AC
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
SOUND_POWER_SAVE_ON_AC = 0;
PCIE_ASPM_ON_AC = "default";
CPU_BOOST_ON_BAT = 0;
# Battery
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
SOUND_POWER_SAVE_ON_BAT = 1;
PCIE_ASPM_ON_BAT = "powersupersave";
CPU_BOOST_ON_AC = 1;
# Battery Thresholds
START_CHARGE_THRESH_BAT0 = 40;
STOP_CHARGE_THRESH_BAT0 = 80;
};
};
} }
+16 -6
View File
@@ -2,17 +2,27 @@
{ {
imports = [ imports = [];
./pi-hole.nix
];
networking = { networking = {
networkmanager.enable = true; networkmanager = {
enable = true;
wifi.powersave = false;
};
firewall = { firewall = {
enable = true; enable = true;
allowedTCPPorts = []; allowedTCPPorts = [ 4242 ];
allowedUDPPorts = []; allowedUDPPorts = [ 4242 ];
}; };
}; };
hardware.bluetooth = {
powerOnBoot = true;
settings.General.Enable = "Source,Sink,Media,Socket,Network";
};
boot.extraModprobeConfig = ''
options iwlwifi power_save=0
'';
} }
+19
View File
@@ -0,0 +1,19 @@
{ config, pkgs, ... }:
{
services.tor = {
enable = true;
client = {
socksListenAddresses = [ { addr = "127.0.0.1"; port = 9050; } ];
};
};
services.privoxy = {
enable = true;
enableTor = true;
};
environment.systemPackages = with pkgs; [
torsocks
];
}
+36 -9
View File
@@ -1,5 +1,11 @@
{ config, pkgs, ... }: { config, pkgs, inputs, ... }:
let
unstable = import inputs.nixpkgs-unstable {
system = pkgs.stdenv.hostPlatform.system;
config.allowUnfree = true;
};
in
{ {
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
@@ -7,44 +13,68 @@
acpi acpi
age age
alacritty alacritty
bluez
bluez-tools
bitwarden-cli bitwarden-cli
btop btop
dbus
dconf dconf
deskflow
direnv
fastfetch fastfetch
firefox firefox
gemini-cli
gimp
git git
github-cli github-cli
gnome-calculator
(google-chrome.override { (google-chrome.override {
commandLineArgs = [ commandLineArgs = [
"--disable-pinch" "--disable-pinch"
]; ];
}) })
google-chrome google-chrome
google-java-format
gnupg gnupg
jdk
jdt-language-server
jq jq
keepassxc keepassxc
lan-mouse
libnotify libnotify
macchanger
makeDBusConf
mypy mypy
networkmanagerapplet networkmanagerapplet
nitrogen nitrogen
ollama nix-direnv
unstable.ollama-vulkan
osv-scanner
pasystray pasystray
pkg-config
playerctl
pulseaudioFull pulseaudioFull
python3
rclone rclone
rnote rnote
rustdesk
sops sops
ssh-to-age ssh-to-age
superfile
tldr tldr
tmux tmux
tree
unrar unrar
unzip unzip
upower upower
usbutils
v4l-utils v4l-utils
vim vim
wget wget
wl-clipboard wl-clipboard
xclip xclip
xournalpp xournalpp
zip
(pkgs.writeShellScriptBin "unix" '' (pkgs.writeShellScriptBin "unix" ''
set -u set -u
@@ -55,6 +85,7 @@
trap "rm -f '$ERRFILE'" EXIT trap "rm -f '$ERRFILE'" EXIT
echo "Building NixOS..." echo "Building NixOS..."
cd $DOTFILES && git stage -A
sudo nixos-rebuild switch --flake "$DOTFILES#$HOST" 2>&1 | tee "$ERRFILE" sudo nixos-rebuild switch --flake "$DOTFILES#$HOST" 2>&1 | tee "$ERRFILE"
STATUS=''${PIPESTATUS[0]} STATUS=''${PIPESTATUS[0]}
@@ -87,18 +118,14 @@
'') '')
]; ];
programs.firefox.enable = true; programs.direnv.enable = true;
programs.thunar.enable = true; programs.direnv.nix-direnv.enable = true;
hardware.graphics = {
enable = true;
enable32Bit = true;
};
programs.steam = { programs.steam = {
enable = true; enable = true;
remotePlay.openFirewall = true; remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true; dedicatedServer.openFirewall = true;
localNetworkGameTransfers.openFirewall = true; localNetworkGameTransfers.openFirewall = true;
gamescopeSession.enable = true;
}; };
} }
-2
View File
@@ -8,8 +8,6 @@
./users.nix ./users.nix
]; ];
systemd.user.services.niri-flake-polkit.enable = false;
security = { security = {
pam.services.swaylock = {}; pam.services.swaylock = {};
polkit.enable = true; polkit.enable = true;
+1 -1
View File
@@ -9,7 +9,7 @@
isNormalUser = true; isNormalUser = true;
description = "Josh Ashton"; description = "Josh Ashton";
group = "jashton"; group = "jashton";
extraGroups = [ "networkmanager" "wheel" "tss" "video" "audio" "input" ]; extraGroups = [ "networkmanager" "wheel" "tss" "video" "audio" "input" "render" "adbuser" "dialout" "tty" ];
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
+71 -29
View File
@@ -3,31 +3,18 @@
let let
# Instantiate the unstable package set for your system architecture # Instantiate the unstable package set for your system architecture
unstable = import inputs.nixpkgs-unstable { unstable = import inputs.nixpkgs-unstable {
system = pkgs.system; system = pkgs.stdenv.hostPlatform.system;
config.allowUnfree = true; config.allowUnfree = true;
}; };
in in
{ {
imports = [ programs = {
inputs.dms.nixosModules.greeter niri = {
];
programs.niri = {
enable = true; enable = true;
# Tell the Niri module to use the unstable package directly from the niri-flake package = inputs.niri.packages.${pkgs.stdenv.hostPlatform.system}.niri-unstable;
package = inputs.niri.packages.${pkgs.system}.niri-unstable;
}; };
programs.dsearch.enable = true; dms-shell = {
programs.dank-material-shell.greeter = {
enable = true;
compositor.name = "niri";
configHome = "/home/jashton";
};
programs.dms-shell = {
enable = true; enable = true;
enableSystemMonitoring = true; enableSystemMonitoring = true;
enableVPN = true; enableVPN = true;
@@ -36,30 +23,51 @@ in
enableCalendarEvents = true; enableCalendarEvents = true;
systemd = { systemd = {
enable = false; enable = true;
restartIfChanged = true; restartIfChanged = true;
}; };
quickshell.package = unstable.quickshell; quickshell.package = unstable.quickshell;
plugins = { package = inputs.dms.packages.${pkgs.system}.default;
developerUtilities.enable = true; };
batteryPlus.enable = true;
mediaDownloader.enable = true; dms-greeter = {
dankBatteryAlerts.enable = true; enable = true;
dmsThemeSync.enable = true; compositor.name = "niri";
dmsPass.enable = true; configHome = "/home/jashton";
};
dank-calendar = {
enable = true;
systemd.enable = true;
};
dux-files.enable = true;
gnupg.agent = {
enable = true;
enableSSHSupport = true;
}; };
}; };
programs.gnupg.agent = {
enable = true; systemd = {
enableSSHSupport = true; user = {
services = {
niri-flake-polkit.enable = true;
};
};
}; };
services = { services = {
libinput = { libinput = {
enable = true; enable = true;
touchpad = {
tapping = true;
clickMethod = "clickfinger";
};
}; };
openssh = { openssh = {
@@ -70,10 +78,44 @@ in
enable = true; enable = true;
}; };
displayManager = {
autoLogin = {
enable = false;
user = "jashton";
};
defaultSession = "niri";
};
upower.enable = true; upower.enable = true;
printing.enable = true; printing.enable = true;
gvfs.enable = true; gvfs.enable = true;
gnome.gnome-keyring.enable = true; gnome.gnome-keyring.enable = true;
blueman.enable = true; blueman.enable = true;
}; };
hardware.printers.ensurePrinters = [
{
name = "Marriott_Library_BW";
location = "Knowledge Commons Level 2";
description = "UofU B&W Print Queue";
deviceUri = "lpd://pharossys-ps1.ucard.utah.edu/kcq-1";
model = "drv:///sample.drv/generic.ppd";
ppdOptions = {
PageSize = "Letter";
Duplex = "DuplexNoTumble";
};
}
{
name = "Marriott_Library_Color";
location = "Knowledge Commons Level 2";
description = "UofU Color Print Queue";
deviceUri = "lpd://pharossys-ps1.ucard.utah.edu/kcq-7";
model = "drv:///sample.drv/generic.ppd";
ppdOptions = {
PageSize = "Letter";
Duplex = "DuplexNoTumble";
};
}
];
} }
+11
View File
@@ -2,9 +2,12 @@
{ {
virtualisation = { virtualisation = {
containers.enable = true;
podman = { podman = {
enable = true; enable = true;
dockerCompat = true; dockerCompat = true;
defaultNetwork.settings.dns_enabled = true;
}; };
waydroid.enable = true; waydroid.enable = true;
@@ -14,4 +17,12 @@
}; };
networking.firewall.trustedInterfaces = [ "waydroid0" ]; networking.firewall.trustedInterfaces = [ "waydroid0" ];
# Install podman-compose and helper tools
environment.systemPackages = with pkgs; [
podman-compose
podman-tui
slirp4netns
fuse-overlayfs
];
} }