Compare commits
843 commits
stable-2.2
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fb12d82468 | ||
|
|
93c05ad88e | ||
|
|
927e38e5dc | ||
|
|
b2165ec35e | ||
|
|
145d98da1d | ||
|
|
60b97fe42c | ||
|
|
affa1f0ce6 | ||
|
|
6fe106eccc | ||
|
|
72de16b9bf | ||
|
|
05550da619 | ||
|
|
6607eb598f | ||
|
|
6027ada4d1 | ||
|
|
f5106616b5 | ||
|
|
b797cac700 | ||
|
|
f95a583a96 | ||
|
|
605b66fbb4 | ||
|
|
400f8510dc | ||
|
|
e81ea5a023 | ||
|
|
6b7acb7fa5 | ||
|
|
4f02995d0d | ||
|
|
2e29f9fabc | ||
|
|
d2c0128e01 | ||
|
|
0bbcb7866d | ||
|
|
10f3587c6a | ||
|
|
4f7e54a218 | ||
|
|
27ba6b3935 | ||
|
|
9bc46719d5 | ||
|
|
34ab1c370e | ||
|
|
8e16811c60 | ||
|
|
9ba72c53fa | ||
|
|
c5b6ec2840 | ||
|
|
33476ce562 | ||
|
|
a7753d4945 | ||
|
|
3773b596a3 | ||
|
|
d3880758b2 | ||
|
|
856ea7d37b | ||
|
|
0a3e015b22 | ||
|
|
60f11d70c3 | ||
|
|
117b4c0039 | ||
|
|
d10a9bc6de | ||
|
|
39b8117fcf | ||
|
|
2ababcca8b | ||
|
|
a9c573e59e | ||
|
|
0d2b750e37 | ||
|
|
da962b3169 | ||
|
|
4f8d983ab3 | ||
|
|
a5c1fb2064 | ||
|
|
bd7e402430 | ||
|
|
5957df54fd | ||
|
|
e3c98cd633 | ||
|
|
abd97421cb | ||
|
|
e5dac51840 | ||
|
|
6a2df211f9 | ||
|
|
6dc70452ef | ||
|
|
3a7a54c208 | ||
|
|
11134e8cd2 | ||
|
|
ce02cc2ead | ||
|
|
127ff7cf1e | ||
|
|
6583ee73ab | ||
|
|
e2bd8d74cb | ||
|
|
1f55d99d33 | ||
|
|
dc3b40e0e9 | ||
|
|
e3cb8291c5 | ||
|
|
a453eb5a8e | ||
|
|
0862894fa9 | ||
|
|
3ec7b4cbc5 | ||
|
|
1af724aba9 | ||
|
|
d1c93fe273 | ||
|
|
e94ac6f918 | ||
|
|
f612693b8f | ||
|
|
220d94c798 | ||
|
|
694cc69cc4 | ||
|
|
7901507f74 | ||
|
|
4afc385c16 | ||
|
|
90409769ad | ||
|
|
278a680f15 | ||
|
|
b52b0b635e | ||
|
|
75a72df7ae | ||
|
|
7322a8ed85 | ||
|
|
ae758cccef | ||
|
|
80f8bfb41a | ||
|
|
e9272827a8 | ||
|
|
8ab6f8d444 | ||
|
|
49f7fb1819 | ||
|
|
0c443c1efb | ||
|
|
d26b8450fa | ||
|
|
6740674304 | ||
|
|
6f408c9732 | ||
|
|
1eaa3e3e36 | ||
|
|
d207b2481f | ||
|
|
3f9126b8e8 | ||
|
|
8011d85dc4 | ||
|
|
3f13aed775 | ||
|
|
ed3883a36c | ||
|
|
5e815311f8 | ||
|
|
b1188be273 | ||
|
|
1560ddd95d | ||
|
|
f2dfddff6a | ||
|
|
7ed6c34777 | ||
|
|
cdec0772a5 | ||
|
|
ab4cdf6368 | ||
|
|
c8bc71c34d | ||
|
|
248f497ae0 | ||
|
|
6266205508 | ||
|
|
ef354742c6 | ||
|
|
9bc44bb149 | ||
|
|
d411134b47 | ||
|
|
ded6260bee | ||
|
|
9b49bc3cfe | ||
|
|
6b5078f6d0 | ||
|
|
5d60504500 | ||
|
|
ff10c2d0b7 | ||
|
|
38b5d9e54a | ||
|
|
21288d4263 | ||
|
|
6e2510c6b8 | ||
|
|
eacae88adb | ||
|
|
7bf03fa1b6 | ||
|
|
83af9c7fa6 | ||
|
|
b535f6c591 | ||
|
|
73b5aa79b9 | ||
|
|
083bd39a52 | ||
|
|
4e1fc68a7c | ||
|
|
eeccf0d30e | ||
|
|
1a2a4f7a5b | ||
|
|
ecf670f0f7 | ||
|
|
e220b9f4e9 | ||
|
|
055f2bbc6c | ||
|
|
c8ae7698c0 | ||
|
|
20283f060c | ||
|
|
99e8928c14 | ||
|
|
6c4f677de8 | ||
|
|
5295dc11ba | ||
|
|
3e0327cff0 | ||
|
|
fa935c21a4 | ||
|
|
b826889cbc | ||
|
|
35ae6ae712 | ||
|
|
32de3014f2 | ||
|
|
194e32d401 | ||
|
|
775b1c2816 | ||
|
|
ce0c09243b | ||
|
|
25872b387d | ||
|
|
fd39b9d069 | ||
|
|
db925ffeb8 | ||
|
|
e1612b0f01 | ||
|
|
35f81cc642 | ||
|
|
4de3f10061 | ||
|
|
a8bc6e1f1a | ||
|
|
4b2f57185e | ||
|
|
9ea4d928da | ||
|
|
68eac0282e | ||
|
|
584f92d702 | ||
|
|
78fe8fd8e3 | ||
|
|
cecce68892 | ||
|
|
8966d5318e | ||
|
|
c48416e1a2 | ||
|
|
512d649632 | ||
|
|
cd2f411a9c | ||
|
|
6ac33da452 | ||
|
|
38da401e6e | ||
|
|
196a592af6 | ||
|
|
4782e91840 | ||
|
|
34c8ab11f7 | ||
|
|
3a12e024cc | ||
|
|
d6252d294c | ||
|
|
0286b6b283 | ||
|
|
ce9b10bd88 | ||
|
|
244e644014 | ||
|
|
6067faa436 | ||
|
|
2a3ef88312 | ||
|
|
143adeda6a | ||
|
|
59b88ba802 | ||
|
|
616e0ac60c | ||
|
|
5117fdb4a8 | ||
|
|
680f32b594 | ||
|
|
cc5cc79a0b | ||
|
|
e97b78e468 | ||
|
|
191d97feed | ||
|
|
9102b55fef | ||
|
|
207109d388 | ||
|
|
956863650e | ||
|
|
5d0e8eccb9 | ||
|
|
5e2cb285ae | ||
|
|
38e635fa64 | ||
|
|
16d7269f1e | ||
|
|
50c1e3d727 | ||
|
|
ec08d2a577 | ||
|
|
d34a414488 | ||
|
|
fb0e9f1781 | ||
|
|
8ccb03a069 | ||
|
|
2486c752a2 | ||
|
|
a563488b43 | ||
|
|
eb185d7f31 | ||
|
|
4058a3715a | ||
|
|
581b6c6fbd | ||
|
|
caf6e00bea | ||
|
|
94153595c6 | ||
|
|
839fc64c85 | ||
|
|
a96a5e8b4b | ||
|
|
6cf8b60eec | ||
|
|
e8cf3c00f7 | ||
|
|
c9e2cbbddd | ||
|
|
5a78a13aae | ||
|
|
af0e6afd1c | ||
|
|
933b409724 | ||
|
|
e0e849838f | ||
|
|
d5daabdd33 | ||
|
|
da0379f1b3 | ||
|
|
07f68b13ab | ||
|
|
dc3ab62a3a | ||
|
|
b24660f78b | ||
|
|
4b07e19709 | ||
|
|
9ae35f34a9 | ||
|
|
50f2fe3c15 | ||
|
|
9f96659031 | ||
|
|
0d5bdbdfb3 | ||
|
|
58055efe6f | ||
|
|
df92b3b081 | ||
|
|
265233df1c | ||
|
|
189cb31574 | ||
|
|
cee74df3a1 | ||
|
|
9343b4b0d7 | ||
|
|
6dc60ff863 | ||
|
|
fea95a8deb | ||
|
|
bdfc7d6064 | ||
|
|
d9edbfba01 | ||
|
|
b0c1671d2a | ||
|
|
b27eb13cb1 | ||
|
|
7929b94049 | ||
|
|
573e32883f | ||
|
|
24e369f090 | ||
|
|
30af3bd2b3 | ||
|
|
660240886f | ||
|
|
3c82318c7a | ||
|
|
a78a8dc0f9 | ||
|
|
b802b830f2 | ||
|
|
20eee5c4ff | ||
|
|
59696d0967 | ||
|
|
0c7d3c98ef | ||
|
|
587a3203cb | ||
|
|
c6aaf358ac | ||
|
|
5fadd77dfd | ||
|
|
83529d553c | ||
|
|
3379cce4d4 | ||
|
|
a27228bb69 | ||
|
|
aceab58c75 | ||
|
|
b8d78cfc1e | ||
|
|
7c8d54adb0 | ||
|
|
7d13446e16 | ||
|
|
23397bd80c |
||
|
|
3930c72ac2 |
||
|
|
2a322868b2 |
||
|
|
722c1a8ee4 |
||
|
|
7828412f9c | ||
|
|
7b2ada9ccc | ||
|
|
db3af96747 | ||
|
|
6cd0a243da | ||
|
|
b5115b95ed | ||
|
|
4d57f07bad | ||
|
|
d2f2c2fb85 | ||
|
|
c204baa339 | ||
|
|
d6f12dfa9c | ||
|
|
729ee78ae0 | ||
|
|
5b9e7b8fc2 | ||
|
|
c0f122ac2a | ||
|
|
84a824f4dd | ||
|
|
6882f1069e | ||
|
|
a6c64cb545 | ||
|
|
34d2655000 | ||
|
|
bf110107af | ||
|
|
d6757fe4e1 | ||
|
|
4048b5d741 | ||
|
|
74cb6654ef | ||
|
|
931ad038dd | ||
|
|
50de76c339 | ||
|
|
ca18e49930 | ||
|
|
d179a06576 | ||
|
|
99598a727d | ||
|
|
d27bb50253 | ||
|
|
bd94334efb | ||
|
|
b16285cb69 | ||
|
|
d2a92dc2b0 | ||
|
|
ba53655591 | ||
|
|
88e43bc491 | ||
|
|
d8059608b1 | ||
|
|
b462cb7d8a | ||
|
|
0a4ff71f0f | ||
|
|
bcee560179 | ||
|
|
600f6414ab | ||
|
|
14f2e491f4 | ||
|
|
0d4b363ddb | ||
|
|
2e6cfda70b | ||
|
|
a3586c2eb1 | ||
|
|
3f1b0f150e | ||
|
|
16a507c328 | ||
|
|
f3597f845e | ||
|
|
f5e554d433 | ||
|
|
c83b1f9683 | ||
|
|
673aeb5c41 | ||
|
|
64e4a72fd7 | ||
|
|
82d4c6dcc5 | ||
|
|
a4d2054d8d | ||
|
|
454ad92f51 | ||
|
|
efd0fc4b14 | ||
|
|
10349f8d24 | ||
|
|
653b5aef6b | ||
|
|
dc2fd4e3f3 | ||
|
|
6cf292db86 | ||
|
|
1bccafc786 | ||
|
|
8496a2101c | ||
|
|
05c4d9fe6e | ||
|
|
3fc8383eb7 | ||
|
|
f1f0e14e15 | ||
|
|
73c751db5c | ||
|
|
e97461ca07 | ||
|
|
454efc0d41 | ||
|
|
c954f6bf53 | ||
|
|
ce051bae89 | ||
|
|
27b5295983 | ||
|
|
40fd6e79bd | ||
|
|
1495c1db87 | ||
|
|
d0d43a7b72 | ||
|
|
098821920c | ||
|
|
a03c23ab94 | ||
|
|
cc234a834a | ||
|
|
19f67cf09f | ||
|
|
3d5f405dfd | ||
|
|
2ba1306045 | ||
|
|
15ec915d7a | ||
|
|
8ac53eb919 | ||
|
|
9de82a6d1a | ||
|
|
6138bab7ab | ||
|
|
3f42c942d2 | ||
|
|
6ca1861df2 | ||
|
|
986e1a724a | ||
|
|
ab678200e4 | ||
|
|
0e99f7e829 | ||
|
|
9df759146e | ||
|
|
e0abc9ce64 | ||
|
|
8f81f16bb9 | ||
|
|
589ed6e2f7 | ||
|
|
e6e6f52d89 | ||
|
|
e22842f58b | ||
|
|
7b4e168354 | ||
|
|
a5cc6f849c | ||
|
|
78c2c84d8d | ||
|
|
12354eb8cd | ||
|
|
7c064dff05 | ||
|
|
248424d926 | ||
|
|
dfeb2ab1fa | ||
|
|
6c93c8f800 | ||
|
|
684cf8cb9d | ||
|
|
1125fd6f76 | ||
|
|
f1d39ad863 | ||
|
|
fcadc2c640 | ||
|
|
1d52489e3a | ||
|
|
ba491963df | ||
|
|
1dac294007 | ||
|
|
e6f1cffb7d | ||
|
|
585763eedc | ||
|
|
49acf5103e | ||
|
|
9e10465dd8 | ||
|
|
2c1d20cecf | ||
|
|
45cf3046e0 | ||
|
|
92dabda954 | ||
|
|
a99b013edc | ||
|
|
1d1ea88eba | ||
|
|
9b848e5cea | ||
|
|
fb0f61b4cd | ||
|
|
da847b6c87 | ||
|
|
be77fb8c03 | ||
|
|
608a5d3dd4 | ||
|
|
654027a189 | ||
|
|
18c628f513 | ||
|
|
4bc917b212 | ||
|
|
d44b6e6fed | ||
|
|
6e79115f15 | ||
|
|
9a3a510540 | ||
|
|
fe800e688b | ||
|
|
18a40cba38 | ||
|
|
8c43ba9f09 | ||
|
|
bfda9a6e38 | ||
|
|
be46a7b0a6 | ||
|
|
1290be858d | ||
|
|
de37c06293 | ||
|
|
afdb130911 | ||
|
|
de9f3e7834 | ||
|
|
3f690cf7b3 | ||
|
|
67c1260791 | ||
|
|
5bb339bf8f | ||
|
|
64eb07fd09 | ||
|
|
efd983e279 | ||
|
|
370f07be45 | ||
|
|
b33e469f9f | ||
|
|
5a9d8a16a0 | ||
|
|
b6ff77e8db | ||
|
|
0c0aea6386 | ||
|
|
2b56ad13d3 | ||
|
|
2a865df39e | ||
|
|
119fae9482 | ||
|
|
cd27e11f3d | ||
|
|
b22572d052 | ||
|
|
d879c08daf | ||
|
|
13da7f01b2 | ||
|
|
c873a9c476 | ||
|
|
ad0ec73b33 | ||
|
|
40fd4bf9c8 | ||
|
|
e155cea9f4 | ||
|
|
0becc33755 | ||
|
|
69d75a9b24 | ||
|
|
0823a0c1f2 | ||
|
|
bb2680cecb | ||
|
|
58b75816ce | ||
|
|
9771bd66eb | ||
|
|
e5ede1dc71 | ||
|
|
367599d38c | ||
|
|
8472242cc6 | ||
|
|
584862bee3 | ||
|
|
e197d13915 | ||
|
|
15e742c469 | ||
|
|
6726d75ab8 | ||
|
|
001d07c152 | ||
|
|
6ec35906a2 | ||
|
|
26c1da0c93 | ||
|
|
726ffafb27 | ||
|
|
bd503f4ca5 | ||
|
|
0bb09897c2 | ||
|
|
402e8636f0 | ||
|
|
49881db9b1 | ||
|
|
1316d8b6a3 | ||
|
|
3477bf2cd2 | ||
|
|
7f6bdd5706 | ||
|
|
a57cd74545 | ||
|
|
dad437e626 | ||
|
|
738987924a | ||
|
|
1737a2dd9a | ||
|
|
8794aaf16f | ||
|
|
50b6a1af22 | ||
|
|
47a3ccb441 | ||
|
|
94ca8170da | ||
|
|
1a36e35a03 | ||
|
|
ad4dc4a956 | ||
|
|
34dbd5b095 | ||
|
|
ca5d843d06 | ||
|
|
c285d1f9ce | ||
|
|
cb9faa460e | ||
|
|
fadda99863 | ||
|
|
7d054b2fc6 | ||
|
|
462330feb6 | ||
|
|
bdc265159a | ||
|
|
6f059adb64 | ||
|
|
d9e69b98fd | ||
|
|
97307e9acf | ||
|
|
c4bfd722f5 | ||
|
|
0f1ab58450 | ||
|
|
17727575ef | ||
|
|
93a3bd0e0e | ||
|
|
652bbff31a | ||
|
|
cb5ad68e4f | ||
|
|
a3ae24271c | ||
|
|
7df80a734f | ||
|
|
2ae70d4c21 | ||
|
|
24044dc5fe | ||
|
|
ec75be7668 | ||
|
|
ff9062f1bf | ||
|
|
0401e33491 | ||
|
|
32f650ef2a | ||
|
|
de72b194d4 | ||
|
|
5aa193646b | ||
|
|
40ed3d8c68 | ||
|
|
d0d21ee6e3 | ||
|
|
2fe3f3d47b | ||
|
|
150dae9e5d | ||
|
|
0c077de23e | ||
|
|
94ab9198a8 | ||
|
|
b90740ce86 | ||
|
|
1fdc0a125c | ||
|
|
22585527a2 | ||
|
|
ccfb193141 | ||
|
|
477b084174 | ||
|
|
8041202bde | ||
|
|
405e2bd907 | ||
|
|
d79d34fac2 | ||
|
|
99cf381b0c | ||
|
|
a127c835f1 | ||
|
|
9534be6abc | ||
|
|
39dfe6bf38 | ||
|
|
6cd80d680c | ||
|
|
e015ce065f | ||
|
|
f79a838f08 | ||
|
|
f9d877468c | ||
|
|
d1c6794bfc | ||
|
|
ef41cd591e | ||
|
|
1bbe6166ec | ||
|
|
28abb87c89 | ||
|
|
404df4ffcd | ||
|
|
3c12de8394 | ||
|
|
4fb933a580 | ||
|
|
57a0d034a7 | ||
|
|
c69a4940fd | ||
|
|
b512dfa1d0 | ||
|
|
bf26784438 | ||
|
|
b5ac999b8e | ||
|
|
924bc240d9 | ||
|
|
f3d44bc7d4 | ||
|
|
a152e1d54b | ||
|
|
6c5c818f8b | ||
|
|
6b3c4cf4f5 | ||
|
|
37b096f1b3 | ||
|
|
b535ea9f1f | ||
|
|
0bc6c7dc9a | ||
|
|
4a75c668a9 | ||
|
|
467a6450c7 | ||
|
|
1ddebda0db | ||
|
|
1b237d87e9 | ||
|
|
ba8e6f21b5 | ||
|
|
a74d32b453 | ||
|
|
71074c1ed2 | ||
|
|
862fde1061 | ||
|
|
e28ca29a2f | ||
|
|
c8ece61a07 | ||
|
|
df6bb7a54f | ||
|
|
0a6cac2c82 | ||
|
|
00a4ee4aed | ||
|
|
4a124787c9 | ||
|
|
c5990dc26b | ||
|
|
1977b3eafb | ||
|
|
fdd27826d8 | ||
|
|
3d1e463cf8 | ||
|
|
25a8a9e163 | ||
|
|
128812737f | ||
|
|
3f43db13f2 | ||
|
|
521802f5bd | ||
|
|
24b0a0f4ef | ||
|
|
6b195016ba | ||
|
|
d3d676ba3f | ||
|
|
e6860bfa4e | ||
|
|
829a6fb6ba | ||
|
|
2eba2e64b1 | ||
|
|
d533b45e4c | ||
|
|
3a4ed15e1a | ||
|
|
82d4bcf1e3 | ||
|
|
1e3f1b9bc3 | ||
|
|
98e2e3fc88 | ||
|
|
cf23337794 | ||
|
|
b1d88be4af | ||
|
|
9a3ab81a11 | ||
|
|
72f6bbb345 | ||
|
|
4618cec195 | ||
|
|
6a543da886 | ||
|
|
0145343d5b | ||
|
|
e93f6c861a | ||
|
|
148df45af8 | ||
|
|
62748fecca | ||
|
|
ee3e0037d7 | ||
|
|
d7e2e02c21 | ||
|
|
e441695326 | ||
|
|
f33b78317f | ||
|
|
45a92e8be6 | ||
|
|
dabe943ada | ||
|
|
ba60828b05 | ||
|
|
f9a6786d6a | ||
|
|
a88bc1d0e7 | ||
|
|
a61abb1c85 | ||
|
|
3d8d383e29 | ||
|
|
f73d5385ca | ||
|
|
d54c0d9fce | ||
|
|
3fdde46140 | ||
|
|
ac76251e5d | ||
|
|
1a908aa504 | ||
|
|
b04d024ec6 | ||
|
|
94efbadca1 | ||
|
|
0aa4e9fd45 | ||
|
|
1ef6bda6c3 | ||
|
|
85ee5b04d1 | ||
|
|
d4b0313793 | ||
|
|
4c473d0f46 | ||
|
|
c7fc681927 | ||
|
|
82dd212865 | ||
|
|
43b4b3aaf3 | ||
|
|
81e8180049 | ||
|
|
d1ace99514 | ||
|
|
2a5f2bbe6a | ||
|
|
e53f6518e4 | ||
|
|
ed69bdcfd8 | ||
|
|
1a3a00606c | ||
|
|
b7127c6877 | ||
|
|
8ff8c89aa0 | ||
|
|
b8d7024566 | ||
|
|
3e1c5e01ac | ||
|
|
4e6cd28b08 | ||
|
|
8cb5d51fc3 | ||
|
|
389e05b0bd | ||
|
|
8a90bdac07 | ||
|
|
b92e2a936d | ||
|
|
b5121b8709 | ||
|
|
e0dfc2cba7 | ||
|
|
f83e2c24f7 | ||
|
|
a62ee902d5 | ||
|
|
de91ac0a91 | ||
|
|
11efb1b7d3 | ||
|
|
9400093e9b | ||
|
|
a8d0e41f8f | ||
|
|
971a83ed7a | ||
|
|
4ff43f3707 | ||
|
|
fe1eedbb57 | ||
|
|
51146855fe | ||
|
|
e65ba5ec0a | ||
|
|
d682247fce | ||
|
|
0ef2ebdf7b | ||
|
|
161d016c0a | ||
|
|
1adeb3fb2f | ||
|
|
802cc71196 | ||
|
|
5f66256780 | ||
|
|
27d84e39c5 | ||
|
|
cc06b79a61 | ||
|
|
aa7ae3ffa9 | ||
|
|
3ae05143c0 | ||
|
|
5ac2c150ba | ||
|
|
af73317307 | ||
|
|
f3c18b80f7 | ||
|
|
1d2760dfbc | ||
|
|
70936c9cee | ||
|
|
5d500f0388 | ||
|
|
00c6e73736 | ||
|
|
967c4aff05 | ||
|
|
1ee788a506 | ||
|
|
c33d99d572 | ||
|
|
7410ef0bb6 | ||
|
|
1c514e63ab | ||
|
|
220ed32b37 | ||
|
|
aee6d99a6e | ||
|
|
1d748ea81e | ||
|
|
f03f936a42 | ||
|
|
edf54ff89d | ||
|
|
ea4b4fded0 | ||
|
|
55a56b9dca | ||
|
|
06d902e049 | ||
|
|
c75114a9a4 | ||
|
|
883cb96c0b | ||
|
|
12d1389888 | ||
|
|
57869f2e5c | ||
|
|
6499bf32e9 | ||
|
|
dba62a565a | ||
|
|
e1fd8b776a | ||
|
|
2202305026 | ||
|
|
af0cdb3df7 | ||
|
|
05d70882df | ||
|
|
098f2400e7 | ||
|
|
f3eb02cf0e | ||
|
|
f8dbc16a5a | ||
|
|
b71d7c88a2 | ||
|
|
41eaabae61 | ||
|
|
6be1548da0 | ||
|
|
9b1788b517 | ||
|
|
12942df15b | ||
|
|
cb2957f5f3 | ||
|
|
6e3efa061e | ||
|
|
2e996236d9 | ||
|
|
96a03c3574 | ||
|
|
18ca122aed | ||
|
|
a44aaf4780 | ||
|
|
7213b9777f | ||
|
|
024eefffb6 | ||
|
|
7798835252 | ||
|
|
1ec14607f8 | ||
|
|
662723c9a9 | ||
|
|
1012b71028 | ||
|
|
90c1287201 | ||
|
|
8cf0915dc0 | ||
|
|
0ca39ca7ee | ||
|
|
4301c94346 | ||
|
|
f6052f684d | ||
|
|
816062a29f | ||
|
|
4e99faf44a | ||
|
|
602243e337 | ||
|
|
83486eacab | ||
|
|
366c40ee86 | ||
|
|
48ad44002c | ||
|
|
b158d427fc | ||
|
|
57ac8fe126 | ||
|
|
22a20b41f6 | ||
|
|
b5dc3b7945 | ||
|
|
7f6d063e9a | ||
|
|
add7ad18c0 | ||
|
|
4806a3f354 | ||
|
|
fe0bfec7c1 | ||
|
|
464b9ad28f | ||
|
|
c1e26e71f3 | ||
|
|
8329bb49f6 | ||
|
|
1f157c2188 | ||
|
|
f63bbdf972 | ||
|
|
4679b1a0cb | ||
|
|
396cee07ea | ||
|
|
856be7db9a | ||
|
|
3fd3fc52ff | ||
|
|
98d918c5e6 | ||
|
|
6538b15fc6 | ||
|
|
eedb710e5c | ||
|
|
9393225fcb | ||
|
|
37cabfd493 | ||
|
|
6670ca6bb0 | ||
|
|
4252b42251 | ||
|
|
b2195836e6 | ||
|
|
eb81985e22 | ||
|
|
067b6aa787 | ||
|
|
9f9bd135c9 | ||
|
|
ccbe733430 | ||
|
|
b6b668d5b6 | ||
|
|
7320d333f3 | ||
|
|
7f42d7cf49 | ||
|
|
f42f3d2e8d | ||
|
|
8de657a414 | ||
|
|
b9c46a20dd | ||
|
|
3bed48e9d2 | ||
|
|
65b271d4d5 | ||
|
|
296b3eedc3 | ||
|
|
a4a4c10dc8 | ||
|
|
45abe05ad0 | ||
|
|
b896730a6f | ||
|
|
8e4d17569b | ||
|
|
220c5f8cd2 | ||
|
|
17d31ec799 | ||
|
|
b639a8c73f | ||
|
|
2f747b7cc0 | ||
|
|
bcc92bce6e | ||
|
|
28e717f26b | ||
|
|
1f3700d675 | ||
|
|
630e7e5d1b | ||
|
|
41d6acb71d | ||
|
|
fbb7529d56 | ||
|
|
ac80ab9fbd | ||
|
|
13357baf8e | ||
|
|
46e93ef73a | ||
|
|
2d1fc7bdfe | ||
|
|
ec3af33a61 | ||
|
|
09205343a6 | ||
|
|
da46cfe3cb | ||
|
|
7a81dbf305 | ||
|
|
41cb94a970 | ||
|
|
b614b8ef8e | ||
|
|
0bc8517d57 | ||
|
|
87932ae315 | ||
|
|
7d7c074b02 | ||
|
|
41b8a30e81 | ||
|
|
08affe3fb9 | ||
|
|
b23be0f31a | ||
|
|
373d70ce5a | ||
|
|
98f5b87c9d | ||
|
|
0dcc632a44 | ||
|
|
2ac7d27bbf | ||
|
|
97ee4b9855 | ||
|
|
9b8a574706 | ||
|
|
32458ecf10 | ||
|
|
e441742c60 | ||
|
|
03a3cc559f | ||
|
|
6a5aabbcda | ||
|
|
9095de2328 | ||
|
|
486b5ebdcd | ||
|
|
e9256cd6c4 | ||
|
|
45755183e9 | ||
|
|
7a3fc62b3a | ||
|
|
80e7b8ba29 | ||
|
|
8f79e597ca | ||
|
|
07f7fee2e7 | ||
|
|
8db12b177c | ||
|
|
e66af554be | ||
|
|
07f1bee262 | ||
|
|
e0c495f497 | ||
|
|
d18f91be34 | ||
|
|
aa7b8d35f3 | ||
|
|
1dce904c73 | ||
|
|
1eeb617dc3 | ||
|
|
980af0ffd4 | ||
|
|
a1383f382c | ||
|
|
10ff05ac47 | ||
|
|
6483425155 | ||
|
|
cd473a1627 | ||
|
|
824fbcf0da | ||
|
|
f66a6e52e8 | ||
|
|
e38e9d3bd1 | ||
|
|
5c5ef5b973 | ||
|
|
bb1a61f7a2 | ||
|
|
91b0be3290 | ||
|
|
ae49f7b2ca | ||
|
|
97319b1355 | ||
|
|
b2b7f16bc3 | ||
|
|
7a8a7d8ea7 | ||
|
|
b277484268 | ||
|
|
f0c50e74c0 | ||
|
|
f0db160a35 | ||
|
|
01917c826d | ||
|
|
c745ca3765 | ||
|
|
40e97625b7 | ||
|
|
d699c95db0 | ||
|
|
f264948c8b | ||
|
|
c8271c1bd0 | ||
|
|
25de0ed4a7 | ||
|
|
2787a0766c | ||
|
|
2a81d9d498 | ||
|
|
5c61c56d68 | ||
|
|
50dc1b7c63 | ||
|
|
c30511eb0c | ||
|
|
998700b59f | ||
|
|
d79c72861b | ||
|
|
97c446620a | ||
|
|
69c52a9eef | ||
|
|
74bf843de4 | ||
|
|
c79455e177 | ||
|
|
609ae23f2a | ||
|
|
b204d6cadf | ||
|
|
8bf777395c | ||
|
|
98002122e9 | ||
|
|
0ac0b7242e | ||
|
|
42d20e49a4 | ||
|
|
632a497c11 | ||
|
|
d80aa8abc0 | ||
|
|
4e7701250d | ||
|
|
499a65cfd8 | ||
|
|
c2e17fbf15 | ||
|
|
30a279ebe9 | ||
|
|
66afb4a858 | ||
|
|
6a72ea1e9b | ||
|
|
e40b68bc75 | ||
|
|
04c758cce0 | ||
|
|
b2f5b728af | ||
|
|
b9e7588e4b | ||
|
|
0d78db8e07 | ||
|
|
6140ebfc0e | ||
|
|
121ffb5466 | ||
|
|
4943416647 | ||
|
|
7786bb861a | ||
|
|
4b923c91cd | ||
|
|
6896219721 | ||
|
|
83ea321493 | ||
|
|
efda537248 | ||
|
|
c3b984f8e8 | ||
|
|
7e7b139852 | ||
|
|
99fdbaf970 | ||
|
|
76d7fda750 | ||
|
|
efafee2ffe | ||
|
|
6a81eb5afe | ||
|
|
99fb7939cc | ||
|
|
108960df17 |
431 changed files with 55100 additions and 15838 deletions
11
.warp.md
Normal file
11
.warp.md
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# WARP.md
|
||||
|
||||
This file provides guidance to WARP (warp.dev) when working with code in this repository.
|
||||
|
||||
Agent entrypoint
|
||||
- Start with WARP.md (primary project rules and workflows for agents).
|
||||
- For extended quick refs and workflows, see cheatsheets/project-guide.md.
|
||||
|
||||
Maintenance note
|
||||
- Keep both WARP.md and cheatsheets/project-guide.md current.
|
||||
- Prefer updating WARP.md for canonical rules; use the project guide for quick commands.
|
||||
1204
CHANGELOG.md
1204
CHANGELOG.md
File diff suppressed because it is too large
Load diff
121
CODE_OF_CONDUCT.md
Normal file
121
CODE_OF_CONDUCT.md
Normal file
|
|
@ -0,0 +1,121 @@
|
|||
# Contributor Covenant Code of Conduct
|
||||
|
||||
## Our Pledge
|
||||
|
||||
We as members, contributors, and leaders pledge to make participation in our
|
||||
community a harassment-free experience for everyone, regardless of age, body
|
||||
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
||||
identity and expression, level of experience, education, socio-economic status,
|
||||
nationality, personal appearance, race, religion, or sexual identity
|
||||
and orientation.
|
||||
|
||||
We pledge to act and interact in ways that are welcoming, open, and respectful.
|
||||
|
||||
## Our Standards
|
||||
|
||||
Examples of behavior that contributes to a positive environment for our
|
||||
community include:
|
||||
|
||||
* Demonstrating empathy and kindness toward other people
|
||||
* Being respectful of differing opinions, viewpoints, and experiences
|
||||
* Giving and gracefully accepting constructive feedback
|
||||
* Accepting responsibility and apologizing to those affected by our mistakes,
|
||||
and learning from the experience
|
||||
* Focusing on what is best not just for us as individuals, but for the
|
||||
overall community
|
||||
|
||||
Examples of unacceptable behavior include:
|
||||
|
||||
* The use of sexualized language or imagery, and sexual attention or
|
||||
advances of any kind
|
||||
* Trolling, insulting or derogatory comments, and personal or political attacks
|
||||
* Public or private harassment
|
||||
* Publishing others' private information, such as a physical or email
|
||||
address, without their explicit permission
|
||||
* Other conduct which could reasonably be considered inappropriate in a
|
||||
professional setting
|
||||
|
||||
## Enforcement Responsibilities
|
||||
|
||||
Community leaders are responsible for clarifying and enforcing our standards of
|
||||
acceptable behavior and will take appropriate and fair corrective action in
|
||||
response to any behavior that they deem inappropriate, threatening, offensive,
|
||||
or harmful.
|
||||
|
||||
Community leaders have the right and responsibility to remove, edit, or reject
|
||||
comments, commits, code, wiki edits, issues, and other contributions that are
|
||||
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
||||
decisions when appropriate.
|
||||
|
||||
## Scope
|
||||
|
||||
This Code of Conduct applies within all community spaces, and also applies when
|
||||
an individual is officially representing the community in public spaces.
|
||||
Examples of representing our community include using an official e-mail address,
|
||||
posting via an official social media account, or acting as an appointed
|
||||
representative at an online or offline event.
|
||||
|
||||
## Enforcement
|
||||
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||
reported to the community leaders responsible for enforcement at
|
||||
[tylerzanekelley@gmail.com].
|
||||
All complaints will be reviewed and investigated promptly and fairly.
|
||||
|
||||
All community leaders are obligated to respect the privacy and security of the
|
||||
reporter of any incident.
|
||||
|
||||
## Enforcement Guidelines
|
||||
|
||||
Community leaders will follow these Community Impact Guidelines in determining
|
||||
the consequences for any action they deem in violation of this Code of Conduct:
|
||||
|
||||
### 1. Correction
|
||||
|
||||
**Community Impact**: Use of inappropriate language or other behavior deemed
|
||||
unprofessional or unwelcome in the community.
|
||||
|
||||
**Consequence**: A private, written warning from community leaders, providing
|
||||
clarity around the nature of the violation and an explanation of why the
|
||||
behavior was inappropriate. A public apology may be requested.
|
||||
|
||||
### 2. Warning
|
||||
|
||||
**Community Impact**: A violation through a single incident or series
|
||||
of actions.
|
||||
|
||||
**Consequence**: A warning with consequences for continued behavior. No
|
||||
interaction with the people involved, including unsolicited interaction with
|
||||
those enforcing the Code of Conduct, for a specified period of time. This
|
||||
includes avoiding interaction in community spaces as well as external channels
|
||||
like social media. Violating these terms may lead to a temporary or
|
||||
permanent ban.
|
||||
|
||||
### 3. Temporary Ban
|
||||
|
||||
**Community Impact**: A serious violation of community standards, including
|
||||
sustained inappropriate behavior.
|
||||
|
||||
**Consequence**: A temporary ban from any sort of interaction or public
|
||||
communication with the community for a specified period of time. No public or
|
||||
private interaction with the people involved, including unsolicited interaction
|
||||
with those enforcing the Code of Conduct, is allowed during this period.
|
||||
Violating these terms may lead to a permanent ban.
|
||||
|
||||
### 4. Permanent Ban
|
||||
|
||||
**Community Impact**: Demonstrating a pattern of violation of community
|
||||
standards, including sustained inappropriate behavior, harassment of an
|
||||
individual, or aggression toward or disparagement of classes of individuals.
|
||||
|
||||
**Consequence**: A permanent ban from any sort of public interaction within
|
||||
the community.
|
||||
|
||||
## Attribution
|
||||
|
||||
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
||||
version 2.0, available at
|
||||
[https://www.contributor-covenant.org/version/2/0/code_of_conduct.html][v2.0].
|
||||
|
||||
[homepage]: https://www.contributor-covenant.org
|
||||
[v2.0]: https://www.contributor-covenant.org/version/2/0/code_of_conduct.html
|
||||
|
|
@ -1,32 +1,81 @@
|
|||
# Contributing Guidelines
|
||||
# 💖 Contributing to ZaneyOS
|
||||
|
||||
👋 Hello there! We're thrilled that you're considering contributing to our project. Before you start, please take a moment to read our guidelines.
|
||||
We're excited that you're interested in contributing to ZaneyOS! Your help is
|
||||
essential for keeping it great.
|
||||
|
||||
## Table of Contents
|
||||
This document is a guide to help you through the process of contributing to
|
||||
ZaneyOS. We are a welcoming and friendly community, and we are happy to help you
|
||||
get started.
|
||||
|
||||
- [How Can I Contribute?](#how-can-i-contribute)
|
||||
- [Reporting Bugs](#reporting-bugs)
|
||||
- [Suggesting Enhancements](#suggesting-enhancements)
|
||||
- [Code Contribution](#code-contribution)
|
||||
## 📜 Code of Conduct
|
||||
|
||||
## Code of Conduct
|
||||
We have a [Code of Conduct](CODE_OF_CONDUCT.md) that we expect all contributors
|
||||
to adhere to. Please take a moment to read it before you start contributing.
|
||||
|
||||
None. Don't be a turd and we'll be just fine 'round here. 🤠
|
||||
## 🚀 How to Contribute
|
||||
|
||||
## How Can I Contribute?
|
||||
There are many ways to contribute to ZaneyOS, from writing code to reporting
|
||||
bugs and suggesting new features.
|
||||
|
||||
### Reporting Bugs
|
||||
### 🐛 Reporting Bugs
|
||||
|
||||
Found a bug? Please ensure the bug was not already reported by searching our [issues](../../issues). If not, open a new issue and fill out the template provided.
|
||||
If you find a bug, please open an issue on our [issue tracker](../../issues).
|
||||
|
||||
### Suggesting Enhancements
|
||||
When you report a bug, please include the following:
|
||||
|
||||
Have an idea for an enhancement? We'd love to hear it! Open an issue and include [Feature Request].
|
||||
- A clear and descriptive title.
|
||||
- A detailed description of the bug, including steps to reproduce it.
|
||||
- Your environment details (OS, ZaneyOS version, etc.).
|
||||
- Any relevant logs or screenshots.
|
||||
|
||||
### Code Contribution
|
||||
### ✨ Suggesting Enhancements
|
||||
|
||||
1. Fork the repository.
|
||||
2. Create a new branch for your feature/fix: `git checkout -b feature-branch`
|
||||
3. Make your changes and commit: `git commit -m 'Add new feature'`
|
||||
4. Push to your fork: `git push origin feature-branch`
|
||||
5. Open a pull request with a clear title and description.
|
||||
If you have an idea for a new feature or an enhancement to an existing one,
|
||||
please open an issue on our [issue tracker](../../issues).
|
||||
|
||||
When you suggest an enhancement, please include the following:
|
||||
|
||||
- A clear and descriptive title.
|
||||
- A detailed description of the enhancement, including the problem it solves and
|
||||
why it would be a good addition to ZaneyOS.
|
||||
- Any relevant mockups or screenshots.
|
||||
|
||||
### 💻 Code Contributions
|
||||
|
||||
If you want to contribute code to ZaneyOS, please follow these steps:
|
||||
|
||||
1. **Fork the repository** and clone it to your local machine.
|
||||
2. **Create a new branch** for your changes: `git checkout -b your-branch-name`
|
||||
3. **Make your changes** and commit them with a clear and descriptive commit
|
||||
message.
|
||||
4. **Push your changes** to your fork: `git push origin your-branch-name`
|
||||
5. **Open a pull request** to the `main` branch of the ZaneyOS repository.
|
||||
|
||||
When you open a pull request, please include the following:
|
||||
|
||||
- A clear and descriptive title.
|
||||
- A detailed description of the changes, including the problem it solves and how
|
||||
you solved it.
|
||||
- Any relevant issue numbers.
|
||||
|
||||
## 🎨 Style Guide
|
||||
|
||||
We have a style guide that we expect all contributors to follow. Please take a
|
||||
moment to read it before you start contributing.
|
||||
|
||||
- **Git Commit Messages:** We use the
|
||||
[Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/)
|
||||
specification for our commit messages.
|
||||
- **Code Style:** We use `shfmt` to format our shell scripts. Please make sure
|
||||
your code is formatted before you open a pull request.
|
||||
|
||||
## 💬 Community
|
||||
|
||||
If you have any questions or want to get in touch with the community, you can
|
||||
find us on:
|
||||
|
||||
- **Discord:** [Join our Discord server](https://discord.gg/CHZzESXs)
|
||||
- **Twitter:** [@ZaneyOS](https://twitter.com/ZaneyOS)
|
||||
|
||||
We are happy to help you get started with contributing to ZaneyOS. We look
|
||||
forward to your contributions!
|
||||
|
|
|
|||
|
|
@ -1,9 +1,13 @@
|
|||
MIT License
|
||||
# 📜 License
|
||||
|
||||
Copyright (c) 2024 Tyler Kelley
|
||||
### ZaneyOS is licensed under the MIT License.
|
||||
|
||||
## MIT License
|
||||
|
||||
**Copyright (c) 2025 Tyler Kelley**
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
of this software and associated documentation files (the <strong> "Software" </strong>), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
|
|
@ -12,10 +16,10 @@ furnished to do so, subject to the following conditions:
|
|||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
**THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
SOFTWARE.**
|
||||
303
README.es.md
Normal file
303
README.es.md
Normal file
|
|
@ -0,0 +1,303 @@
|
|||
[English](README.md) | [Español](README.es.md)
|
||||
|
||||
<div align="center">
|
||||
|
||||
## ZaneyOS 🟰 Mejores Configs ❄️ NixOS
|
||||
|
||||
\*\* Actualizado: 16 de enero de 2026
|
||||
|
||||
ZaneyOS es una forma sencilla de reproducir mi configuración en cualquier sistema NixOS.
|
||||
Incluye el fondo de pantalla, scripts, aplicaciones, archivos de configuración y más.
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-Floating.png" />
|
||||
|
||||
</div>
|
||||
|
||||
<details>
|
||||
<summary><strong>📸 Más capturas de pantalla</strong></summary>
|
||||
|
||||
### Temas de Waybar
|
||||
|
||||
<img align="center" width="80%" src="img/demo-img2.png" />
|
||||
|
||||
<img align="center" width="80%" src="img/demo-img3.png" />
|
||||
|
||||
### Integración de Noctalia Shell
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-noctalia-panel.png" />
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-noctalia-app.png" />
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-noctalia-settings.png" />
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-noctalia-weather.png" />
|
||||
|
||||
### Características adicionales
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-keybind-search.png" />
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-nivim-emacs.png" />
|
||||
|
||||
</details>
|
||||
|
||||
<div align="center">
|
||||
|
||||
### Chuletas y Guías
|
||||
|
||||
- Guía para Principiantes de Nix: [English](cheatsheets/nix-beginner-guide.md) | [Español](cheatsheets/nix-beginner-guide.es.md)
|
||||
- Guía de Personalización de Hyprland: [English](cheatsheets/hyprland-customization-guide.md) | [Español](cheatsheets/hyprland-customization-guide.es.md)
|
||||
|
||||
#### 🍖 Requisitos
|
||||
|
||||
- Debes estar ejecutando NixOS, versión 23.11+.
|
||||
- Se espera que la carpeta `zaneyos` (este repo) esté en tu directorio home.
|
||||
- Debes haber instalado NixOS usando partición **GPT** con arranque **UEFI**.
|
||||
- ** Se requiere un /boot de mínimo 500MB. **
|
||||
- Se soporta systemd-boot.
|
||||
- Para GRUB tendrás que buscar una guía en internet. ☺️
|
||||
- Edición manual de archivos específicos de tu host.
|
||||
- El host es la máquina específica donde estás instalando.
|
||||
|
||||
#### 🎹 PipeWire y controles del centro de notificaciones
|
||||
|
||||
- Usamos la solución de audio más reciente y robusta para Linux. Además, tendrás
|
||||
controles de medios y volumen en el centro de notificaciones en la barra superior.
|
||||
|
||||
#### 🏇 Flujo optimizado y Neovim simple pero elegante
|
||||
|
||||
- Usando Hyprland para mayor elegancia, funcionalidad y eficiencia.
|
||||
- No hay un proyecto Neovim masivo aquí. Es mi configuración simple, fácil de entender y
|
||||
excelente, con soporte de lenguajes ya añadido.
|
||||
|
||||
#### 🖥️ Configuración multi‑host y multi‑usuario
|
||||
|
||||
- Puedes definir ajustes separados para diferentes máquinas y usuarios.
|
||||
- Especifica fácilmente paquetes extra para tus usuarios en `modules/core/user.nix`.
|
||||
- Estructura de archivos fácil de entender y configuración simple pero abarcadora.
|
||||
|
||||
#### 👼 Una comunidad increíble centrada en el soporte
|
||||
|
||||
- La idea de ZaneyOS es hacer de NixOS un espacio accesible.
|
||||
- NixOS es una gran comunidad de la que querrás formar parte.
|
||||
- Muchas personas pacientes y con ganas de ayudar te apoyan usando ZaneyOS.
|
||||
- No dudes en pasar por el Discord para pedir ayuda.
|
||||
|
||||
#### 📦 ¿Cómo instalo paquetes?
|
||||
|
||||
- Puedes buscar en [Nix Packages](https://search.nixos.org/packages?) y
|
||||
[Options](https://search.nixos.org/options?) para conocer el nombre del paquete
|
||||
o si tiene opciones que faciliten su configuración.
|
||||
- Para añadir un paquete hay secciones en `modules/core/packages.nix` y
|
||||
`modules/core/user.nix`. Uno para programas disponibles a nivel del sistema y
|
||||
otro sólo para el entorno del usuario.
|
||||
|
||||
#### 🙋 ¿Problemas / Preguntas?
|
||||
|
||||
- Siéntete libre de abrir un issue en el repo. Por favor etiqueta las solicitudes
|
||||
de funcionalidades comenzando el título con [feature request], ¡gracias!
|
||||
- Contáctanos también en [Discord](https://discord.gg/XhZmNTnhtp) para una respuesta potencialmente más rápida.
|
||||
|
||||
# Atajos de Hyprland
|
||||
|
||||
A continuación los atajos de Hyprland, en formato de referencia rápida. La columna de la derecha muestra atajos específicos de **Noctalia Shell** (solo disponibles cuando `barChoice = "noctalia"`).
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td width="50%">
|
||||
|
||||
## Atajos estándar
|
||||
|
||||
### Lanzamiento de aplicaciones
|
||||
|
||||
- `$modifier + Return` → Lanzar `terminal`
|
||||
- `$modifier + Tab` → Alternar `Quickshell Overview` (visor de espacios con vistas en vivo)
|
||||
- `$modifier + K` → Listar atajos
|
||||
- `$modifier + Shift + W` → Abrir `web-search`
|
||||
- `$modifier + Alt + W` → Abrir `wallsetter`
|
||||
- `$modifier + Shift + N` → Ejecutar `swaync-client -rs`
|
||||
- `$modifier + W` → Abrir `Navegador web`
|
||||
- `$modifier + Y` → Abrir `kitty` con `yazi`
|
||||
- `$modifier + E` → Abrir `emopicker9000`
|
||||
- `$modifier + S` → Tomar captura de pantalla
|
||||
- `$modifier + Shift + D` → Abrir `Discord`
|
||||
- `$modifier + O` → Lanzar `OBS Studio`
|
||||
- `$modifier + Alt + C` → Selector de color
|
||||
- `$modifier + G` → Abrir `GIMP`
|
||||
- `$modifier + T` → Alternar terminal con `pypr`
|
||||
- `$modifier + Alt + M` → Abrir `pavucontrol`
|
||||
|
||||
### Gestión de ventanas
|
||||
|
||||
- `$modifier + Q` → Cerrar ventana activa
|
||||
- `$modifier + P` → Alternar pseudo tiling
|
||||
- `$modifier + Shift + I` → Alternar modo dividido
|
||||
- `$modifier + F` → Alternar pantalla completa
|
||||
- `$modifier + Shift + F` → Alternar modo flotante
|
||||
- `$modifier + Alt + F` → Flotar todas las ventanas
|
||||
- `$modifier + Shift + C` → Salir de Hyprland
|
||||
|
||||
### Movimiento de ventanas
|
||||
|
||||
- `$modifier + Shift + ← / → / ↑ / ↓` → Mover izq./der./arriba/abajo
|
||||
- `$modifier + Shift + H / L / K / J` → Mover izq./der./arriba/abajo
|
||||
- `$modifier + Alt + ← / → / ↑ / ↓` → Intercambiar izq./der./arriba/abajo
|
||||
|
||||
### Movimiento de foco
|
||||
|
||||
- `$modifier + ← / → / ↑ / ↓` → Mover foco izq./der./arriba/abajo
|
||||
- `$modifier + H / L / K / J` → Mover foco izq./der./arriba/abajo
|
||||
|
||||
### Espacios de trabajo
|
||||
|
||||
- `$modifier + 1-10` → Cambiar al espacio 1-10
|
||||
- `$modifier + Shift + Space` → Mover ventana a espacio especial
|
||||
- `$modifier + Space` → Alternar espacio especial
|
||||
- `$modifier + Shift + 1-10` → Mover ventana al espacio 1-10
|
||||
- `$modifier + Control + → / ←` → Cambiar espacio adelante/atrás
|
||||
|
||||
### Ciclo de ventanas
|
||||
|
||||
- `Alt + Tab` → Ir a siguiente ventana / Traer activa al frente
|
||||
|
||||
</td>
|
||||
<td width="50%">
|
||||
|
||||
## 🎨 Atajos de Noctalia Shell
|
||||
|
||||
_Disponibles cuando `barChoice = "noctalia"` en `variables.nix`_
|
||||
|
||||
- `$modifier + D` → Alternar iniciador
|
||||
- `$modifier + Shift + Return` → Alternar iniciador
|
||||
- `$modifier + M` → Menú de notificaciones
|
||||
- `$modifier + V` → Gestor de portapapeles
|
||||
- `$modifier + Alt + P` → Panel de configuración
|
||||
- `$modifier + Shift + ,` → Panel de configuración
|
||||
- `$modifier + Alt + L` → Bloquear pantalla
|
||||
- `$modifier + Shift + Y` → Gestor de fondos
|
||||
- `$modifier + X` → Menú de energía
|
||||
- `$modifier + C` → Centro de control
|
||||
- `$modifier + Ctrl + R` → Grabadora de pantalla
|
||||
|
||||
### Iniciador Rofi (Modo Waybar)
|
||||
|
||||
_Disponible cuando `barChoice = "waybar"` en `variables.nix`_
|
||||
|
||||
- `$modifier + D` → Lanzar Rofi
|
||||
- `$modifier + Shift + Return` → Lanzar Rofi
|
||||
|
||||
### Otras características
|
||||
|
||||
- `$modifier + Shift + Return` (Waybar) → Iniciador de aplicaciones
|
||||
- `$modifier + V` (Waybar) → Historial del portapapeles con `cliphist`
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
## Instalación:
|
||||
|
||||
> **⚠️ IMPORTANTE:** Estos métodos son sólo para **NUEVAS INSTALACIONES**.
|
||||
> Si ya tienes ZaneyOS instalado y quieres actualizar a v2.4, consulta las [Instrucciones de actualización](#actualizar-de-zaneyos-23-a-24) más abajo.
|
||||
|
||||
<details>
|
||||
<summary><strong> ⬇️ Instalar con script (SÓLO NUEVAS INSTALACIONES)</strong></summary>
|
||||
|
||||
### 📜 Script:
|
||||
|
||||
Es la forma más fácil y recomendada para comenzar en **nuevas instalaciones**. El script no pretende
|
||||
permitirte cambiar todas las opciones del flake ni ayudarte a instalar paquetes extra.
|
||||
Está para que obtengas mi configuración con el menor riesgo de roturas y luego puedas ajustarla a tu gusto.
|
||||
|
||||
> **⚠️ ADVERTENCIA:** Este script reemplazará completamente cualquier directorio ~/zaneyos existente.
|
||||
> NO lo uses si ya tienes ZaneyOS instalado y configurado.
|
||||
|
||||
Copia y ejecuta:
|
||||
|
||||

|
||||
|
||||
```
|
||||
nix-shell -p git curl pciutils
|
||||
```
|
||||
|
||||
Luego:
|
||||
|
||||

|
||||
|
||||
```
|
||||
sh <(curl -L https://gitlab.com/Zaney/zaneyos/-/raw/main/install-zaneyos.sh)
|
||||
```
|
||||
|
||||
#### El proceso de instalación se verá así:
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
#### Tras completar, puede que el escritorio se vea roto. Reinicia y verás el login así:
|
||||
|
||||

|
||||
|
||||
#### Tras iniciar sesión deberías ver algo como esto:
|
||||
|
||||

|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><strong> 🦽 Proceso de instalación manual: </strong></summary>
|
||||
|
||||
1. Asegura Git y Vim instalados:
|
||||
|
||||
```
|
||||
nix-shell -p git vim
|
||||
```
|
||||
|
||||
2. Clona este repo y entra:
|
||||
|
||||
```
|
||||
cd && git clone https://gitlab.com/zaney/zaneyos.git -b main --depth=1 ~/zaneyos
|
||||
cd zaneyos
|
||||
|
||||
También puedes ejecutar el script `install.sh` si quieres.
|
||||
```
|
||||
|
||||
- _Permanece en esta carpeta para el resto de la instalación._
|
||||
|
||||
3. Crea la carpeta del host para tu(s) máquina(s):
|
||||
|
||||
```
|
||||
cp -r hosts/default hosts/<nombre-del-host>
|
||||
git add .
|
||||
```
|
||||
|
||||
4. Edita `hosts/<nombre-del-host>/variables.nix`.
|
||||
|
||||
5. Edita `flake.nix` y completa tu username, perfil y hostname.
|
||||
|
||||
6. Genera tu hardware.nix:
|
||||
|
||||
```
|
||||
nixos-generate-config --show-hardware-config > hosts/<nombre-del-host>/hardware.nix
|
||||
```
|
||||
|
||||
7. Ejecuta esto para habilitar flakes e instalar, reemplazando hostname por el perfil (p. ej. `intel`, `nvidia`, `nvidia-laptop`, `amd-hybrid` o `vm`):
|
||||
|
||||
```
|
||||
NIX_CONFIG="experimental-features = nix-command flakes"
|
||||
sudo nixos-rebuild switch --flake .#profile
|
||||
```
|
||||
|
||||
Ahora, cuando quieras reconstruir, tienes el alias `fr` que reconstruye el flake y no necesitas estar en la carpeta `zaneyos` para que funcione.
|
||||
|
||||
</details>
|
||||
|
||||
### Reconocimientos especiales:
|
||||
|
||||
Gracias por toda su ayuda
|
||||
|
||||
- KoolDots https://github.com/LinuxBeginnings
|
||||
- Jakookit https://github.com/jakookit
|
||||
- Justaguylinux https://codeberg.org/Justaguylinux
|
||||
- Jerry Starke https://github.com/JerrySM64
|
||||
|
||||
## ¡Disfruta!
|
||||
312
README.md
312
README.md
|
|
@ -1,111 +1,323 @@
|
|||
[English](README.md) | [Español](README.es.md)
|
||||
|
||||
<div align="center">
|
||||
|
||||
## ZaneyOS 🟰 Best ❄️ NixOS Configs
|
||||
|
||||
ZaneyOS is a simple way of reproducing my configuration on any NixOS system. This includes the wallpaper, scripts, applications, config files, and more.
|
||||
\*\* Updated: January 16th, 2026
|
||||
|
||||
<img align="center" width="80%" src="https://gitlab.com/Zaney/zaneyos/-/raw/main/config/demo.png" />
|
||||
ZaneyOS is a simple way of reproducing my configuration on any NixOS system.
|
||||
This includes the wallpaper, scripts, applications, config files, and more.
|
||||
|
||||
**Inspiration for the Waybar config [here](https://github.com/justinlime/dotfiles).**
|
||||
## Important Note on Noctalia
|
||||
|
||||
> The first time you login, screen will be blank SUPER + SHIFT + C to exit.
|
||||
> Login in, noctalia will start from then on
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-Floating.png" />
|
||||
|
||||
</div>
|
||||
|
||||
> **This project has a [Wiki](https://zaney.org/wiki/zaneyos-2.2/). Find out how to use ZaneyOS here!**
|
||||
> **I have put a lot of effort into the [documentation](https://zaney.org/wiki/zaneyos-2.2/) so it should be accurate. However, please if you notice that something is wrong with it create an issue or reach out to me on Discord.**
|
||||
<details>
|
||||
<summary><strong>📸 More Screenshots</strong></summary>
|
||||
|
||||
#### 🍖 Requirements
|
||||
- You must be running on NixOS.
|
||||
- The zaneyos folder (this repo) is expected to be in your home directory.
|
||||
- Must have installed using GPT & UEFI. Systemd-boot is what is supported, for GRUB you will have to brave the internet for a how-to. ☺️
|
||||
- Manually editing your host specific files. The host is the specific computer your installing on.
|
||||
### Waybar Themes
|
||||
|
||||
#### 🎹 Pipewire, Spotify, & Notification Menu Controls
|
||||
- We are using the latest and greatest audio solution for Linux. If you like listening to music Spotify comes pre-installed out of the box. Not to mention you will have media and volume controls in the notification center available in the top bar.
|
||||
<img align="center" width="80%" src="img/demo-img2.png" />
|
||||
|
||||
#### 🏇 Optimized Workflow, tmpfs For Speed, & Simple Yet Elegant Neovim
|
||||
- Using scratchpads with Hyprland for increased functionality and effeciency.
|
||||
- A tmpfs for the /tmp directory is created improving rebuild time and reducing strain on hdd/ssd.
|
||||
- No massive Neovim project here. This is my simple, easy to understand, yet incredible Neovim setup. You can grep recursively through entire folders and find specific files without ever leaving the text editor!
|
||||
<img align="center" width="80%" src="img/demo-img3.png" />
|
||||
|
||||
#### 🖥️ Multi Host & User Configuration
|
||||
- You can now define separate settings for different host machines and users!
|
||||
- Easily specify extra packages for your users in the users.nix file.
|
||||
- Easy to understand file structure and simple, but encompassing, configuratiion.
|
||||
### Noctalia Shell Integration
|
||||
|
||||
#### 👼 An Incredible Community Focused On Support
|
||||
- The entire idea of ZaneyOS is to make NixOS an approachable space that is actually a great community that you want to be in.
|
||||
- Many people who are patient and happy to spend their free time helping you are running ZaneyOS. Feel free to reach out on the Discord for any help with anything.
|
||||
<img align="center" width="80%" src="img/ZaneyOS-noctalia-panel.png" />
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-noctalia-app.png" />
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-noctalia-settings.png" />
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-noctalia-weather.png" />
|
||||
|
||||
### Additional Features
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-keybind-search.png" />
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-nivim-emacs.png" />
|
||||
|
||||
</details>
|
||||
|
||||
<div align="center">
|
||||
|
||||
Please do yourself a favor and [read the wiki](https://zaney.org/wiki/zaneyos-2.2/).
|
||||
### Cheatsheets and Guides
|
||||
|
||||
</div>
|
||||
- Nix Beginner Guide: [English](cheatsheets/nix-beginner-guide.md) |
|
||||
[Español](cheatsheets/nix-beginner-guide.es.md)
|
||||
- Hyprland Customization Guide:
|
||||
[English](cheatsheets/hyprland-customization-guide.md) |
|
||||
[Español](cheatsheets/hyprland-customization-guide.es.md)
|
||||
|
||||
#### 🍖 Requirements
|
||||
|
||||
- You must be running on NixOS, version 24.05+.
|
||||
- The `zaneyos` folder (this repo) is expected to be in your home directory.
|
||||
- You must have installed NIXOS using **GPT** parition with booting with
|
||||
**UEFI**.
|
||||
- ** 500MB minimum /boot partition required. **
|
||||
- Systemd-boot is what is supported.
|
||||
- For GRUB you will have to brave the internet for a how-to. ☺️
|
||||
- Manually editing your host specific files.
|
||||
- The host is the specific computer your installing on.
|
||||
|
||||
#### 🎹 Pipewire & Notification Menu Controls
|
||||
|
||||
- We are using the latest and greatest audio solution for Linux. Not to mention
|
||||
you will have media and volume controls in the notification center available
|
||||
in the top bar.
|
||||
|
||||
#### 🏇 Optimized Workflow & Simple Yet Elegant Neovim
|
||||
|
||||
- Using Hyprland for increased elegance, functionality, and efficiency.
|
||||
- No massive NeoVIM project here, using `nixvim` for an
|
||||
incredible NeoVIM setup. With language support already added in.
|
||||
|
||||
#### 🖥️ Multi Host & User Configuration
|
||||
|
||||
- You can define separate settings for different host machines and users.
|
||||
- Easily specify extra packages for your users in the `modules/core/user.nix`
|
||||
file.
|
||||
- Easy to understand file structure and simple, but encompassing, configuration.
|
||||
|
||||
#### 👼 An Incredible Community Focused On Support
|
||||
|
||||
- The entire idea of ZaneyOS is to make NixOS an approachable space.
|
||||
- NixOS is actually a great community that you will want to be a part of.
|
||||
- Many people who are patient and happy to spend their free time helping you are
|
||||
running ZaneyOS.
|
||||
- Feel free to reach out on the Discord for any help with anything.
|
||||
|
||||
#### 📦 How To Install Packages?
|
||||
- You can search the [Nix Packages](https://search.nixos.org/packages?) & [Options](https://search.nixos.org/options?) pages for what a package may be named or if it has options available that take care of configuration hurdles you may face.
|
||||
- To add a package there are the sections for it in config.nix and users.nix in your host folder. One is for programs available system wide and the other for your users environment only.
|
||||
|
||||
- You can search the [Nix Packages](https://search.nixos.org/packages?) &
|
||||
[Options](https://search.nixos.org/options?) pages for what a package may be
|
||||
named or if it has options available that take care of configuration hurdles
|
||||
you may face.
|
||||
- To add a package there are the sections for it in `modules/core/packages.nix`
|
||||
and `modules/core/user.nix`. One is for programs available system wide and the
|
||||
other for your users environment only.
|
||||
|
||||
#### 🙋 Having Issues / Questions?
|
||||
- Please feel free to raise an issue on the repo, please label a feature request with the title beginning with [feature request], thank you!
|
||||
- Contact me on [Discord](https://discord.gg/2cRdBs8) as well, for a potentially faster response.
|
||||
|
||||
### ⬇️ Install
|
||||
- Please feel free to raise an issue on the repo, please label a feature request
|
||||
with the title beginning with [feature request], thank you!
|
||||
- Contact us on [Discord](https://discord.gg/XhZmNTnhtp) as well, for a potentially
|
||||
faster response.
|
||||
|
||||
#### 📜 Script:
|
||||
# Hyprland Keybindings
|
||||
|
||||
This is the easiest and recommended way of starting out. The script is not meant to allow you to change every option that you can in the flake or help you install extra packages. It is simply here so you can get my configuration installed with as little chances of breakages and then fiddle to your hearts content!
|
||||
Below are the keybindings for Hyprland, formatted for easy reference. The right
|
||||
column shows keybindings that are specific to **Noctalia Shell** (only available
|
||||
when `barChoice = "noctalia"`).
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td width="50%">
|
||||
|
||||
## Standard Keybindings
|
||||
|
||||
### Application Launching
|
||||
|
||||
- `$modifier + Return` → Launch `terminal`
|
||||
- `$modifier + Tab` → Toggle `Quickshell Overview` (workspace overview with live previews)
|
||||
- `$modifier + K` → List keybinds
|
||||
- `$modifier + Shift + W` → Open `web-search`
|
||||
- `$modifier + Alt + W` → Open `wallsetter`
|
||||
- `$modifier + Shift + N` → Run `swaync-client -rs`
|
||||
- `$modifier + W` → Launch `Web Browser`
|
||||
- `$modifier + Y` → Open `kitty` with `yazi`
|
||||
- `$modifier + E` → Open `emopicker9000`
|
||||
- `$modifier + S` → Take a screenshot
|
||||
- `$modifier + Shift + D` → Open `Discord`
|
||||
- `$modifier + O` → Launch `OBS Studio`
|
||||
- `$modifier + Alt + C` → Color Picker
|
||||
- `$modifier + G` → Open `GIMP`
|
||||
- `$modifier + T` → Toggle terminal with `pypr`
|
||||
- `$modifier + Alt + M` → Open `pavucontrol`
|
||||
|
||||
### Window Management
|
||||
|
||||
- `$modifier + Q` → Kill active window
|
||||
- `$modifier + P` → Toggle pseudo tiling
|
||||
- `$modifier + Shift + I` → Toggle split mode
|
||||
- `$modifier + F` → Toggle fullscreen
|
||||
- `$modifier + Shift + F` → Toggle floating mode
|
||||
- `$modifier + Alt + F` → Float all windows
|
||||
- `$modifier + Shift + C` → Exit Hyprland
|
||||
|
||||
### Window Movement
|
||||
|
||||
- `$modifier + Shift + ← / → / ↑ / ↓` → Move left/right/up/down
|
||||
- `$modifier + Shift + H / L / K / J` → Move left/right/up/down
|
||||
- `$modifier + Alt + ← / → / ↑ / ↓` → Swap left/right/up/down
|
||||
|
||||
### Focus Movement
|
||||
|
||||
- `$modifier + ← / → / ↑ / ↓` → Move focus left/right/up/down
|
||||
- `$modifier + H / L / K / J` → Move focus left/right/up/down
|
||||
|
||||
### Workspaces
|
||||
|
||||
- `$modifier + 1-10` → Switch to workspace 1-10
|
||||
- `$modifier + Shift + Space` → Move window to special workspace
|
||||
- `$modifier + Space` → Toggle special workspace
|
||||
- `$modifier + Shift + 1-10` → Move window to workspace 1-10
|
||||
- `$modifier + Control + → / ←` → Switch workspace forward/backward
|
||||
|
||||
### Window Cycling
|
||||
|
||||
- `Alt + Tab` → Cycle to next window / Bring active to top
|
||||
|
||||
</td>
|
||||
<td width="50%">
|
||||
|
||||
## 🎨 Noctalia Shell Keybindings
|
||||
|
||||
_Available when `barChoice = "noctalia"` in `variables.nix`_
|
||||
|
||||
- `$modifier + D` → Launcher Toggle
|
||||
- `$modifier + Shift + Return` → Launcher Toggle
|
||||
- `$modifier + M` → Notifications Menu
|
||||
- `$modifier + V` → Clipboard Manager
|
||||
- `$modifier + Alt + P` → Settings Panel
|
||||
- `$modifier + Shift + ,` → Settings Panel
|
||||
- `$modifier + Alt + L` → Lock Screen
|
||||
- `$modifier + Shift + Y` → Wallpaper Manager
|
||||
- `$modifier + X` → Power Menu
|
||||
- `$modifier + C` → Control Center
|
||||
- `$modifier + Ctrl + R` → Screen Recorder
|
||||
|
||||
### Rofi Launcher (Waybar Mode)
|
||||
|
||||
_Available when `barChoice = "waybar"` in `variables.nix`_
|
||||
|
||||
- `$modifier + D` → Launch Rofi Launcher
|
||||
- `$modifier + Shift + Return` → Launch Rofi Launcher
|
||||
|
||||
### Other Features
|
||||
|
||||
- `$modifier + Shift + Return` (Waybar) → Application Launcher
|
||||
- `$modifier + V` (Waybar) → Clipboard History via `cliphist`
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
## Installation:
|
||||
|
||||
> **⚠️ IMPORTANT:** These installation methods are for **NEW INSTALLATIONS
|
||||
> ONLY**. If you already have ZaneyOS installed and want to upgrade to v2.4, see
|
||||
> the [Upgrade Instructions](#upgrading-from-zaneyos-23-to-24) below. Note:
|
||||
> There is an issue with upgrade script. It's been removed until it's fixed.
|
||||
|
||||
<details>
|
||||
<summary><strong> ⬇️ Install with script (NEW INSTALLATIONS ONLY)</strong></summary>
|
||||
|
||||
### 📜 Script:
|
||||
|
||||
This is the easiest and recommended way of starting out for **new
|
||||
installations**. The script is not meant to allow you to change every option
|
||||
that you can in the flake or help you install extra packages. It is simply here
|
||||
so you can get my configuration installed with as little chances of breakages
|
||||
and then fiddle to your hearts content!
|
||||
|
||||
> **⚠️ WARNING:** This script will completely replace any existing ~/zaneyos
|
||||
> directory. Do NOT use this if you already have ZaneyOS installed and
|
||||
> configured.
|
||||
|
||||
Simply copy this and run it:
|
||||
|
||||

|
||||
|
||||
```
|
||||
nix-shell -p git curl
|
||||
nix-shell -p git curl pciutils
|
||||
```
|
||||
|
||||
Then:
|
||||
|
||||

|
||||
|
||||
```
|
||||
sh <(curl -L https://gitlab.com/Zaney/zaneyos/-/raw/stable-2.2/install-zaneyos.sh)
|
||||
sh <(curl -L https://gitlab.com/Zaney/zaneyos/-/raw/main/install-zaneyos.sh)
|
||||
```
|
||||
|
||||
#### 🦽 Manual:
|
||||
#### The install process will look something like this:
|
||||
|
||||
Run this command to ensure Git & Vim are installed:
|
||||

|
||||
|
||||

|
||||
|
||||
#### After the install completes your environment will probably look broken. Just reboot and you will see this as your login:
|
||||
|
||||

|
||||
|
||||
#### Then after login you should see a screen like this:
|
||||
|
||||

|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><strong> 🦽 Manual install process: </strong></summary>
|
||||
|
||||
1. Run this command to ensure Git & Vim are installed:
|
||||
|
||||
```
|
||||
nix-shell -p git vim
|
||||
```
|
||||
|
||||
Clone this repo & enter it:
|
||||
2. Clone this repo & enter it:
|
||||
|
||||
```
|
||||
git clone -b stable-2.2 --single-branch https://gitlab.com/zaney/zaneyos.git
|
||||
cd && git clone https://gitlab.com/zaney/zaneyos.git -b main --depth=1 ~/zaneyos
|
||||
cd zaneyos
|
||||
|
||||
You can still run the `install.sh` script if you want to.
|
||||
```
|
||||
|
||||
- *You should stay in this folder for the rest of the install*
|
||||
- _You should stay in this folder for the rest of the install_
|
||||
|
||||
Create the host folder for your machine(s)
|
||||
3. Create the host folder for your machine(s) like so:
|
||||
|
||||
```
|
||||
cp -r hosts/default hosts/<your-desired-hostname>
|
||||
git add .
|
||||
```
|
||||
|
||||
**🪧🪧🪧 Edit `hosts/<your-desired-hostname>/config.nix` and `hosts/<your-desired-hostname>/variables.nix` 🪧🪧🪧**
|
||||
|
||||
Generate your hardware.nix like so:
|
||||
4. Edit `hosts/<your-desired-hostname>/variables.nix`
|
||||
```nixos-generate-config --show-hardware-config > hosts/<your-desired-hostname>/hardware.nix```
|
||||
|
||||
```
|
||||
nixos-generate-config --show-hardware-config > hosts/<your-desired-hostname>/hardware.nix
|
||||
```
|
||||
|
||||
Run this to enable flakes and install the flake replacing hostname with whatever you put as the hostname:
|
||||
7. Run this to enable flakes and install the flake replacing hostname with
|
||||
profile. I.e. `intel`, `nvidia`, `nvidia-laptop`, `amd-hybrid`, or `vm`
|
||||
|
||||
```
|
||||
NIX_CONFIG="experimental-features = nix-command flakes"
|
||||
sudo nixos-rebuild switch --flake .#hostname
|
||||
|
||||
NIX_CONFIG="experimental-features = nix-command flakes"
|
||||
sudo nixos-rebuild switch --flake .#profile
|
||||
|
||||
```
|
||||
|
||||
Now when you want to rebuild the configuration you have access to an alias called flake-rebuild that will rebuild the flake!
|
||||
Now when you want to rebuild the configuration you have access to an alias
|
||||
called `fr` that will rebuild the flake and you do not have to be in the
|
||||
`zaneyos` folder for it to work.
|
||||
|
||||
Hope you enjoy!
|
||||
### Special Recognitions:
|
||||
|
||||
Thank you for all your assistance
|
||||
|
||||
- KoolDots https://github.com/LinuxBeginnings
|
||||
- JakKoolit https://github.com/Jakoolit
|
||||
- Justaguylinux https://codeberg.org/Justaguylinux
|
||||
- Jerry Starke https://github.com/JerrySM64
|
||||
|
||||
## Hope you enjoy!
|
||||
```
|
||||
|
|
|
|||
83
WARP.md
Normal file
83
WARP.md
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
# WARP.md
|
||||
|
||||
This file provides guidance to WARP (warp.dev) when working with code in this repository.
|
||||
|
||||
Project: ZaneyOS — NixOS flake for desktop systems with per-host overrides, GPU/VM profiles, and an integrated Home Manager layer.
|
||||
|
||||
Important repo expectations
|
||||
|- This repo is expected at: ~/zaneyos (programs.nh.flake points here). If you keep it elsewhere, update modules/core/nh.nix accordingly.
|
||||
|- Target OS: NixOS 23.11+; UEFI + GPT expected; systemd-boot is supported out of the box (see README for details).
|
||||
|
||||
Common commands
|
||||
|- Rebuild and switch (preferred via nh/zcli)
|
||||
- fr # zsh alias → nh os switch --hostname <profile>
|
||||
- fu # zsh alias → nh os switch --hostname <profile> --update
|
||||
- zcli rebuild [--dry|--ask|--cores N|--verbose|--no-nom]
|
||||
- zcli update [--dry|--ask|--cores N|--verbose|--no-nom]
|
||||
|- Rebuild for next boot (safer for bigger changes)
|
||||
- zcli rebuild-boot [same options]
|
||||
- sudo nixos-rebuild boot --flake .#<profile>
|
||||
|- Direct NixOS (without nh/zcli)
|
||||
- sudo nixos-rebuild switch --flake .#<profile>
|
||||
|- Validate the flake
|
||||
- nix flake check
|
||||
|- Format Nix files (nixfmt-rfc-style is included)
|
||||
- find . -name "*.nix" -print0 | xargs -0 nixfmt
|
||||
|- Configuration comparison (compare against upstream)
|
||||
- ./modules/src/compare-zaneyos-config.sh # compares against official repo
|
||||
- ./modules/src/compare-zaneyos-config.sh --branch stable-2.4 # specific branch
|
||||
|- Host management (zcli)
|
||||
- zcli update-host [hostname] [profile] # auto-detect if args omitted
|
||||
- zcli add-host <hostname> [profile] # copies hosts/default, can gen hardware.nix
|
||||
- zcli del-host <hostname>
|
||||
|- Diagnostics and maintenance
|
||||
- zcli diag # writes ~/diag.txt
|
||||
- zcli cleanup # prunes generations (interactive)
|
||||
- zcli trim # runs fstrim with confirmation
|
||||
|- 2.3 → 2.4 upgrade (existing installs)
|
||||
- ./upgrade-2.3-to-2.4.sh # automated analysis, backup, and upgrade
|
||||
- ./upgrade-2.3-to-2.4.sh --revert
|
||||
|
||||
Notes on profiles and hosts
|
||||
|- Profiles represent hardware targets: amd, intel, nvidia, nvidia-laptop (intel+NVIDIA hybrid), amd-hybrid (AMD+NVIDIA hybrid), vm.
|
||||
|- Use the profile in flake targets like .#vm or .#nvidia, or via nh's --hostname.
|
||||
|- Host-specific settings live under hosts/<hostname>/; variables.nix holds UX and feature toggles: barChoice (noctalia or waybar), waybarChoice (when barChoice="waybar"), clock24h, etc.
|
||||
|
||||
High-level architecture (big picture)
|
||||
|- flake.nix
|
||||
- Inputs: nixpkgs 25.11, home-manager 25.11, stylix, nvf, nix-flatpak, noctalia; nixvim and quickshell are included but currently inactive (uncommitted to outputs).
|
||||
- Defines system, host, profile, username; constructs nixosConfigurations via mkNixosConfig.
|
||||
- Each configuration imports profiles/<profile>.
|
||||
- profiles/<profile>/default.nix
|
||||
- Imports host and stacks: ../../hosts/${host}, ../../modules/drivers, ../../modules/core.
|
||||
- Toggles drivers and VM guest services per profile; the nvidia-laptop and amd-hybrid profiles consume Bus IDs from host variables.
|
||||
- hosts/<hostname>/
|
||||
- default.nix imports hardware.nix and host-packages.nix.
|
||||
- variables.nix is the primary control surface (display manager, terminal/browser defaults, waybarChoice, stylix image, 24h clock, Thunar/printing/NFS flags, intel/nvidia Bus IDs, etc.).
|
||||
|- modules/core
|
||||
- Composes NixOS modules: boot, flatpak, fonts, hardware, network, nfs, nh, quickshell, packages, printing, display manager (greetd/sddm), security, services (PipeWire/SSH/Bluetooth/fstrim; smartd conditional), steam, stylix, syncthing, system (nix settings, locales, env), thunar, user (Home Manager), virtualization, xserver.
|
||||
- quickshell.nix installs quickshell with Qt6 dependencies and required environment variables (needed for noctalia-shell).
|
||||
- nh.nix enables nh and pins programs.nh.flake to ~/zaneyos.
|
||||
- user.nix integrates Home Manager and creates users.${username}, passing { inputs, username, host, profile } to the home layer.
|
||||
- modules/drivers
|
||||
- AMD, Intel, NVIDIA, NVIDIA Prime, NVIDIA AMD-Hybrid, and VM guest services; nvidia-prime options (enable, intelBusID, nvidiaBusID) are consumed by the nvidia-laptop profile; nvidia-amd-hybrid options (enable, amdgpuBusID, nvidiaBusID) are consumed by the amd-hybrid profile.
|
||||
|- modules/home
|
||||
- Composes the user environment: Hyprland, bar/shell choice (noctalia-shell or Waybar via barChoice), Rofi, Yazi, terminals (Kitty/WezTerm/Ghostty/Alacritty toggles), Zsh/Bash config, Git, NVF/Neovim, OBS, swaync, scripts, Stylix, optional Doom Emacs/VSCodium/Helix.
|
||||
- default.nix conditionally imports barModule: either noctalia.nix (when barChoice="noctalia") or waybarChoice (when barChoice="waybar").
|
||||
- noctalia.nix installs noctalia-shell and seeds ~/.config/quickshell/noctalia-shell from the package distribution.
|
||||
- scripts/default.nix installs zcli; zcli wraps rebuild/update/boot, cleanup, diagnostics, host management, and Doom lifecycle.
|
||||
- Shell aliases (zsh)
|
||||
- fr and fu are defined in modules/home/zsh/default.nix, parameterized by the active profile.
|
||||
|
||||
Key development choices
|
||||
- Repo location matters: nh and zcli assume ~/zaneyos; move it and adjust modules/core/nh.nix.
|
||||
- Validation is via nix flake check; there is no separate unit test suite.
|
||||
- Formatting is via nixfmt-rfc-style (provided in system packages).
|
||||
|
||||
Useful docs in-repo
|
||||
- README.md: requirements, install and upgrade overview (including the 2.3→2.4 process).
|
||||
- zcli.md: full CLI docs, commands, options, and examples.
|
||||
- cheatsheets/project-guide.md: quick commands, architecture summary, and common workflows.
|
||||
- cheatsheets/: Hyprland and terminal/editor quick references.
|
||||
|
||||
|
||||
66
cheatsheets/README.es.md
Normal file
66
cheatsheets/README.es.md
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
[English](./README.md) | Español
|
||||
|
||||
# Índice de Cheatsheets (ZaneyOS)
|
||||
Estos documentos cubren tanto el uso general como la configuración específica definida en la configuración de NixOS "ZaneyOS".
|
||||
|
||||
- Uso general: Consejos prácticos centrados en tareas y los principales flujos de trabajo.
|
||||
- Específicos de ZaneyOS: Notas que reflejan cómo se configuran las herramientas en este repositorio (modules/home/*) para que el comportamiento coincida con su sistema.
|
||||
|
||||
## 🔗 Enlaces Rápidos
|
||||
- Emacs
|
||||
- [Los 10 mejores consejos para empezar](emacs/emacs.getting-started.top10.md)
|
||||
- [Explorador de archivos](emacs/emacs.file-explorer.cheatsheet.md)
|
||||
- [Autocompletado de código](emacs/emacs.code-completion.cheatsheet.md)
|
||||
- [Magit (Git)](emacs/emacs.magit.cheatsheet.md)
|
||||
- [Markdown](emacs/emacs.markdown.cheatsheet.md)
|
||||
- Ghostty
|
||||
- [Cheatsheet de Ghostty](ghostty/ghostty.cheatsheet.md)
|
||||
- Tmux
|
||||
- [Cheatsheet de Tmux](tmux/tmux.cheatsheet.md)
|
||||
- Alacritty
|
||||
- [Cheatsheet de Alacritty](alacritty/alacritty.cheatsheet.md)
|
||||
- Kitty
|
||||
- [Cheatsheet de Kitty](kitty/kitty.cheatsheet.md)
|
||||
- WezTerm
|
||||
- [Cheatsheet de WezTerm](wezterm/wezterm.cheatsheet.md)
|
||||
- Hyprland
|
||||
- [Atajos de teclado](hyprland/hyprland.binds.cheatsheet.md)
|
||||
- [Reglas de ventana](hyprland/hyprland.windowrules.cheatsheet.md)
|
||||
- Yazi
|
||||
- [Mapa de teclas](yazi/yazi.keymap.cheatsheet.md)
|
||||
|
||||
## 📚 Cómo usar
|
||||
- Navegue por el área que le interese (por ejemplo, Emacs, Ghostty).
|
||||
- Comience con los documentos de "primeros pasos" o "consejos principales" para obtener resultados rápidos.
|
||||
- Consulte las cheatsheets específicas de cada herramienta para los comandos diarios y luego verifique cualquier configuración específica de ZaneyOS.
|
||||
|
||||
## 📂 Árbol de Directorios
|
||||
|
||||
```
|
||||
cheatsheets/
|
||||
├── emacs/
|
||||
│ ├── emacs.code-completion.cheatsheet.md
|
||||
│ ├── emacs.file-explorer.cheatsheet.md
|
||||
│ ├── emacs.getting-started.top10.md
|
||||
│ ├── emacs.magit.cheatsheet.md
|
||||
│ └── emacs.markdown.cheatsheet.md
|
||||
├── ghostty/
|
||||
│ └── ghostty.cheatsheet.md
|
||||
├── tmux/
|
||||
│ └── tmux.cheatsheet.md
|
||||
├── alacritty/
|
||||
│ └── alacritty.cheatsheet.md
|
||||
├── kitty/
|
||||
│ └── kitty.cheatsheet.md
|
||||
├── wezterm/
|
||||
│ └── wezterm.cheatsheet.md
|
||||
├── hyprland/
|
||||
│ ├── hyprland.binds.cheatsheet.md
|
||||
│ └── hyprland.windowrules.cheatsheet.md
|
||||
└── yazi/
|
||||
└── yazi.keymap.cheatsheet.md
|
||||
```
|
||||
|
||||
## 🛠️ Notas
|
||||
- El cheatsheet de Ghostty refleja los atajos de teclado de modules/home/terminals/ghostty.nix (ZaneyOS).
|
||||
- Los documentos de Emacs siguen el mismo estilo de markdown para mayor consistencia y una lectura rápida.
|
||||
66
cheatsheets/README.md
Normal file
66
cheatsheets/README.md
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
English | [Español](./README.es.md)
|
||||
|
||||
# Cheatsheets Index (ZaneyOS)
|
||||
These documents cover both general usage and the specific configuration as defined in the NixOS configuration "ZaneyOS".
|
||||
|
||||
- General use: Practical, task-focused tips and top workflows.
|
||||
- ZaneyOS specifics: Notes reflecting how tools are configured in this repository (modules/home/*) so behavior matches your system.
|
||||
|
||||
## 🔗 Quick Links
|
||||
- Emacs
|
||||
- [Getting Started Top 10](emacs/emacs.getting-started.top10.md)
|
||||
- [File Explorer](emacs/emacs.file-explorer.cheatsheet.md)
|
||||
- [Code Completion](emacs/emacs.code-completion.cheatsheet.md)
|
||||
- [Magit (Git)](emacs/emacs.magit.cheatsheet.md)
|
||||
- [Markdown](emacs/emacs.markdown.cheatsheet.md)
|
||||
- Ghostty
|
||||
- [Ghostty Cheatsheet](ghostty/ghostty.cheatsheet.md)
|
||||
- Tmux
|
||||
- [Tmux Cheatsheet](tmux/tmux.cheatsheet.md)
|
||||
- Alacritty
|
||||
- [Alacritty Cheatsheet](alacritty/alacritty.cheatsheet.md)
|
||||
- Kitty
|
||||
- [Kitty Cheatsheet](kitty/kitty.cheatsheet.md)
|
||||
- WezTerm
|
||||
- [WezTerm Cheatsheet](wezterm/wezterm.cheatsheet.md)
|
||||
- Hyprland
|
||||
- [Keybindings](hyprland/hyprland.binds.cheatsheet.md)
|
||||
- [Window Rules](hyprland/hyprland.windowrules.cheatsheet.md)
|
||||
- Yazi
|
||||
- [Keymap](yazi/yazi.keymap.cheatsheet.md)
|
||||
|
||||
## 📚 How to use
|
||||
- Browse the area you care about (e.g., Emacs, Ghostty).
|
||||
- Start with the “getting started” or “top tips” docs for quick wins.
|
||||
- Refer to tool-specific cheatsheets for day-to-day commands, then cross-check any ZaneyOS-specific settings.
|
||||
|
||||
## 📂 Directory Tree
|
||||
|
||||
```
|
||||
cheatsheets/
|
||||
├── emacs/
|
||||
│ ├── emacs.code-completion.cheatsheet.md
|
||||
│ ├── emacs.file-explorer.cheatsheet.md
|
||||
│ ├── emacs.getting-started.top10.md
|
||||
│ ├── emacs.magit.cheatsheet.md
|
||||
│ └── emacs.markdown.cheatsheet.md
|
||||
├── ghostty/
|
||||
│ └── ghostty.cheatsheet.md
|
||||
├── tmux/
|
||||
│ └── tmux.cheatsheet.md
|
||||
├── alacritty/
|
||||
│ └── alacritty.cheatsheet.md
|
||||
├── kitty/
|
||||
│ └── kitty.cheatsheet.md
|
||||
├── wezterm/
|
||||
│ └── wezterm.cheatsheet.md
|
||||
├── hyprland/
|
||||
│ ├── hyprland.binds.cheatsheet.md
|
||||
│ └── hyprland.windowrules.cheatsheet.md
|
||||
└── yazi/
|
||||
└── yazi.keymap.cheatsheet.md
|
||||
```
|
||||
|
||||
## 🛠️ Notes
|
||||
- Ghostty cheatsheet reflects bindings from modules/home/terminals/ghostty.nix (ZaneyOS).
|
||||
- Emacs docs follow the same markdown style for consistency and quick scanning.
|
||||
58
cheatsheets/add-gnome.md
Normal file
58
cheatsheets/add-gnome.md
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
# Add GNOME Desktop (overview)
|
||||
|
||||
This guide gives **basic steps** and **which files to edit** to add GNOME to ZaneyOS.
|
||||
|
||||
In NixOS, you enable it through NixOS options in a module (a `.nix` file), then pick a display manager (login screen).
|
||||
This repo already has **SDDM** (graphical) and **LY** (text) login support. You can keep using either — both can start GNOME sessions.
|
||||
|
||||
## Files to edit (minimal list)
|
||||
|
||||
1. `modules/core/default.nix`
|
||||
- Import your new GNOME module so it becomes part of the system config.
|
||||
|
||||
2. `modules/core/xserver.nix`
|
||||
- GNOME needs `services.xserver.enable = true;` (this file currently disables X11).
|
||||
|
||||
3. `modules/core/gnome.nix` (new file you create)
|
||||
- Turn on GNOME’s desktop manager.
|
||||
|
||||
4. `hosts/<hostname>/variables.nix`
|
||||
- Make sure your `displayManager` is set to either `"sddm"` or `"tui"` (for LY), since those are already supported here.
|
||||
|
||||
## Suggested minimal GNOME module (example)
|
||||
|
||||
```nix path=null start=null
|
||||
{ ... }:
|
||||
{
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
desktopManager.gnome.enable = true;
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
## Where to import the GNOME module
|
||||
|
||||
In `modules/core/default.nix`, add your GNOME file to the imports list:
|
||||
|
||||
```nix path=null start=null
|
||||
imports = [
|
||||
# ...
|
||||
./gnome.nix
|
||||
# ...
|
||||
];
|
||||
```
|
||||
|
||||
## Flatpak: GNOME Extensions Manager
|
||||
|
||||
To add the Flatpak app **Extension Manager** (for GNOME extensions), edit `modules/core/flatpak.nix` and add its ID:
|
||||
|
||||
```nix path=null start=null
|
||||
services.flatpak.packages = [
|
||||
"com.mattjakeman.ExtensionManager"
|
||||
];
|
||||
```
|
||||
|
||||
## `git add .` and rebuild
|
||||
|
||||
Once you have the file created. In the ZaneyOS directory run `git add . ` then `zcli rebuild`
|
||||
23
cheatsheets/alacritty/alacritty.cheatsheet.es.md
Normal file
23
cheatsheets/alacritty/alacritty.cheatsheet.es.md
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
[English](./alacritty.cheatsheet.md) | Español
|
||||
|
||||
# Alacritty en ZaneyOS — Resumen y Cheatsheet
|
||||
## 🚀 Resumen de modules/home/terminals/alacritty.nix
|
||||
|
||||
- Programa
|
||||
- Alacritty habilitado.
|
||||
- Familia de fuentes (predeterminada): Maple NF; tamaño: 15.
|
||||
- Estilos configurados: Regular, Negrita, Cursiva, Negrita Cursiva.
|
||||
|
||||
---
|
||||
|
||||
## ⚙️ Opciones Predeterminadas (según configuración)
|
||||
|
||||
Fuente
|
||||
- normal: Maple NF Regular
|
||||
- bold: Maple NF Negrita
|
||||
- italic: Maple NF Cursiva
|
||||
- bold_italic: Maple NF Negrita Cursiva
|
||||
- size: 15
|
||||
|
||||
Notas
|
||||
- Usa lib.mkDefault para la familia de fuentes, por lo que otros módulos pueden anularla.
|
||||
24
cheatsheets/alacritty/alacritty.cheatsheet.md
Normal file
24
cheatsheets/alacritty/alacritty.cheatsheet.md
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
English | [Español](./alacritty.cheatsheet.es.md)
|
||||
|
||||
# Alacritty on ZaneyOS — Summary & Cheatsheet
|
||||
## 🚀 Summary of modules/home/terminals/alacritty.nix
|
||||
|
||||
- Program
|
||||
- Alacritty enabled.
|
||||
- Font family (default): Maple NF; size: 15.
|
||||
- Styles configured: Regular, Bold, Italic, Bold Italic.
|
||||
|
||||
---
|
||||
|
||||
## ⚙️ Default Options (as configured)
|
||||
|
||||
Font
|
||||
- normal: Maple NF Regular
|
||||
- bold: Maple NF Bold
|
||||
- italic: Maple NF Italic
|
||||
- bold_italic: Maple NF Bold Italic
|
||||
- size: 15
|
||||
|
||||
Notes
|
||||
- Uses lib.mkDefault for font family, so other modules can override.
|
||||
|
||||
129
cheatsheets/emacs/emacs.code-completion.cheatsheet.es.md
Normal file
129
cheatsheets/emacs/emacs.code-completion.cheatsheet.es.md
Normal file
|
|
@ -0,0 +1,129 @@
|
|||
[English](./emacs.code-completion.cheatsheet.md) | Español
|
||||
|
||||
# Cheatsheet de Autocompletado y Búsqueda de Código en Doom Emacs
|
||||
## 🚀 **Lo que Tienes (Como nvim-cmp + blink.cmp)**
|
||||
|
||||
Si tu configuración de Doom incluye:
|
||||
- **Company Mode** - Framework de autocompletado
|
||||
- **LSP Mode** - Soporte para el Protocolo de Servidor de Lenguaje
|
||||
- **Tree-sitter** - Análisis de sintaxis avanzado
|
||||
- **Herramientas de búsqueda** - Búsqueda de documentación y definiciones
|
||||
|
||||
## ⌨️ **Autocompletado de Código (Company)**
|
||||
|
||||
### **Controles de Autocompletado:**
|
||||
- `TAB` o `C-SPC` - **Aceptar autocompletado**
|
||||
- `C-n` / `j` - **Siguiente autocompletado** (modo evil)
|
||||
- `C-p` / `k` - **Anterior autocompletado** (modo evil)
|
||||
- `C-w` - **Mostrar documentación** para el autocompletado
|
||||
- `C-s` - **Buscar/filtrar autocompletados**
|
||||
- `ESC` o `C-g` - **Cancelar autocompletado**
|
||||
|
||||
### **Autocompletado Manual:**
|
||||
- `M-/` - **Completar en el punto** (disparador manual)
|
||||
- `C-M-/` - **Expandir abreviatura**
|
||||
|
||||
## 🔍 **Búsqueda y Navegación de Código**
|
||||
|
||||
### **Ir a Definición/Referencias:**
|
||||
- `gd` - **Ir a la definición** (modo evil)
|
||||
- `gD` - **Ir a la declaración**
|
||||
- `gr` - **Ir a las referencias**
|
||||
- `SPC c d` - **Buscar definición**
|
||||
- `SPC c D` - **Buscar referencias**
|
||||
- `SPC c i` - **Buscar implementaciones**
|
||||
|
||||
### **Búsqueda de Documentación:**
|
||||
- `K` - **Buscar documentación** (modo evil)
|
||||
- `SPC c k` - **Buscar documentación**
|
||||
- `SPC c K` - **Buscar en conjuntos de documentos**
|
||||
- `C-h f` - **Describir función**
|
||||
- `C-h v` - **Describir variable**
|
||||
|
||||
### **Navegación de Símbolos:**
|
||||
- `SPC c j` - **Saltar a símbolo en el búfer**
|
||||
- `SPC c J` - **Saltar a símbolo en el proyecto**
|
||||
- `SPC s i` - **Buscar símbolo**
|
||||
|
||||
## 🛠️ **Características de LSP (Servidor de Lenguaje)**
|
||||
|
||||
### **Acciones de LSP:**
|
||||
- `SPC c a` - **Acciones de código** (refactorizar, arreglar, etc.)
|
||||
- `SPC c r` - **Renombrar símbolo**
|
||||
- `SPC c f` - **Formatear búfer/región**
|
||||
- `SPC c o` - **Organizar importaciones**
|
||||
|
||||
### **Navegación de Errores:**
|
||||
- `]e` - **Siguiente error**
|
||||
- `[e` - **Error anterior**
|
||||
- `SPC c x` - **Listar errores**
|
||||
|
||||
### **Información de LSP:**
|
||||
- `SPC c l` - **Menú de LSP**
|
||||
- `SPC c h` - **Mostrar información al pasar el ratón**
|
||||
- `SPC c s` - **Mostrar firma**
|
||||
|
||||
## 🎯 **Características Específicas del Lenguaje**
|
||||
|
||||
### **C/C++ (clang-tools)**
|
||||
- Autocompletado completo para funciones, variables, tipos
|
||||
- Ir a la definición a través de archivos
|
||||
- Comprobación de errores y diagnósticos
|
||||
- Formateo de código con clang-format
|
||||
|
||||
### **Nix (nil LSP)**
|
||||
- Autocompletado del lenguaje Nix
|
||||
- Documentación de funciones
|
||||
- Comprobación de sintaxis
|
||||
- Ir a la definición para expresiones de Nix
|
||||
|
||||
### **JSON (vscode-json-languageserver)**
|
||||
- Autocompletado basado en esquemas
|
||||
- Validación y comprobación de errores
|
||||
- Ir a la definición en archivos JSON
|
||||
|
||||
## ⚡ **Consejos Profesionales**
|
||||
|
||||
### **Búsqueda Difusa en Todo:**
|
||||
- `SPC f f` - **Buscar archivos**
|
||||
- `SPC /` - **Buscar en el proyecto**
|
||||
- `SPC s s` - **Buscar en el búfer**
|
||||
- `SPC p p` - **Cambiar de proyecto**
|
||||
|
||||
### **Mejor Navegación:**
|
||||
- `C-o` - **Retroceder** (después de saltar a la definición)
|
||||
- `C-i` - **Avanzar**
|
||||
- `SPC j j` - **Saltar a un carácter** (como easymotion)
|
||||
|
||||
### **Ajustes de Autocompletado:**
|
||||
- Los autocompletados aparecen después de 0.2 segundos de escribir
|
||||
- Mínimo 1 carácter para activarse
|
||||
- Muestra la documentación en una ventana emergente
|
||||
- Funciona tanto con Company como con LSP
|
||||
|
||||
## 🔧 **Solución de Problemas**
|
||||
|
||||
### **Si el autocompletado no funciona:**
|
||||
1. Comprueba si el servidor LSP se está ejecutando: `SPC c l`
|
||||
2. Reinicia LSP: `SPC c l r`
|
||||
3. Comprueba si hay errores de sintaxis: `SPC c x`
|
||||
|
||||
### **Rendimiento:**
|
||||
- Los servidores LSP se inician automáticamente cuando abres archivos compatibles
|
||||
- El autocompletado está optimizado para una respuesta rápida
|
||||
- Usa `SPC h r r` para recargar la configuración de Doom después de los cambios
|
||||
|
||||
## 🚀 **Flujo de Trabajo de Inicio Rápido**
|
||||
|
||||
1. **Abre un archivo de código** (`.c`, `.nix`, `.json`)
|
||||
2. **Empieza a escribir** - los autocompletados aparecen automáticamente
|
||||
3. **Navega con `j/k`** y **acepta con `TAB`**
|
||||
4. **Usa `gd`** para saltar a las definiciones
|
||||
5. **Usa `K`** para ver la documentación
|
||||
6. **Usa `SPC c a`** para acciones de código
|
||||
|
||||
## 📚 **Servidores de Lenguaje Incluidos**
|
||||
- **C/C++**: `clang-tools` (clangd)
|
||||
- **Nix**: `nil`
|
||||
- **JSON**: `vscode-json-languageserver`
|
||||
- ¡Se pueden añadir más por lenguaje según sea necesario!
|
||||
129
cheatsheets/emacs/emacs.code-completion.cheatsheet.md
Normal file
129
cheatsheets/emacs/emacs.code-completion.cheatsheet.md
Normal file
|
|
@ -0,0 +1,129 @@
|
|||
English | [Español](./emacs.code-completion.cheatsheet.es.md)
|
||||
|
||||
# Doom Emacs Code Completion & Lookup Cheatsheet
|
||||
## 🚀 **What You Have (Like nvim-cmp + blink.cmp)**
|
||||
|
||||
If your Doom config includes:
|
||||
- **Company Mode** - Auto-completion framework
|
||||
- **LSP Mode** - Language Server Protocol support
|
||||
- **Tree-sitter** - Advanced syntax parsing
|
||||
- **Lookup tools** - Documentation and definition lookup
|
||||
|
||||
## ⌨️ **Code Completion (Company)**
|
||||
|
||||
### **Auto-completion Controls:**
|
||||
- `TAB` or `C-SPC` - **Accept completion**
|
||||
- `C-n` / `j` - **Next completion** (evil mode)
|
||||
- `C-p` / `k` - **Previous completion** (evil mode)
|
||||
- `C-w` - **Show documentation** for completion
|
||||
- `C-s` - **Search/filter completions**
|
||||
- `ESC` or `C-g` - **Cancel completion**
|
||||
|
||||
### **Manual Completion:**
|
||||
- `M-/` - **Complete at point** (manual trigger)
|
||||
- `C-M-/` - **Expand abbreviation**
|
||||
|
||||
## 🔍 **Code Lookup & Navigation**
|
||||
|
||||
### **Go to Definition/References:**
|
||||
- `gd` - **Go to definition** (evil mode)
|
||||
- `gD` - **Go to declaration**
|
||||
- `gr` - **Go to references**
|
||||
- `SPC c d` - **Find definition**
|
||||
- `SPC c D` - **Find references**
|
||||
- `SPC c i` - **Find implementations**
|
||||
|
||||
### **Documentation Lookup:**
|
||||
- `K` - **Lookup documentation** (evil mode)
|
||||
- `SPC c k` - **Lookup documentation**
|
||||
- `SPC c K` - **Lookup in docsets**
|
||||
- `C-h f` - **Describe function**
|
||||
- `C-h v` - **Describe variable**
|
||||
|
||||
### **Symbol Navigation:**
|
||||
- `SPC c j` - **Jump to symbol in buffer**
|
||||
- `SPC c J` - **Jump to symbol in project**
|
||||
- `SPC s i` - **Search for symbol**
|
||||
|
||||
## 🛠️ **LSP Features (Language Server)**
|
||||
|
||||
### **LSP Actions:**
|
||||
- `SPC c a` - **Code actions** (refactor, fix, etc.)
|
||||
- `SPC c r` - **Rename symbol**
|
||||
- `SPC c f` - **Format buffer/region**
|
||||
- `SPC c o` - **Organize imports**
|
||||
|
||||
### **Error Navigation:**
|
||||
- `]e` - **Next error**
|
||||
- `[e` - **Previous error**
|
||||
- `SPC c x` - **List errors**
|
||||
|
||||
### **LSP Info:**
|
||||
- `SPC c l` - **LSP menu**
|
||||
- `SPC c h` - **Show hover info**
|
||||
- `SPC c s` - **Show signature**
|
||||
|
||||
## 🎯 **Language-Specific Features**
|
||||
|
||||
### **C/C++ (clang-tools)**
|
||||
- Full completion for functions, variables, types
|
||||
- Go to definition across files
|
||||
- Error checking and diagnostics
|
||||
- Code formatting with clang-format
|
||||
|
||||
### **Nix (nil LSP)**
|
||||
- Nix language completion
|
||||
- Function documentation
|
||||
- Syntax checking
|
||||
- Go to definition for Nix expressions
|
||||
|
||||
### **JSON (vscode-json-languageserver)**
|
||||
- Schema-based completion
|
||||
- Validation and error checking
|
||||
- Go to definition in JSON files
|
||||
|
||||
## ⚡ **Pro Tips**
|
||||
|
||||
### **Fuzzy Search Everything:**
|
||||
- `SPC f f` - **Find files**
|
||||
- `SPC /` - **Search in project**
|
||||
- `SPC s s` - **Search buffer**
|
||||
- `SPC p p` - **Switch projects**
|
||||
|
||||
### **Better Navigation:**
|
||||
- `C-o` - **Go back** (after jumping to definition)
|
||||
- `C-i` - **Go forward**
|
||||
- `SPC j j` - **Jump to character** (like easymotion)
|
||||
|
||||
### **Completion Tweaks:**
|
||||
- Completions appear after 0.2 seconds of typing
|
||||
- Minimum 1 character to trigger
|
||||
- Shows documentation in popup
|
||||
- Works with both Company and LSP
|
||||
|
||||
## 🔧 **Troubleshooting**
|
||||
|
||||
### **If completion isn't working:**
|
||||
1. Check if LSP server is running: `SPC c l`
|
||||
2. Restart LSP: `SPC c l r`
|
||||
3. Check syntax errors: `SPC c x`
|
||||
|
||||
### **Performance:**
|
||||
- LSP servers auto-start when you open supported files
|
||||
- Completion is optimized for fast response
|
||||
- Use `SPC h r r` to reload Doom config after changes
|
||||
|
||||
## 🚀 **Quick Start Workflow**
|
||||
|
||||
1. **Open a code file** (`.c`, `.nix`, `.json`)
|
||||
2. **Start typing** - completions appear automatically
|
||||
3. **Navigate with `j/k`** and **accept with `TAB`**
|
||||
4. **Use `gd`** to jump to definitions
|
||||
5. **Use `K`** to see documentation
|
||||
6. **Use `SPC c a`** for code actions
|
||||
|
||||
## 📚 **Language Servers Included**
|
||||
- **C/C++**: `clang-tools` (clangd)
|
||||
- **Nix**: `nil`
|
||||
- **JSON**: `vscode-json-languageserver`
|
||||
- More can be added per language as needed!
|
||||
306
cheatsheets/emacs/emacs.file-explorer.cheatsheet.es.md
Normal file
306
cheatsheets/emacs/emacs.file-explorer.cheatsheet.es.md
Normal file
|
|
@ -0,0 +1,306 @@
|
|||
[English](./emacs.file-explorer.cheatsheet.md) | Español
|
||||
|
||||
# Cheatsheet del Explorador de Archivos de Doom Emacs
|
||||
## 🗂️ **¿Qué es Dired?**
|
||||
|
||||
Dired (Directory Editor) es el gestor de archivos incorporado de Emacs que te permite navegar, gestionar y manipular archivos y directorios de manera eficiente.
|
||||
- Navega por los directorios con el teclado
|
||||
- Marca, copia, mueve y elimina archivos
|
||||
- Ejecuta comandos en múltiples archivos a la vez
|
||||
- Se integra con otras herramientas y búferes de Emacs
|
||||
|
||||
## 📋 **Requisitos**
|
||||
- Doom Emacs (Dired está incorporado)
|
||||
- **Treemacs**: Debe estar habilitado en `~/.doom.d/init.el` (descomenta la línea `treemacs`)
|
||||
- Herramientas opcionales para una funcionalidad mejorada:
|
||||
- `rsync` - Sincronización y copia rápida de archivos
|
||||
- `fd` o `find` - Búsqueda de archivos mejorada
|
||||
- `rg` (ripgrep) o `ag` (the_silver_searcher) - Búsqueda rápida de texto
|
||||
- `exa` o `lsd` - Listados de directorios mejorados
|
||||
- `trash-cli` - Eliminación segura de archivos a la papelera
|
||||
- `zip`/`unzip`, `tar`, `gzip` - Manejo de archivos comprimidos
|
||||
|
||||
## ⌨️ **Abriendo Exploradores de Archivos**
|
||||
|
||||
### **Dired (Gestor de Archivos Incorporado):**
|
||||
- `SPC .` - **Abrir Dired** en el directorio actual
|
||||
- `SPC f d` - **Buscar directorio** (abrir Dired en una ruta específica)
|
||||
- `C-x d` - **Abrir Dired** (atajo clásico de Emacs)
|
||||
|
||||
### **Navegación de Archivos del Proyecto:**
|
||||
- `SPC SPC` - **Buscar archivo** en el proyecto
|
||||
- `SPC f f` - **Buscar archivo** en cualquier lugar
|
||||
- `SPC f r` - **Archivos recientes**
|
||||
- `SPC p f` - **Buscar archivo** en el proyecto
|
||||
|
||||
### **Exploradores en Estilo de Árbol:**
|
||||
- `SPC o p` - **Alternar barra lateral del proyecto** (Treemacs)
|
||||
- `SPC f t` - **Buscar archivo** en el árbol
|
||||
|
||||
## 🧭 **Navegación en Dired**
|
||||
|
||||
### **Movimiento Básico:**
|
||||
- `j/k` o `n/p` - **Moverse arriba/abajo** entre archivos
|
||||
- `h` - **Subir** un directorio (padre)
|
||||
- `l` o `RET` - **Entrar en el directorio** o abrir archivo
|
||||
- `^` - **Ir al directorio padre**
|
||||
- `g` - **Refrescar** el listado del directorio
|
||||
|
||||
### **Saltando:**
|
||||
- `gg` - **Ir al principio** del listado
|
||||
- `G` - **Ir al final** del listado
|
||||
- `/` - **Buscar** por nombre de archivo/directorio
|
||||
- `SPC s s` - **Buscar dentro** del directorio
|
||||
|
||||
### **Información del Archivo:**
|
||||
- `(` - **Alternar detalles** (mostrar/ocultar información del archivo)
|
||||
- `s` - **Ordenar** archivos (por nombre, fecha, tamaño)
|
||||
- `C-h m` - **Mostrar ayuda** para el modo actual
|
||||
|
||||
## 📁 **Operaciones con Archivos**
|
||||
|
||||
### **Abriendo Archivos:**
|
||||
- `RET` - **Abrir archivo** en la ventana actual
|
||||
- `o` - **Abrir archivo** en otra ventana
|
||||
- `C-o` - **Abrir archivo** en otra ventana (mantener el cursor en Dired)
|
||||
- `v` - **Ver archivo** (solo lectura)
|
||||
- `f` - **Buscar archivo** (igual que RET)
|
||||
|
||||
### **Creando Archivos y Directorios:**
|
||||
- `+` - **Crear directorio**
|
||||
- `SPC f c` - **Crear archivo** (cuando estás en el búfer de Dired)
|
||||
- `C-x C-f` - **Buscar/crear archivo** (desde Dired)
|
||||
|
||||
## 🏷️ **Marcando Archivos**
|
||||
|
||||
### **Marcado Básico:**
|
||||
- `m` - **Marcar archivo** para operaciones
|
||||
- `u` - **Desmarcar archivo**
|
||||
- `U` - **Desmarcar todos** los archivos
|
||||
- `t` - **Alternar marcas** (marcar los no marcados, desmarcar los marcados)
|
||||
- `* %` - **Marcar por patrón** de expresión regular
|
||||
|
||||
### **Marcado Rápido:**
|
||||
- `* .` - **Marcar por extensión** (ej., *.txt)
|
||||
- `* /` - **Marcar directorios**
|
||||
- `* @` - **Marcar enlaces simbólicos**
|
||||
- `* *` - **Marcar ejecutables**
|
||||
|
||||
### **Marcado Avanzado:**
|
||||
- `% m` - **Marcar archivos** que coincidan con una expresión regular
|
||||
- `% d` - **Marcar para eliminar** archivos que coincidan con una expresión regular
|
||||
- `* c` - **Cambiar marcas** (cambiar una marca por otra)
|
||||
|
||||
## ✂️ **Operaciones de Gestión de Archivos**
|
||||
|
||||
### **Copiar, Mover, Eliminar:**
|
||||
- `C` - **Copiar** archivos marcados (o el archivo bajo el cursor)
|
||||
- `R` - **Renombrar/Mover** archivos marcados
|
||||
- `D` - **Eliminar** archivos marcados inmediatamente
|
||||
- `d` - **Marcar para eliminar** (usa `x` para ejecutar)
|
||||
- `x` - **Ejecutar eliminaciones** (eliminar archivos marcados con `d`)
|
||||
|
||||
### **Opciones de Eliminación:**
|
||||
- `d` y luego `x` - **Eliminación segura** (marcar primero, luego ejecutar)
|
||||
- `D` - **Eliminación inmediata** (omite el paso de marcar)
|
||||
- **Integración con la papelera**: Si `trash-cli` está instalado, los archivos van a la papelera en lugar de ser eliminados permanentemente
|
||||
|
||||
### **Operaciones Avanzadas:**
|
||||
- `Z` - **Comprimir/descomprimir** archivos (usa `gzip`, `zip`, `tar` automáticamente)
|
||||
- `A` - **Buscar** en archivos marcados (usa `grep` o `rg` si está disponible)
|
||||
- `Q` - **Consultar y reemplazar** en archivos marcados
|
||||
- `!` - **Ejecutar comando de shell** en archivos marcados
|
||||
- `&` - **Ejecutar comando de shell asíncrono** en archivos marcados
|
||||
|
||||
## 📋 **Copiando y Moviendo**
|
||||
|
||||
### **Operaciones de Copia:**
|
||||
- `C` - **Copiar archivos** (solicita el destino)
|
||||
- Funciona con archivos marcados o un solo archivo bajo el cursor
|
||||
- Usa `rsync` si está disponible para una copia más rápida y reanudable
|
||||
- Admite la copia a diferentes unidades/particiones
|
||||
|
||||
### **Operaciones de Mover/Renombrar:**
|
||||
- `R` - **Renombrar/Mover** archivos
|
||||
- Puede renombrar archivos individuales o mover múltiples archivos marcados
|
||||
- Admite el movimiento entre directorios
|
||||
|
||||
### **Consejos para Copiar/Mover:**
|
||||
- Marca múltiples archivos primero, luego usa `C` o `R`
|
||||
- El autocompletado con Tab funciona para las rutas de destino
|
||||
- Usa rutas relativas (`.`, `..`) para una navegación rápida
|
||||
|
||||
## 🔍 **Búsqueda y Filtro**
|
||||
|
||||
### **Encontrando Archivos:**
|
||||
- `/` - **Buscar** nombres de archivo en el listado actual
|
||||
- `n/N` - **Siguiente/anterior** coincidencia de búsqueda
|
||||
|
||||
### **Búsqueda Mejorada (con herramientas externas):**
|
||||
- `A` - **Buscar dentro de los archivos** (usa `rg` > `ag` > `grep` en orden de prioridad)
|
||||
- Mucho más rápido con `ripgrep` o `the_silver_searcher`
|
||||
- Admite patrones de expresiones regulares y filtrado por tipo de archivo
|
||||
|
||||
### **Filtrando la Visualización:**
|
||||
- `(` - **Alternar** vista detallada
|
||||
- `s` - **Ordenar** por diferentes criterios
|
||||
- `C-u s` - **Ordenar** con opciones personalizadas
|
||||
|
||||
### **Búsqueda de Contenido:**
|
||||
- `A` - **Buscar dentro** de los archivos marcados
|
||||
- `Q` - **Consultar y reemplazar** en los archivos marcados
|
||||
|
||||
## 🔧 **Características Avanzadas**
|
||||
|
||||
### **Wdired (Dired Editable):**
|
||||
- `C-x C-q` - **Editar nombres de archivo** directamente (como renombrar)
|
||||
- Edita los nombres de archivo como texto, luego `C-c C-c` para aplicar los cambios
|
||||
- `C-c C-k` para cancelar las ediciones
|
||||
|
||||
### **Múltiples Ventanas:**
|
||||
- `o` - **Abrir en otra ventana**
|
||||
- `C-o` - **Mostrar en otra ventana** (permanecer en Dired)
|
||||
- `2` - **Dividir la ventana** verticalmente para dos vistas de Dired
|
||||
|
||||
### **Subdirectorios:**
|
||||
- `i` - **Insertar subdirectorio** en el mismo búfer
|
||||
- `$` - **Ocultar/mostrar** el contenido del subdirectorio
|
||||
- `M-$` - **Ocultar todos** los subdirectorios
|
||||
|
||||
## 📊 **Comparación de Archivos**
|
||||
|
||||
### **Operaciones de Diferencias:**
|
||||
- `=` - **Comparar archivo** con otro
|
||||
- `M-=` - **Comparar** archivos marcados entre sí
|
||||
- Funciona con herramientas de diferencias externas
|
||||
|
||||
## 🗜️ **Operaciones con Archivos Comprimidos**
|
||||
|
||||
### **Compresión y Archivos:**
|
||||
- `Z` - **Comprimir/descomprimir** detecta automáticamente el formato
|
||||
- Admite: `.gz`, `.zip`, `.tar`, `.tar.gz`, `.tar.xz`, `.7z`
|
||||
- Usa las herramientas apropiadas: `gzip`, `zip`, `tar`, `7z`
|
||||
|
||||
### **Visualización de Archivos Comprimidos:**
|
||||
- Abre archivos `.zip`, `.tar`, etc. directamente para navegar por su contenido
|
||||
- Extrae archivos específicos de los archivos comprimidos
|
||||
|
||||
## 🎛️ **Personalización y Ajustes**
|
||||
|
||||
### **Opciones de Vista:**
|
||||
- `(` - **Alternar** entre vista simple y detallada
|
||||
- `s` - **Ciclar** entre los órdenes de clasificación (nombre, fecha, tamaño)
|
||||
- Listados mejorados con `exa` o `lsd` si están disponibles
|
||||
|
||||
### **Ajustes Útiles:**
|
||||
- Dired reutiliza los búferes por defecto en Doom
|
||||
- Actualización automática al cambiar los archivos
|
||||
- Integración con los atajos de teclado del modo Evil
|
||||
|
||||
## ⚡ **Treemacs (Explorador en Árbol)**
|
||||
|
||||
### **Treemacs Básico:**
|
||||
- `SPC o p` - **Alternar** la barra lateral de Treemacs
|
||||
- `j/k` - **Navegar** arriba/abajo en el árbol
|
||||
- `RET` - **Abrir archivo** o expandir/contraer directorio
|
||||
- `TAB` - **Expandir/contraer** directorio
|
||||
|
||||
### **Operaciones de Archivo en Treemacs:**
|
||||
- `cf` - **Crear archivo**
|
||||
- `cd` - **Crear directorio**
|
||||
- `R` - **Renombrar**
|
||||
- `d` - **Eliminar**
|
||||
- `yy` - **Copiar** la ruta al portapapeles
|
||||
|
||||
## 🚀 **Flujo de Trabajo de Inicio Rápido**
|
||||
|
||||
### **Gestión Básica de Archivos:**
|
||||
1. **Presiona `SPC .`** - Abre Dired en el directorio actual
|
||||
2. **Navega con `j/k`** - Muévete entre los archivos
|
||||
3. **Marca archivos con `m`** - Selecciona múltiples archivos
|
||||
4. **Usa `C` para copiar** o `R` para mover/renombrar
|
||||
5. **Presiona `g`** para refrescar cuando termines
|
||||
|
||||
### **Operaciones de Archivo Eficientes:**
|
||||
1. **Marca múltiples archivos** con `m`
|
||||
2. **Ejecuta operaciones por lotes** (`C` para copiar, `R` para mover)
|
||||
3. **Usa `!`** para ejecutar comandos de shell en los archivos marcados
|
||||
4. **Alterna los detalles con `(`** para más/menos información
|
||||
|
||||
## 📚 **Resumen de Atajos Esenciales**
|
||||
|
||||
| Acción | Tecla | Descripción |
|
||||
|--------|-----|-------------|
|
||||
| Abrir Dired | `SPC .` | Abrir explorador de archivos |
|
||||
| Navegar | `j/k` | Moverse arriba/abajo |
|
||||
| Entrar/Abrir | `RET` o `l` | Abrir archivo/directorio |
|
||||
| Directorio Padre | `h` o `^` | Subir un directorio |
|
||||
| Marcar | `m` | Marcar archivo para operaciones |
|
||||
| Copiar | `C` | Copiar archivos marcados |
|
||||
| Mover/Renombrar | `R` | Mover o renombrar archivos |
|
||||
| Eliminar | `d` y luego `x` | Marcar para eliminar, ejecutar |
|
||||
| Crear Directorio | `+` | Crear nuevo directorio |
|
||||
| Comprimir | `Z` | Comprimir/descomprimir |
|
||||
| Buscar en Archivos | `A` | Buscar dentro de los archivos |
|
||||
| Refrescar | `g` | Refrescar el listado del directorio |
|
||||
| Ayuda | `?` | Mostrar comandos disponibles |
|
||||
|
||||
## 🔧 **Solución de Problemas**
|
||||
|
||||
### **Problemas Comunes:**
|
||||
- **¿El búfer de Dired no se actualiza?** Presiona `g` para refrescar
|
||||
- **¿No puedes ver los detalles del archivo?** Presiona `(` para alternar la vista detallada
|
||||
- **¿Las operaciones son lentas?** Usa el marcado (`m`) para operaciones por lotes
|
||||
- **¿Orden de clasificación incorrecto?** Presiona `s` para ciclar entre las opciones de clasificación
|
||||
|
||||
### **Consejos de Rendimiento:**
|
||||
- Instala `fd` para una búsqueda de archivos más rápida
|
||||
- Instala `rg` (ripgrep) para una búsqueda de texto más rápida
|
||||
- Usa `rsync` para una copia de archivos eficiente
|
||||
- Considera `exa` o `lsd` para listados de directorios mejorados
|
||||
|
||||
### **Obteniendo Ayuda:**
|
||||
- `?` - **Ayuda contextual** en cualquier búfer de Dired
|
||||
- `C-h m` - **Ayuda específica del modo**
|
||||
- `SPC h d f dired` - **Documentación completa de Dired**
|
||||
|
||||
## 📋 **Comparación: Dired vs Treemacs**
|
||||
|
||||
### **Usa Dired cuando:**
|
||||
- Gestionas múltiples archivos a la vez
|
||||
- Necesitas información detallada de los archivos
|
||||
- Realizas operaciones por lotes
|
||||
- Trabajas con permisos/propiedad de archivos
|
||||
|
||||
### **Usa Treemacs cuando:**
|
||||
- Necesitas una vista rápida del proyecto
|
||||
- Navegación de archivos simple
|
||||
- Prefieres una estructura de árbol visual
|
||||
- Necesitas una barra lateral persistente
|
||||
|
||||
## 🛠️ **Integración con Herramientas Externas**
|
||||
|
||||
### **Herramientas Recomendadas:**
|
||||
- **`rsync`** - Copia de archivos rápida y fiable con capacidad de reanudación
|
||||
- **`ripgrep` (rg)** - Búsqueda de texto extremadamente rápida, mucho más rápida que grep
|
||||
- **`fd`** - Alternativa rápida a find con mejores valores predeterminados
|
||||
- **`exa`** - Reemplazo moderno de ls con colores e integración con git
|
||||
- **`trash-cli`** - Eliminación segura a la papelera en lugar de eliminación permanente
|
||||
- **`7z`** - Maneja archivos 7zip y otros formatos de compresión
|
||||
|
||||
### **Instalación (Debian/Ubuntu):**
|
||||
```bash
|
||||
sudo apt install rsync ripgrep fd-find exa trash-cli p7zip-full
|
||||
```
|
||||
|
||||
## 🎯 **Consejos Profesionales**
|
||||
|
||||
- **Operaciones por lotes**: Marca los archivos primero (`m`), luego ejecuta las operaciones
|
||||
- **Navegación rápida**: Usa `/` para buscar archivos por nombre
|
||||
- **Editar nombres de archivo**: Usa `C-x C-q` para el modo Wdired para renombrar múltiples archivos
|
||||
- **Integración con la shell**: Usa `!` para ejecutar comandos de shell en los archivos
|
||||
- **Múltiples directorios**: Usa `i` para mostrar subdirectorios en el mismo búfer
|
||||
- **Eliminación segura**: Instala `trash-cli` para enviar archivos a la papelera en lugar de eliminarlos permanentemente
|
||||
- **Búsqueda rápida**: Instala `ripgrep` para una búsqueda de texto ultrarrápida en los archivos
|
||||
|
||||
Dired proporciona una experiencia completa de gestión de archivos que se integra bien con herramientas externas de Linux, haciendo que las operaciones con archivos sean eficientes y potentes.
|
||||
306
cheatsheets/emacs/emacs.file-explorer.cheatsheet.md
Normal file
306
cheatsheets/emacs/emacs.file-explorer.cheatsheet.md
Normal file
|
|
@ -0,0 +1,306 @@
|
|||
English | [Español](./emacs.file-explorer.cheatsheet.es.md)
|
||||
|
||||
# Doom Emacs File Explorer Cheatsheet
|
||||
## 🗂️ **What is Dired?**
|
||||
|
||||
Dired (Directory Editor) is Emacs' built-in file manager that allows you to navigate, manage, and manipulate files and directories efficiently.
|
||||
- Browse directories with keyboard navigation
|
||||
- Mark, copy, move, and delete files
|
||||
- Execute commands on multiple files at once
|
||||
- Integrate with other Emacs tools and buffers
|
||||
|
||||
## 📋 **Requirements**
|
||||
- Doom Emacs (Dired is built-in)
|
||||
- **Treemacs**: Must be enabled in `~/.doom.d/init.el` (uncomment `treemacs` line)
|
||||
- Optional tools for enhanced functionality:
|
||||
- `rsync` - Fast file synchronization and copying
|
||||
- `fd` or `find` - Enhanced file finding
|
||||
- `rg` (ripgrep) or `ag` (the_silver_searcher) - Fast text search
|
||||
- `exa` or `lsd` - Enhanced directory listings
|
||||
- `trash-cli` - Safe file deletion to trash
|
||||
- `zip`/`unzip`, `tar`, `gzip` - Archive handling
|
||||
|
||||
## ⌨️ **Opening File Explorers**
|
||||
|
||||
### **Dired (Built-in File Manager):**
|
||||
- `SPC .` - **Open Dired** in current directory
|
||||
- `SPC f d` - **Find directory** (open Dired in specific path)
|
||||
- `C-x d` - **Open Dired** (classic Emacs binding)
|
||||
|
||||
### **Project File Navigation:**
|
||||
- `SPC SPC` - **Find file** in project
|
||||
- `SPC f f` - **Find file** anywhere
|
||||
- `SPC f r` - **Recent files**
|
||||
- `SPC p f` - **Find file** in project
|
||||
|
||||
### **Tree-style Explorers:**
|
||||
- `SPC o p` - **Toggle project sidebar** (Treemacs)
|
||||
- `SPC f t` - **Find file** in tree
|
||||
|
||||
## 🧭 **Navigation in Dired**
|
||||
|
||||
### **Basic Movement:**
|
||||
- `j/k` or `n/p` - **Move up/down** between files
|
||||
- `h` - **Go up** one directory (parent)
|
||||
- `l` or `RET` - **Enter directory** or open file
|
||||
- `^` - **Go to parent directory**
|
||||
- `g` - **Refresh** directory listing
|
||||
|
||||
### **Jumping Around:**
|
||||
- `gg` - **Go to top** of listing
|
||||
- `G` - **Go to bottom** of listing
|
||||
- `/` - **Search** for file/directory name
|
||||
- `SPC s s` - **Search within** directory
|
||||
|
||||
### **File Information:**
|
||||
- `(` - **Toggle details** (show/hide file info)
|
||||
- `s` - **Sort** files (by name, date, size)
|
||||
- `C-h m` - **Show help** for current mode
|
||||
|
||||
## 📁 **File Operations**
|
||||
|
||||
### **Opening Files:**
|
||||
- `RET` - **Open file** in current window
|
||||
- `o` - **Open file** in other window
|
||||
- `C-o` - **Open file** in other window (keep cursor in Dired)
|
||||
- `v` - **View file** (read-only)
|
||||
- `f` - **Find file** (same as RET)
|
||||
|
||||
### **Creating Files & Directories:**
|
||||
- `+` - **Create directory**
|
||||
- `SPC f c` - **Create file** (when in Dired buffer)
|
||||
- `C-x C-f` - **Find/create file** (from Dired)
|
||||
|
||||
## 🏷️ **Marking Files**
|
||||
|
||||
### **Basic Marking:**
|
||||
- `m` - **Mark file** for operations
|
||||
- `u` - **Unmark file**
|
||||
- `U` - **Unmark all** files
|
||||
- `t` - **Toggle marks** (mark unmarked, unmark marked)
|
||||
- `* %` - **Mark by regex** pattern
|
||||
|
||||
### **Quick Marking:**
|
||||
- `* .` - **Mark by extension** (e.g., *.txt)
|
||||
- `* /` - **Mark directories**
|
||||
- `* @` - **Mark symlinks**
|
||||
- `* *` - **Mark executables**
|
||||
|
||||
### **Advanced Marking:**
|
||||
- `% m` - **Mark files** matching regex
|
||||
- `% d` - **Mark for deletion** files matching regex
|
||||
- `* c` - **Change marks** (change one mark to another)
|
||||
|
||||
## ✂️ **File Management Operations**
|
||||
|
||||
### **Copy, Move, Delete:**
|
||||
- `C` - **Copy** marked files (or file under cursor)
|
||||
- `R` - **Rename/Move** marked files
|
||||
- `D` - **Delete** marked files immediately
|
||||
- `d` - **Mark for deletion** (use `x` to execute)
|
||||
- `x` - **Execute deletions** (delete files marked with `d`)
|
||||
|
||||
### **Deletion Options:**
|
||||
- `d` then `x` - **Safe deletion** (mark first, then execute)
|
||||
- `D` - **Immediate deletion** (bypass mark step)
|
||||
- **Trash integration**: If `trash-cli` is installed, files go to trash instead of permanent deletion
|
||||
|
||||
### **Advanced Operations:**
|
||||
- `Z` - **Compress/uncompress** files (uses `gzip`, `zip`, `tar` automatically)
|
||||
- `A` - **Search** in marked files (uses `grep` or `rg` if available)
|
||||
- `Q` - **Query replace** in marked files
|
||||
- `!` - **Run shell command** on marked files
|
||||
- `&` - **Run async shell command** on marked files
|
||||
|
||||
## 📋 **Copying & Moving**
|
||||
|
||||
### **Copy Operations:**
|
||||
- `C` - **Copy files** (prompts for destination)
|
||||
- Works with marked files or single file under cursor
|
||||
- Uses `rsync` if available for faster, resumable copying
|
||||
- Supports copying to different drives/partitions
|
||||
|
||||
### **Move/Rename Operations:**
|
||||
- `R` - **Rename/Move** files
|
||||
- Can rename single files or move multiple marked files
|
||||
- Supports moving across directories
|
||||
|
||||
### **Tips for Copy/Move:**
|
||||
- Mark multiple files first, then use `C` or `R`
|
||||
- Tab completion works for destination paths
|
||||
- Use relative paths (`.`, `..`) for quick navigation
|
||||
|
||||
## 🔍 **Search & Filter**
|
||||
|
||||
### **Finding Files:**
|
||||
- `/` - **Search** file names in current listing
|
||||
- `n/N` - **Next/previous** search match
|
||||
|
||||
### **Enhanced Search (with external tools):**
|
||||
- `A` - **Search inside files** (uses `rg` > `ag` > `grep` in priority order)
|
||||
- Much faster with `ripgrep` or `the_silver_searcher`
|
||||
- Supports regex patterns and file type filtering
|
||||
|
||||
### **Filtering Display:**
|
||||
- `(` - **Toggle** detailed view
|
||||
- `s` - **Sort** by different criteria
|
||||
- `C-u s` - **Sort** with custom options
|
||||
|
||||
### **Content Search:**
|
||||
- `A` - **Search inside** marked files
|
||||
- `Q` - **Query replace** across marked files
|
||||
|
||||
## 🔧 **Advanced Features**
|
||||
|
||||
### **Wdired (Writable Dired):**
|
||||
- `C-x C-q` - **Edit filenames** directly (like renaming)
|
||||
- Edit filenames as text, then `C-c C-c` to apply changes
|
||||
- `C-c C-k` to cancel edits
|
||||
|
||||
### **Multiple Windows:**
|
||||
- `o` - **Open in other window**
|
||||
- `C-o` - **Display in other window** (stay in Dired)
|
||||
- `2` - **Split window** vertically for two Dired views
|
||||
|
||||
### **Subdirectories:**
|
||||
- `i` - **Insert subdirectory** in same buffer
|
||||
- `$` - **Hide/show** subdirectory contents
|
||||
- `M-$` - **Hide all** subdirectories
|
||||
|
||||
## 📊 **File Comparison**
|
||||
|
||||
### **Diff Operations:**
|
||||
- `=` - **Diff file** with another
|
||||
- `M-=` - **Diff** marked files against each other
|
||||
- Works with external diff tools
|
||||
|
||||
## 🗜️ **Archive Operations**
|
||||
|
||||
### **Compression & Archives:**
|
||||
- `Z` - **Compress/decompress** automatically detects format
|
||||
- Supports: `.gz`, `.zip`, `.tar`, `.tar.gz`, `.tar.xz`, `.7z`
|
||||
- Uses appropriate tools: `gzip`, `zip`, `tar`, `7z`
|
||||
|
||||
### **Archive Viewing:**
|
||||
- Open `.zip`, `.tar`, etc. files directly to browse contents
|
||||
- Extract specific files from archives
|
||||
|
||||
## 🎛️ **Customization & Settings**
|
||||
|
||||
### **View Options:**
|
||||
- `(` - **Toggle** between simple and detailed view
|
||||
- `s` - **Cycle** through sort orders (name, date, size)
|
||||
- Enhanced listings with `exa` or `lsd` if available
|
||||
|
||||
### **Useful Settings:**
|
||||
- Dired reuses buffers by default in Doom
|
||||
- Auto-refresh on file changes
|
||||
- Integration with Evil mode keybindings
|
||||
|
||||
## ⚡ **Treemacs (Tree Explorer)**
|
||||
|
||||
### **Basic Treemacs:**
|
||||
- `SPC o p` - **Toggle** Treemacs sidebar
|
||||
- `j/k` - **Navigate** up/down in tree
|
||||
- `RET` - **Open file** or expand/collapse directory
|
||||
- `TAB` - **Expand/collapse** directory
|
||||
|
||||
### **Treemacs File Operations:**
|
||||
- `cf` - **Create file**
|
||||
- `cd` - **Create directory**
|
||||
- `R` - **Rename**
|
||||
- `d` - **Delete**
|
||||
- `yy` - **Copy** path to clipboard
|
||||
|
||||
## 🚀 **Quick Start Workflow**
|
||||
|
||||
### **Basic File Management:**
|
||||
1. **Press `SPC .`** - Open Dired in current directory
|
||||
2. **Navigate with `j/k`** - Move between files
|
||||
3. **Mark files with `m`** - Select multiple files
|
||||
4. **Use `C` to copy** or `R` to move/rename
|
||||
5. **Press `g`** to refresh when done
|
||||
|
||||
### **Efficient File Operations:**
|
||||
1. **Mark multiple files** with `m`
|
||||
2. **Execute batch operations** (`C` for copy, `R` for move)
|
||||
3. **Use `!`** to run shell commands on marked files
|
||||
4. **Toggle details with `(`** for more/less information
|
||||
|
||||
## 📚 **Essential Keybind Summary**
|
||||
|
||||
| Action | Key | Description |
|
||||
|--------|-----|-------------|
|
||||
| Open Dired | `SPC .` | Open file explorer |
|
||||
| Navigate | `j/k` | Move up/down |
|
||||
| Enter/Open | `RET` or `l` | Open file/directory |
|
||||
| Parent Dir | `h` or `^` | Go up one directory |
|
||||
| Mark | `m` | Mark file for operations |
|
||||
| Copy | `C` | Copy marked files |
|
||||
| Move/Rename | `R` | Move or rename files |
|
||||
| Delete | `d` then `x` | Mark for deletion, execute |
|
||||
| Create Dir | `+` | Create new directory |
|
||||
| Compress | `Z` | Compress/decompress |
|
||||
| Search Files | `A` | Search inside files |
|
||||
| Refresh | `g` | Refresh directory listing |
|
||||
| Help | `?` | Show available commands |
|
||||
|
||||
## 🔧 **Troubleshooting**
|
||||
|
||||
### **Common Issues:**
|
||||
- **Dired buffer not updating?** Press `g` to refresh
|
||||
- **Can't see file details?** Press `(` to toggle detailed view
|
||||
- **Operations feel slow?** Use marking (`m`) for batch operations
|
||||
- **Wrong sort order?** Press `s` to cycle through sort options
|
||||
|
||||
### **Performance Tips:**
|
||||
- Install `fd` for faster file finding
|
||||
- Install `rg` (ripgrep) for faster text search
|
||||
- Use `rsync` for efficient file copying
|
||||
- Consider `exa` or `lsd` for enhanced directory listings
|
||||
|
||||
### **Getting Help:**
|
||||
- `?` - **Context help** in any Dired buffer
|
||||
- `C-h m` - **Mode-specific help**
|
||||
- `SPC h d f dired` - **Full Dired documentation**
|
||||
|
||||
## 📋 **Comparison: Dired vs Treemacs**
|
||||
|
||||
### **Use Dired when:**
|
||||
- Managing multiple files at once
|
||||
- Need detailed file information
|
||||
- Performing batch operations
|
||||
- Working with file permissions/ownership
|
||||
|
||||
### **Use Treemacs when:**
|
||||
- Quick project overview
|
||||
- Simple file navigation
|
||||
- Prefer visual tree structure
|
||||
- Need persistent sidebar
|
||||
|
||||
## 🛠️ **External Tool Integration**
|
||||
|
||||
### **Recommended Tools:**
|
||||
- **`rsync`** - Fast, reliable file copying with resume capability
|
||||
- **`ripgrep` (rg)** - Extremely fast text search, much faster than grep
|
||||
- **`fd`** - Fast alternative to find with better defaults
|
||||
- **`exa`** - Modern replacement for ls with colors and git integration
|
||||
- **`trash-cli`** - Safe deletion to trash instead of permanent removal
|
||||
- **`7z`** - Handle 7zip archives and other compression formats
|
||||
|
||||
### **Installation (Debian/Ubuntu):**
|
||||
```bash
|
||||
sudo apt install rsync ripgrep fd-find exa trash-cli p7zip-full
|
||||
```
|
||||
|
||||
## 🎯 **Pro Tips**
|
||||
|
||||
- **Batch operations**: Mark files first (`m`), then execute operations
|
||||
- **Quick navigation**: Use `/` to search for files by name
|
||||
- **Edit filenames**: Use `C-x C-q` for Wdired mode to rename multiple files
|
||||
- **Shell integration**: Use `!` to run shell commands on files
|
||||
- **Multiple directories**: Use `i` to show subdirectories in same buffer
|
||||
- **Safe deletion**: Install `trash-cli` to send files to trash instead of permanent deletion
|
||||
- **Fast search**: Install `ripgrep` for lightning-fast text search in files
|
||||
|
||||
Dired provides a comprehensive file management experience that integrates well with external Linux tools, making file operations both efficient and powerful.
|
||||
276
cheatsheets/emacs/emacs.getting-started.top10.es.md
Normal file
276
cheatsheets/emacs/emacs.getting-started.top10.es.md
Normal file
|
|
@ -0,0 +1,276 @@
|
|||
[English](./emacs.getting-started.top10.md) | Español
|
||||
|
||||
# Las 10 Cosas Principales que los Nuevos Usuarios de Doom Emacs Deberían Saber
|
||||
## 🚀 **Primeros Pasos con Doom Emacs**
|
||||
|
||||
¡Bienvenido a Doom Emacs! Aquí están las 10 cosas más esenciales que todo nuevo usuario debería dominar para ser productivo rápidamente.
|
||||
|
||||
---
|
||||
|
||||
## 1. 🗝️ **Domina la Tecla Líder: `SPC`**
|
||||
|
||||
**La tecla Espacio es tu puerta de entrada a todo en Doom Emacs.**
|
||||
|
||||
- `SPC` se llama la "tecla líder" - abre menús para casi todas las acciones
|
||||
- Después de presionar `SPC`, verás sugerencias útiles que muestran los comandos disponibles
|
||||
- Los comandos están organizados lógicamente: `SPC f` para archivos, `SPC g` para git, `SPC p` para proyectos
|
||||
|
||||
**Comandos esenciales para empezar:**
|
||||
|
||||
- `SPC f f` - Buscar/abrir archivos
|
||||
- `SPC f s` - Guardar archivo actual
|
||||
- `SPC q q` - Salir de Emacs
|
||||
- `SPC h` - Menú de ayuda (¡muy importante!)
|
||||
|
||||
**Consejo Profesional:** Si olvidas lo que sigue, simplemente presiona `SPC` y espera - ¡Doom te mostrará las opciones!
|
||||
|
||||
---
|
||||
|
||||
## 2. 📁 **Navega por los Archivos como un Profesional**
|
||||
|
||||
**La navegación de archivos es fundamental para la productividad.**
|
||||
|
||||
- `SPC .` - **Abrir explorador de archivos** (Dired) en el directorio actual
|
||||
- `SPC f f` - **Buscar archivo** en cualquier parte de tu sistema
|
||||
- `SPC f r` - **Archivos recientes** en los que has trabajado
|
||||
- `SPC SPC` - **Buscar archivo en el proyecto actual** (¡súper útil!)
|
||||
|
||||
📋 _Consulta la guía completa: `emacs.file-explorer.cheatsheet.md`_
|
||||
|
||||
**Flujo de trabajo rápido:**
|
||||
|
||||
1. Abre el directorio de tu proyecto en la terminal
|
||||
2. Inicia Emacs: `emacs` (o `emacsclient -c` para GUI, `et` para TTY)
|
||||
3. Usa `SPC .` para explorar archivos o `SPC SPC` para encontrar archivos rápidamente
|
||||
|
||||
---
|
||||
|
||||
## 3. ⌨️ **Entiende el Modo Evil (Atajos de Teclado de Vim)**
|
||||
|
||||
**Doom Emacs usa atajos de teclado al estilo de Vim por defecto.**
|
||||
|
||||
**Movimiento básico (en modo Normal):**
|
||||
|
||||
- `h j k l` - Izquierda, abajo, arriba, derecha
|
||||
- `w` - Saltar a la siguiente palabra
|
||||
- `b` - Saltar una palabra hacia atrás
|
||||
- `gg` - Ir al principio del archivo
|
||||
- `G` - Ir al final del archivo
|
||||
|
||||
**Cambio de modo:**
|
||||
|
||||
- `i` - Entrar en modo de Inserción (para escribir texto)
|
||||
- `ESC` - Volver al modo Normal
|
||||
- `v` - Modo Visual (para seleccionar texto)
|
||||
|
||||
**Si no estás familiarizado con Vim:** ¡No te asustes! Puedes aprender gradualmente. Lo básico anterior te ayudará a empezar.
|
||||
|
||||
---
|
||||
|
||||
## 4. 🔍 **Busca y Reemplaza Eficientemente**
|
||||
|
||||
**Encontrar y cambiar texto es una tarea diaria.**
|
||||
|
||||
- `/` - Buscar hacia adelante en el búfer actual
|
||||
- `?` - Buscar hacia atrás en el búfer actual
|
||||
- `n/N` - Resultado de búsqueda siguiente/anterior
|
||||
- `SPC s s` - Buscar en el búfer actual (interactivo)
|
||||
- `SPC s p` - Buscar en todo el proyecto
|
||||
- `SPC s r` - Buscar y reemplazar en el búfer actual
|
||||
|
||||
**Para búsquedas en todo el proyecto:** `SPC s p` es increíblemente poderoso para encontrar código en todo tu proyecto.
|
||||
|
||||
---
|
||||
|
||||
## 5. 🗂️ **Trabaja con Búferes y Ventanas**
|
||||
|
||||
**Los búferes son archivos abiertos, las ventanas son cómo los ves.**
|
||||
|
||||
**Gestión de búferes:**
|
||||
|
||||
- `SPC b b` - Cambiar entre búferes abiertos
|
||||
- `SPC b k` - Matar (cerrar) el búfer actual
|
||||
- `SPC b s` - Guardar el búfer actual
|
||||
|
||||
**Gestión de ventanas:**
|
||||
|
||||
- `SPC w v` - Dividir la ventana verticalmente
|
||||
- `SPC w s` - Dividir la ventana horizontalmente
|
||||
- `SPC w c` - Cerrar la ventana actual
|
||||
- `SPC w w` - Cambiar entre ventanas
|
||||
- `C-h j/k/h/l` - Navegar entre ventanas (estilo Vim)
|
||||
|
||||
**Piénsalo de esta manera:** Puedes tener muchos archivos abiertos (búferes) pero solo ver algunos de ellos a la vez (ventanas).
|
||||
|
||||
---
|
||||
|
||||
## 6. 🛠️ **Configura y Personaliza Doom**
|
||||
|
||||
**Doom es altamente configurable, pero empieza de forma sencilla.**
|
||||
|
||||
**Archivos clave que debes conocer:**
|
||||
|
||||
- `~/.doom.d/config.el` - Tu configuración personal
|
||||
- `~/.doom.d/init.el` - Habilitar/deshabilitar módulos de Doom
|
||||
- `~/.doom.d/packages.el` - Añadir paquetes adicionales
|
||||
|
||||
**Comandos esenciales:**
|
||||
|
||||
- `SPC h r r` - Recargar la configuración de Doom
|
||||
- `SPC h d h` - Ayuda y documentación de Doom
|
||||
- `doom doctor` - Comprobar si hay problemas de configuración (ejecutar en la terminal)
|
||||
- `doom upgrade` - Actualizar Doom (ejecutar en la terminal)
|
||||
|
||||
**Empieza poco a poco:** No intentes personalizar todo de una vez. Usa primero los valores predeterminados de Doom y luego ajusta las cosas gradualmente.
|
||||
|
||||
---
|
||||
|
||||
## 7. 📝 **Domina los Conceptos Básicos de Edición de Texto**
|
||||
|
||||
**Comandos de edición esenciales que funcionan en cualquier modo.**
|
||||
|
||||
**En modo Normal (Evil):**
|
||||
|
||||
- `x` - Eliminar el carácter bajo el cursor
|
||||
- `dd` - Eliminar la línea entera
|
||||
- `yy` - Copiar (yank) la línea entera
|
||||
- `p` - Pegar después del cursor
|
||||
- `u` - Deshacer
|
||||
- `C-r` - Rehacer
|
||||
|
||||
**En modo de Inserción:**
|
||||
|
||||
- `C-w` - Eliminar palabra hacia atrás
|
||||
- `C-u` - Eliminar hasta el principio de la línea
|
||||
|
||||
**Selección y manipulación:**
|
||||
|
||||
- `v` - Iniciar selección visual
|
||||
- `V` - Seleccionar la línea entera
|
||||
- `d` - Eliminar el texto seleccionado
|
||||
- `y` - Copiar el texto seleccionado
|
||||
|
||||
---
|
||||
|
||||
## 8. 💻 **Usa la Autocompletación de Código y las Funciones del Lenguaje**
|
||||
|
||||
**Doom viene con un excelente soporte de código de fábrica.**
|
||||
|
||||
**Autocompletación:**
|
||||
|
||||
- Simplemente empieza a escribir - las terminaciones aparecen automáticamente
|
||||
- `TAB` - Aceptar la terminación
|
||||
- `C-n/C-p` o `j/k` - Navegar por las opciones de terminación
|
||||
|
||||
**Navegación de código:**
|
||||
|
||||
- `gd` - Ir a la definición
|
||||
- `gr` - Encontrar referencias
|
||||
- `K` - Mostrar documentación
|
||||
- `SPC c a` - Acciones de código (refactorizar, arreglar, etc.)
|
||||
|
||||
📋 _Consulta la guía completa: `emacs.code-completion.cheatsheet.md`_
|
||||
|
||||
**Lenguajes soportados:** La mayoría de los lenguajes populares funcionan de fábrica (Python, JavaScript, C/C++, Rust, Go, etc.)
|
||||
|
||||
---
|
||||
|
||||
## 9. 📚 **Usa el Sistema de Ayuda Incorporado**
|
||||
|
||||
**Doom tiene una excelente documentación incorporada.**
|
||||
|
||||
- `SPC h` - **Menú principal de ayuda**
|
||||
- `SPC h d h` - **Ayuda específica de Doom**
|
||||
- `SPC h k` - **Describir tecla** (¿qué hace esta tecla?)
|
||||
- `SPC h f` - **Describir función**
|
||||
- `SPC h v` - **Describir variable**
|
||||
- `C-h m` - **Mostrar ayuda para el modo actual**
|
||||
|
||||
**Cuando estés perdido:** Presiona `SPC h` y explora. El sistema de ayuda es completo y siempre está disponible.
|
||||
|
||||
**Consejo Profesional:** Si presionas una combinación de teclas y no sabes qué pasó, usa `SPC h l` para ver los comandos recientes.
|
||||
|
||||
---
|
||||
|
||||
## 10. 🔧 **Aprende la Integración con Git (Magit)**
|
||||
|
||||
**Magit es una de las mejores interfaces de Git disponibles en cualquier lugar.**
|
||||
|
||||
- `SPC g g` - Abrir el estado de Magit (¡tu comando principal de Git!)
|
||||
- `s` - Preparar archivos o fragmentos
|
||||
- `c c` - Confirmar cambios
|
||||
- `P P` - Empujar al remoto
|
||||
- `F F` - Traer del remoto
|
||||
|
||||
📋 _Consulta la guía completa: `emacs.magit.cheatsheet.md`_
|
||||
|
||||
**Flujo de trabajo básico:**
|
||||
|
||||
1. `SPC g g` - Ver qué ha cambiado
|
||||
2. `s` en los archivos para prepararlos
|
||||
3. `c c` para confirmar (escribe el mensaje, luego `C-c C-c`)
|
||||
4. `P P` para empujar
|
||||
|
||||
**Por qué es esencial:** Si trabajas con Git, Magit transformará tu flujo de trabajo. Es visual, rápido e increíblemente poderoso.
|
||||
|
||||
---
|
||||
|
||||
## 🎯 **Lista de Verificación de Inicio Rápido**
|
||||
|
||||
Una vez que hayas leído lo anterior, prueba este flujo de trabajo de 5 minutos:
|
||||
|
||||
1. ✅ **Abre Doom:** `emacs` en la terminal
|
||||
2. ✅ **Encuentra un archivo:** `SPC f f` y abre cualquier archivo de texto
|
||||
3. ✅ **Edita algo:** Presiona `i`, escribe texto, presiona `ESC`
|
||||
4. ✅ **Guarda:** `SPC f s`
|
||||
5. ✅ **Abre el explorador de archivos:** `SPC .`
|
||||
6. ✅ **Obtén ayuda:** `SPC h`
|
||||
7. ✅ **Divide la ventana:** `SPC w v`
|
||||
8. ✅ **Cambia de búfer:** `SPC b b`
|
||||
9. ✅ **Busca en el proyecto:** `SPC s p` (si estás en un proyecto)
|
||||
10. ✅ **Sal:** `SPC q q`
|
||||
|
||||
---
|
||||
|
||||
## 📖 **Próximos Pasos: Profundiza**
|
||||
|
||||
Una vez que te sientas cómodo con lo básico anterior:
|
||||
|
||||
1. **Lee las hojas de trucos específicas:**
|
||||
- `emacs.file-explorer.cheatsheet.md` - Gestión de archivos
|
||||
- `emacs.code-completion.cheatsheet.md` - Funciones de codificación
|
||||
- `emacs.magit.cheatsheet.md` - Integración con Git
|
||||
- `emacs.markdown.cheatsheet.md` - Edición de Markdown
|
||||
|
||||
2. **Personaliza gradualmente:** Empieza a ajustar tu `config.el`
|
||||
3. **Aprende tu lenguaje:** Explora las funciones específicas del lenguaje
|
||||
4. **Únete a la comunidad:** Discord de Doom, Reddit, discusiones de GitHub
|
||||
|
||||
---
|
||||
|
||||
## 🆘 **Cuando Estés Atascado**
|
||||
|
||||
**Comandos de emergencia:**
|
||||
|
||||
- `C-g` - Cancelar el comando actual (como presionar ESC)
|
||||
- `SPC q q` - Salir de Emacs
|
||||
- `SPC h d h` - Ayuda de Doom
|
||||
- `:q` - Salir del búfer actual (comando de Vim)
|
||||
|
||||
**Recuerda:** Todo experto fue una vez un principiante. No intentes aprender todo de una vez. Domina estas 10 cosas primero, luego explora gradualmente funciones más avanzadas.
|
||||
|
||||
**El consejo más importante:** Usa `SPC` y explora los menús. ¡Doom está diseñado para ser descubrible - deja que te guíe!
|
||||
|
||||
---
|
||||
|
||||
## 🎓 **Filosofía de Aprendizaje**
|
||||
|
||||
**Empieza con flujos de trabajo, no con funciones:** En lugar de memorizar cada atajo de teclado, aprende flujos de trabajo completos para las tareas que haces a diario (editar archivos, confirmar código, buscar en proyectos).
|
||||
|
||||
**Usa primero los valores predeterminados:** Los valores predeterminados de Doom son excelentes. Resiste la tentación de personalizar todo de inmediato.
|
||||
|
||||
**Una cosa a la vez:** Domina la navegación de archivos antes de sumergirte en funciones de código avanzadas. Construye tus habilidades de forma incremental.
|
||||
|
||||
**Practica a diario:** Usa Doom para el trabajo real, incluso si al principio eres más lento. La memoria muscular se desarrolla con la práctica.
|
||||
|
||||
¡Bienvenido a Doom Emacs! 🚀
|
||||
295
cheatsheets/emacs/emacs.getting-started.top10.md
Normal file
295
cheatsheets/emacs/emacs.getting-started.top10.md
Normal file
|
|
@ -0,0 +1,295 @@
|
|||
English | [Español](./emacs.getting-started.top10.es.md)
|
||||
|
||||
# Top 10 Things New Doom Emacs Users Should Know
|
||||
## 🚀 **Getting Started with Doom Emacs**
|
||||
|
||||
Welcome to Doom Emacs! Here are the 10 most essential things every new user
|
||||
should master to get productive quickly.
|
||||
|
||||
---
|
||||
|
||||
## 1. 🗝️ **Master the Leader Key: `SPC`**
|
||||
|
||||
**The Space key is your gateway to everything in Doom Emacs.**
|
||||
|
||||
- `SPC` is called the "leader key" - it opens menus for almost every action
|
||||
- After pressing `SPC`, you'll see helpful hints showing available commands
|
||||
- Commands are organized logically: `SPC f` for files, `SPC g` for git, `SPC p`
|
||||
for projects
|
||||
|
||||
**Essential starter commands:**
|
||||
|
||||
- `SPC f f` - Find/open files
|
||||
- `SPC f s` - Save current file
|
||||
- `SPC q q` - Quit Emacs
|
||||
- `SPC h` - Help menu (very important!)
|
||||
|
||||
**Pro Tip:** If you forget what comes next, just press `SPC` and wait - Doom
|
||||
will show you the options!
|
||||
|
||||
---
|
||||
|
||||
## 2. 📁 **Navigate Files Like a Pro**
|
||||
|
||||
**File navigation is fundamental to productivity.**
|
||||
|
||||
- `SPC .` - **Open file explorer** (Dired) in current directory
|
||||
- `SPC f f` - **Find file** anywhere on your system
|
||||
- `SPC f r` - **Recent files** you've worked on
|
||||
- `SPC SPC` - **Find file in current project** (super useful!)
|
||||
|
||||
📋 _See the complete guide: `emacs.file-explorer.cheatsheet.md`_
|
||||
|
||||
**Quick workflow:**
|
||||
|
||||
1. Open your project directory in terminal
|
||||
2. Start Emacs: `emacs` (or `emacsclient -c` for GUI, `et` for TTY)
|
||||
3. Use `SPC .` to browse files or `SPC SPC` to quickly find files
|
||||
|
||||
---
|
||||
|
||||
## 3. ⌨️ **Understand Evil Mode (Vim Keybindings)**
|
||||
|
||||
**Doom Emacs uses Vim-style keybindings by default.**
|
||||
|
||||
**Basic movement (in Normal mode):**
|
||||
|
||||
- `h j k l` - Left, down, up, right
|
||||
- `w` - Jump to next word
|
||||
- `b` - Jump back one word
|
||||
- `gg` - Go to top of file
|
||||
- `G` - Go to bottom of file
|
||||
|
||||
**Mode switching:**
|
||||
|
||||
- `i` - Enter Insert mode (to type text)
|
||||
- `ESC` - Return to Normal mode
|
||||
- `v` - Visual mode (to select text)
|
||||
|
||||
**If you're not familiar with Vim:** Don't panic! You can learn gradually. The
|
||||
basics above will get you started.
|
||||
|
||||
---
|
||||
|
||||
## 4. 🔍 **Search and Replace Efficiently**
|
||||
|
||||
**Finding and changing text is a daily task.**
|
||||
|
||||
- `/` - Search forward in current buffer
|
||||
- `?` - Search backward in current buffer
|
||||
- `n/N` - Next/previous search result
|
||||
- `SPC s s` - Search in current buffer (interactive)
|
||||
- `SPC s p` - Search in entire project
|
||||
- `SPC s r` - Search and replace in current buffer
|
||||
|
||||
**For project-wide search:** `SPC s p` is incredibly powerful for finding code
|
||||
across your entire project.
|
||||
|
||||
---
|
||||
|
||||
## 5. 🗂️ **Work with Buffers and Windows**
|
||||
|
||||
**Buffers are open files, windows are how you view them.**
|
||||
|
||||
**Buffer management:**
|
||||
|
||||
- `SPC b b` - Switch between open buffers
|
||||
- `SPC b k` - Kill (close) current buffer
|
||||
- `SPC b s` - Save current buffer
|
||||
|
||||
**Window management:**
|
||||
|
||||
- `SPC w v` - Split window vertically
|
||||
- `SPC w s` - Split window horizontally
|
||||
- `SPC w c` - Close current window
|
||||
- `SPC w w` - Switch between windows
|
||||
- `C-h j/k/h/l` - Navigate between windows (Vim-style)
|
||||
|
||||
**Think of it this way:** You can have many files open (buffers) but only see
|
||||
some of them at once (windows).
|
||||
|
||||
---
|
||||
|
||||
## 6. 🛠️ **Configure and Customize Doom**
|
||||
|
||||
**Doom is highly configurable, but start simple.**
|
||||
|
||||
**Key files to know about:**
|
||||
|
||||
- `~/.doom.d/config.el` - Your personal configuration
|
||||
- `~/.doom.d/init.el` - Enable/disable Doom modules
|
||||
- `~/.doom.d/packages.el` - Add extra packages
|
||||
|
||||
**Essential commands:**
|
||||
|
||||
- `SPC h r r` - Reload Doom configuration
|
||||
- `SPC h d h` - Doom help and documentation
|
||||
- `doom doctor` - Check for configuration issues (run in terminal)
|
||||
- `doom upgrade` - Update Doom (run in terminal)
|
||||
|
||||
**Start small:** Don't try to customize everything at once. Use Doom's defaults
|
||||
first, then gradually tweak things.
|
||||
|
||||
---
|
||||
|
||||
## 7. 📝 **Master Text Editing Basics**
|
||||
|
||||
**Essential editing commands that work in any mode.**
|
||||
|
||||
**In Normal mode (Evil):**
|
||||
|
||||
- `x` - Delete character under cursor
|
||||
- `dd` - Delete entire line
|
||||
- `yy` - Copy (yank) entire line
|
||||
- `p` - Paste after cursor
|
||||
- `u` - Undo
|
||||
- `C-r` - Redo
|
||||
|
||||
**In Insert mode:**
|
||||
|
||||
- `C-w` - Delete word backward
|
||||
- `C-u` - Delete to beginning of line
|
||||
|
||||
**Selection and manipulation:**
|
||||
|
||||
- `v` - Start visual selection
|
||||
- `V` - Select entire line
|
||||
- `d` - Delete selected text
|
||||
- `y` - Copy selected text
|
||||
|
||||
---
|
||||
|
||||
## 8. 💻 **Use Code Completion and Language Features**
|
||||
|
||||
**Doom comes with excellent code support out of the box.**
|
||||
|
||||
**Auto-completion:**
|
||||
|
||||
- Just start typing - completions appear automatically
|
||||
- `TAB` - Accept completion
|
||||
- `C-n/C-p` or `j/k` - Navigate completion options
|
||||
|
||||
**Code navigation:**
|
||||
|
||||
- `gd` - Go to definition
|
||||
- `gr` - Find references
|
||||
- `K` - Show documentation
|
||||
- `SPC c a` - Code actions (refactor, fix, etc.)
|
||||
|
||||
📋 _See the complete guide: `emacs.code-completion.cheatsheet.md`_
|
||||
|
||||
**Languages supported:** Most popular languages work out of the box (Python,
|
||||
JavaScript, C/C++, Rust, Go, etc.)
|
||||
|
||||
---
|
||||
|
||||
## 9. 📚 **Use Built-in Help System**
|
||||
|
||||
**Doom has excellent built-in documentation.**
|
||||
|
||||
- `SPC h` - **Main help menu**
|
||||
- `SPC h d h` - **Doom-specific help**
|
||||
- `SPC h k` - **Describe key** (what does this key do?)
|
||||
- `SPC h f` - **Describe function**
|
||||
- `SPC h v` - **Describe variable**
|
||||
- `C-h m` - **Show help for current mode**
|
||||
|
||||
**When you're lost:** Press `SPC h` and explore. The help system is
|
||||
comprehensive and always available.
|
||||
|
||||
**Pro Tip:** If you press a key combination and don't know what happened, use
|
||||
`SPC h l` to see recent commands.
|
||||
|
||||
---
|
||||
|
||||
## 10. 🔧 **Learn Git Integration (Magit)**
|
||||
|
||||
**Magit is one of the best Git interfaces available anywhere.**
|
||||
|
||||
- `SPC g g` - Open Magit status (your main Git command!)
|
||||
- `s` - Stage files or hunks
|
||||
- `c c` - Commit changes
|
||||
- `P P` - Push to remote
|
||||
- `F F` - Pull from remote
|
||||
|
||||
📋 _See the complete guide: `emacs.magit.cheatsheet.md`_
|
||||
|
||||
**Basic workflow:**
|
||||
|
||||
1. `SPC g g` - See what's changed
|
||||
2. `s` on files to stage them
|
||||
3. `c c` to commit (write message, then `C-c C-c`)
|
||||
4. `P P` to push
|
||||
|
||||
**Why it's essential:** If you work with Git, Magit will transform your
|
||||
workflow. It's visual, fast, and incredibly powerful.
|
||||
|
||||
---
|
||||
|
||||
## 🎯 **Quick Start Checklist**
|
||||
|
||||
Once you've read through the above, try this 5-minute workflow:
|
||||
|
||||
1. ✅ **Open Doom:** `emacs` in terminal
|
||||
2. ✅ **Find a file:** `SPC f f` and open any text file
|
||||
3. ✅ **Edit something:** Press `i`, type text, press `ESC`
|
||||
4. ✅ **Save:** `SPC f s`
|
||||
5. ✅ **Open file explorer:** `SPC .`
|
||||
6. ✅ **Get help:** `SPC h`
|
||||
7. ✅ **Split window:** `SPC w v`
|
||||
8. ✅ **Switch buffers:** `SPC b b`
|
||||
9. ✅ **Search project:** `SPC s p` (if in a project)
|
||||
10. ✅ **Quit:** `SPC q q`
|
||||
|
||||
---
|
||||
|
||||
## 📖 **Next Steps: Dive Deeper**
|
||||
|
||||
Once you're comfortable with the basics above:
|
||||
|
||||
1. **Read the specific cheatsheets:**
|
||||
- `emacs.file-explorer.cheatsheet.md` - File management
|
||||
- `emacs.code-completion.cheatsheet.md` - Coding features
|
||||
- `emacs.magit.cheatsheet.md` - Git integration
|
||||
- `emacs.markdown.cheatsheet.md` - Markdown editing
|
||||
|
||||
2. **Customize gradually:** Start tweaking your `config.el`
|
||||
3. **Learn your language:** Explore language-specific features
|
||||
4. **Join the community:** Doom Discord, Reddit, GitHub discussions
|
||||
|
||||
---
|
||||
|
||||
## 🆘 **When You're Stuck**
|
||||
|
||||
**Emergency commands:**
|
||||
|
||||
- `C-g` - Cancel current command (like pressing ESC)
|
||||
- `SPC q q` - Quit Emacs
|
||||
- `SPC h d h` - Doom help
|
||||
- `:q` - Quit current buffer (Vim command)
|
||||
|
||||
**Remember:** Every expert was once a beginner. Don't try to learn everything at
|
||||
once. Master these 10 things first, then gradually explore more advanced
|
||||
features.
|
||||
|
||||
**Most important tip:** Use `SPC` and explore the menus. Doom is designed to be
|
||||
discoverable - let it guide you!
|
||||
|
||||
---
|
||||
|
||||
## 🎓 **Learning Philosophy**
|
||||
|
||||
**Start with workflows, not features:** Instead of memorizing every keybinding,
|
||||
learn complete workflows for tasks you do daily (editing files, committing code,
|
||||
searching projects).
|
||||
|
||||
**Use the defaults first:** Doom's defaults are excellent. Resist the urge to
|
||||
customize everything immediately.
|
||||
|
||||
**One thing at a time:** Master file navigation before diving into advanced code
|
||||
features. Build your skills incrementally.
|
||||
|
||||
**Practice daily:** Use Doom for real work, even if you're slower at first.
|
||||
Muscle memory develops with practice.
|
||||
|
||||
Welcome to Doom Emacs! 🚀
|
||||
276
cheatsheets/emacs/emacs.magit.cheatsheet.es.md
Normal file
276
cheatsheets/emacs/emacs.magit.cheatsheet.es.md
Normal file
|
|
@ -0,0 +1,276 @@
|
|||
[English](./emacs.magit.cheatsheet.md) | Español
|
||||
|
||||
# Cheatsheet de Magit para Doom Emacs
|
||||
## 🚀 **¿Qué es Magit?**
|
||||
|
||||
Magit es una herramienta extremadamente poderosa para gestionar tu proyecto de Git.
|
||||
|
||||
- Flujos de trabajo de Git visuales e interactivos
|
||||
- Prepara para confirmación (stage) fragmentos (hunks), líneas o archivos completos con facilidad
|
||||
- Confirma (commit), empuja (push), trae (pull), fusiona (merge), reorganiza (rebase) - todo desde menús intuitivos
|
||||
- Ve el estado de tu repositorio de un vistazo
|
||||
|
||||
## 📋 **Requisitos**
|
||||
|
||||
- Git instalado en tu sistema
|
||||
- Doom Emacs con Magit habilitado (incluido por defecto)
|
||||
- Estar trabajando dentro de un repositorio de Git
|
||||
|
||||
## ⌨️ **Abriendo Magit**
|
||||
|
||||
### **Interfaz Principal de Magit:**
|
||||
|
||||
- `SPC g g` - **Estado de Magit** (¡tu comando principal!)
|
||||
- `SPC g d` - **Despacho de archivos de Magit**
|
||||
- `SPC g f` - **Comandos de archivo de Magit**
|
||||
- `SPC g l` - **Registro (log) de Magit**
|
||||
- `SPC g b` - **Culpar (blame) de Magit**
|
||||
|
||||
## 🎯 **El Búfer de Estado de Magit** (Tu Centro de Mando)
|
||||
|
||||
### **Navegación:**
|
||||
|
||||
- `j/k` o `n/p` - **Moverse arriba/abajo** entre secciones
|
||||
- `TAB` - **Expandir/contraer** la sección bajo el cursor
|
||||
- `M-TAB` - **Expandir/contraer** todas las secciones
|
||||
- `g` - **Refrescar** el búfer de estado
|
||||
|
||||
### **Resumen de Secciones:**
|
||||
|
||||
```
|
||||
Archivos sin seguimiento - Archivos que no están en Git
|
||||
Cambios sin preparar - Archivos modificados no preparados para confirmación
|
||||
Cambios preparados - Archivos listos para confirmar
|
||||
Confirmaciones recientes - Tu historial de confirmaciones
|
||||
Aliijos (Stashes) - Tu trabajo en progreso guardado
|
||||
```
|
||||
|
||||
## 📝 **Preparando y Despreparando (Staging & Unstaging)**
|
||||
|
||||
### **Preparar Archivos:**
|
||||
|
||||
- `s` - **Preparar** archivo/fragmento bajo el cursor
|
||||
- `S` - **Preparar todos** los cambios sin preparar
|
||||
- `i` - **Ignorar** archivo (añadir a .gitignore)
|
||||
|
||||
### **Despreparar Archivos:**
|
||||
|
||||
- `u` - **Despreparar** archivo/fragmento bajo el cursor
|
||||
- `U` - **Despreparar todos** los cambios preparados
|
||||
|
||||
### **Descartar Cambios:**
|
||||
|
||||
- `k` - **Descartar** cambios en el archivo/fragmento bajo el cursor
|
||||
- `K` - **Descartar todos** los cambios en el directorio de trabajo
|
||||
|
||||
### **Preparando Fragmentos y Líneas:**
|
||||
|
||||
- `RET` o `SPC` - **Mostrar diferencias (diff)** del archivo bajo el cursor
|
||||
- En la vista de diferencias:
|
||||
- `s` - **Preparar fragmento** bajo el cursor
|
||||
- `u` - **Despreparar fragmento** bajo el cursor
|
||||
- `k` - **Descartar fragmento** bajo el cursor
|
||||
- `+/-` - **Mostrar más/menos** líneas de contexto
|
||||
|
||||
## 💾 **Confirmando (Committing)**
|
||||
|
||||
### **Crear Confirmaciones:**
|
||||
|
||||
- `c c` - **Confirmar** (abre el búfer de mensaje de confirmación)
|
||||
- `c a` - **Enmendar** la última confirmación
|
||||
- `c e` - **Extender** la última confirmación (sin cambio de mensaje)
|
||||
- `c w` - **Reescribir** el mensaje de la última confirmación
|
||||
- `c f` - **Arreglar (fixup)** una confirmación
|
||||
- `c s` - **Aplastar (squash)** una confirmación
|
||||
|
||||
### **En el Búfer de Mensaje de Confirmación:**
|
||||
|
||||
- `C-c C-c` - **Finalizar confirmación**
|
||||
- `C-c C-k` - **Cancelar confirmación**
|
||||
- `M-p/M-n` - **Mensaje de confirmación anterior/siguiente** del historial
|
||||
|
||||
## 🌿 **Ramas y Cambio (Branching & Switching)**
|
||||
|
||||
### **Operaciones con Ramas:**
|
||||
|
||||
- `b b` - **Cambiar de rama** (checkout)
|
||||
- `b c` - **Crear nueva rama**
|
||||
- `b n` - **Crear rama** desde el HEAD actual
|
||||
- `b s` - **Crear rama** y cambiar a ella
|
||||
- `b r` - **Renombrar rama**
|
||||
- `b k` - **Eliminar rama**
|
||||
|
||||
### **Ramas Remotas:**
|
||||
|
||||
- `b a` - **Establecer rama de seguimiento (upstream)** para la rama actual
|
||||
- `b u` - **Establecer rama de seguimiento** y empujar
|
||||
|
||||
## 🔄 **Operaciones Remotas**
|
||||
|
||||
### **Traer y Actualizar (Fetch & Pull):**
|
||||
|
||||
- `f f` - **Traer** desde el remoto predeterminado
|
||||
- `f a` - **Traer desde todos** los remotos
|
||||
- `F F` - **Actualizar** desde la rama de seguimiento
|
||||
- `F u` - **Actualizar desde la rama de seguimiento** (rebase)
|
||||
|
||||
### **Empujar (Push):**
|
||||
|
||||
- `P P` - **Empujar** a la rama de seguimiento
|
||||
- `P u` - **Empujar y establecer rama de seguimiento**
|
||||
- `P f` - **Forzar empuje** (¡úsalo con cuidado!)
|
||||
- `P t` - **Empujar etiquetas**
|
||||
|
||||
## 📚 **Viendo Historial y Registros**
|
||||
|
||||
### **Vistas de Registro:**
|
||||
|
||||
- `l l` - **Mostrar registro** para la rama actual
|
||||
- `l o` - **Mostrar registro** para otras ramas
|
||||
- `l h` - **Mostrar registro** para HEAD
|
||||
- `l a` - **Mostrar registro** para todas las ramas
|
||||
- `l f` - **Mostrar registro** para el archivo bajo el cursor
|
||||
|
||||
### **En la Vista de Registro:**
|
||||
|
||||
- `RET` - **Mostrar detalles** de la confirmación
|
||||
- `d d` - **Mostrar diferencias** para la confirmación
|
||||
- `c c` - **Crear nueva confirmación**
|
||||
- `r r` - **Revertir confirmación**
|
||||
|
||||
## 🔍 **Diferencias y Comparaciones**
|
||||
|
||||
### **Comandos de Diferencias:**
|
||||
|
||||
- `d d` - **Diferencias del directorio de trabajo** vs preparado
|
||||
- `d s` - **Diferencias de lo preparado** vs HEAD
|
||||
- `d u` - **Diferencias de los cambios sin preparar**
|
||||
- `d r` - **Diferencias de un rango** entre confirmaciones
|
||||
|
||||
### **En las Vistas de Diferencias:**
|
||||
|
||||
- `j/k` - **Navegar** entre fragmentos
|
||||
- `n/p` - **Archivo siguiente/anterior**
|
||||
- `TAB` - **Alternar** visibilidad de la sección de diferencias
|
||||
- `+/-` - **Aumentar/disminuir** líneas de contexto
|
||||
|
||||
## 🔧 **Reorganizando y Fusionando (Rebasing & Merging)**
|
||||
|
||||
### **Fusionar:**
|
||||
|
||||
- `m m` - **Fusionar** rama
|
||||
- `m a` - **Abortar fusión**
|
||||
- `m c` - **Continuar fusión**
|
||||
|
||||
### **Reorganizar:**
|
||||
|
||||
- `r i` - **Reorganización interactiva**
|
||||
- `r r` - **Reorganizar** rama
|
||||
- `r a` - **Abortar reorganización**
|
||||
- `r c` - **Continuar reorganización**
|
||||
|
||||
### **Durante la Reorganización Interactiva:**
|
||||
|
||||
- `j/k` - **Moverse** entre confirmaciones
|
||||
- `p` - **Elegir (pick)** confirmación (predeterminado)
|
||||
- `r` - **Reescribir (reword)** mensaje de confirmación
|
||||
- `e` - **Editar (edit)** confirmación
|
||||
- `s` - **Aplastar (squash)** confirmación
|
||||
- `f` - **Arreglar (fixup)** confirmación
|
||||
- `d` - **Descartar (drop)** confirmación
|
||||
|
||||
## 📦 **Aliijos (Stashing)**
|
||||
|
||||
### **Operaciones con Aliijos:**
|
||||
|
||||
- `z z` - **Alijar** los cambios actuales
|
||||
- `z i` - **Alijar** con mensaje
|
||||
- `z a` - **Aplicar alijo**
|
||||
- `z p` - **Sacar alijo** (aplicar y eliminar)
|
||||
- `z k` - **Descartar alijo**
|
||||
- `z l` - **Listar alijos**
|
||||
|
||||
## 🏷️ **Etiquetas (Tags)**
|
||||
|
||||
### **Operaciones con Etiquetas:**
|
||||
|
||||
- `t t` - **Crear etiqueta**
|
||||
- `t a` - **Crear etiqueta anotada**
|
||||
- `t k` - **Eliminar etiqueta**
|
||||
- `t p` - **Empujar etiqueta**
|
||||
|
||||
## ⚡ **Consejos Profesionales y Flujos de Trabajo**
|
||||
|
||||
### **Flujo de Trabajo Diario de Git:**
|
||||
|
||||
1. `SPC g g` - **Abrir estado de Magit**
|
||||
2. Revisar cambios, preparar con `s`
|
||||
3. `c c` - **Confirmar cambios**
|
||||
4. `P P` - **Empujar al remoto**
|
||||
|
||||
### **Trucos de Usuario Avanzado:**
|
||||
|
||||
- Usa `M-x magit-find-file` para abrir rápidamente archivos del historial de Git
|
||||
- `SPC g f s` - **Preparar archivo actual** sin abrir Magit
|
||||
- `SPC g f u` - **Despreparar archivo actual**
|
||||
- `SPC g f d` - **Mostrar diferencias del archivo**
|
||||
|
||||
### **Granularidad de la Preparación:**
|
||||
|
||||
- Prepara archivos completos con `s` en el búfer de estado
|
||||
- Prepara fragmentos individuales entrando en la vista de diferencias (`RET`) y luego `s`
|
||||
- Prepara líneas individuales seleccionando una región en la diferencia y luego `s`
|
||||
|
||||
### **Buenas Prácticas de Confirmación:**
|
||||
|
||||
- Usa `c c` para confirmaciones normales
|
||||
- Usa `c a` para arreglar tu última confirmación
|
||||
- Usa `c f` para crear confirmaciones de arreglo para una reorganización interactiva posterior
|
||||
|
||||
## 🔧 **Solución de Problemas**
|
||||
|
||||
### **Problemas Comunes:**
|
||||
|
||||
- **¿Magit no se abre?** Asegúrate de estar en un repositorio de Git
|
||||
- **¿Rendimiento lento?** Prueba `M-x magit-refresh` o reinicia Emacs
|
||||
- **¿Conflictos de fusión?** Magit resalta los conflictos - resuélvelos y usa `m c`
|
||||
|
||||
### **Obteniendo Ayuda:**
|
||||
|
||||
- `?` - **Mostrar ayuda** en cualquier búfer de Magit
|
||||
- `C-h m` - **Mostrar ayuda del modo**
|
||||
- `SPC h d m magit` - **Documentación completa de Magit**
|
||||
|
||||
## 🚀 **Flujo de Trabajo de Inicio Rápido**
|
||||
|
||||
1. **Navega a tu repositorio de Git** en Doom Emacs
|
||||
2. **Presiona `SPC g g`** - Abre el estado de Magit
|
||||
3. **Prepara archivos** con `s`, revisa las diferencias con `RET`
|
||||
4. **Confirma** con `c c`, escribe el mensaje, finaliza con `C-c C-c`
|
||||
5. **Empuja** con `P P`
|
||||
|
||||
## 📚 **Resumen de Atajos Esenciales**
|
||||
|
||||
| Acción | Tecla | Descripción |
|
||||
| --------- | --------- | -------------------- |
|
||||
| Estado | `SPC g g` | Abrir estado de Magit|
|
||||
| Preparar | `s` | Preparar archivo/fragmento |
|
||||
| Despreparar| `u` | Despreparar archivo/fragmento |
|
||||
| Confirmar | `c c` | Crear confirmación |
|
||||
| Empujar | `P P` | Empujar a la rama de seguimiento |
|
||||
| Actualizar| `F F` | Actualizar desde la rama de seguimiento |
|
||||
| Rama | `b b` | Cambiar de rama |
|
||||
| Registro | `l l` | Mostrar registro |
|
||||
| Diferencias| `d d` | Mostrar diferencias |
|
||||
| Alijar | `z z` | Alijar cambios |
|
||||
| Ayuda | `?` | Mostrar ayuda contextual |
|
||||
|
||||
## 🎉 **Por Qué Magit es Increíble**
|
||||
|
||||
- **Visual**: Ve todo el estado de tu repositorio de un vistazo
|
||||
- **Interactivo**: Prepara fragmentos, líneas o archivos con simples pulsaciones de teclas
|
||||
- **Rápido**: Navega por las operaciones de Git más rápido que cualquier CLI
|
||||
- **Potente**: Accede a todas las funciones de Git a través de menús intuitivos
|
||||
- **Integrado**: Funciona perfectamente con Doom Emacs y el modo Evil
|
||||
|
||||
**Consejo Profesional**: Una vez que aprendas Magit, ¡nunca más querrás usar Git desde la línea de comandos! 🚀
|
||||
277
cheatsheets/emacs/emacs.magit.cheatsheet.md
Normal file
277
cheatsheets/emacs/emacs.magit.cheatsheet.md
Normal file
|
|
@ -0,0 +1,277 @@
|
|||
English | [Español](./emacs.magit.cheatsheet.es.md)
|
||||
|
||||
# Doom Emacs Magit Cheatsheet
|
||||
## 🚀 **What is Magit?**
|
||||
|
||||
Magit is an extremely powerful tool for managing your Git project
|
||||
|
||||
- Visual, interactive Git workflows
|
||||
- Stage hunks, lines, or entire files with ease
|
||||
- Commit, push, pull, merge, rebase - all from intuitive menus
|
||||
- See your repo status at a glance
|
||||
|
||||
## 📋 **Requirements**
|
||||
|
||||
- Git installed on your system
|
||||
- Doom Emacs with Magit enabled (included by default)
|
||||
- Working inside a Git repository
|
||||
|
||||
## ⌨️ **Opening Magit**
|
||||
|
||||
### **Main Magit Interface:**
|
||||
|
||||
- `SPC g g` - **Magit status** (your main command!)
|
||||
- `SPC g d` - **Magit file dispatch**
|
||||
- `SPC g f` - **Magit file commands**
|
||||
- `SPC g l` - **Magit log**
|
||||
- `SPC g b` - **Magit blame**
|
||||
|
||||
## 🎯 **The Magit Status Buffer** (Your Command Center)
|
||||
|
||||
### **Navigation:**
|
||||
|
||||
- `j/k` or `n/p` - **Move up/down** between sections
|
||||
- `TAB` - **Expand/collapse** section under cursor
|
||||
- `M-TAB` - **Expand/collapse** all sections
|
||||
- `g` - **Refresh** status buffer
|
||||
|
||||
### **Section Overview:**
|
||||
|
||||
```
|
||||
Untracked files - Files not in Git
|
||||
Unstaged changes - Modified files not staged
|
||||
Staged changes - Files ready to commit
|
||||
Recent commits - Your commit history
|
||||
Stashes - Your saved work-in-progress
|
||||
```
|
||||
|
||||
## 📝 **Staging & Unstaging**
|
||||
|
||||
### **Stage Files:**
|
||||
|
||||
- `s` - **Stage** file/hunk under cursor
|
||||
- `S` - **Stage all** unstaged changes
|
||||
- `i` - **Ignore** file (add to .gitignore)
|
||||
|
||||
### **Unstage Files:**
|
||||
|
||||
- `u` - **Unstage** file/hunk under cursor
|
||||
- `U` - **Unstage all** staged changes
|
||||
|
||||
### **Discard Changes:**
|
||||
|
||||
- `k` - **Discard** changes in file/hunk under cursor
|
||||
- `K` - **Discard all** changes in working directory
|
||||
|
||||
### **Staging Hunks & Lines:**
|
||||
|
||||
- `RET` or `SPC` - **Show diff** of file under cursor
|
||||
- In diff view:
|
||||
- `s` - **Stage hunk** under cursor
|
||||
- `u` - **Unstage hunk** under cursor
|
||||
- `k` - **Discard hunk** under cursor
|
||||
- `+/-` - **Show more/less context** lines
|
||||
|
||||
## 💾 **Committing**
|
||||
|
||||
### **Create Commits:**
|
||||
|
||||
- `c c` - **Commit** (opens commit message buffer)
|
||||
- `c a` - **Amend** last commit
|
||||
- `c e` - **Extend** last commit (no message change)
|
||||
- `c w` - **Reword** last commit message
|
||||
- `c f` - **Fixup** commit
|
||||
- `c s` - **Squash** commit
|
||||
|
||||
### **In Commit Message Buffer:**
|
||||
|
||||
- `C-c C-c` - **Finish commit**
|
||||
- `C-c C-k` - **Cancel commit**
|
||||
- `M-p/M-n` - **Previous/next** commit message from history
|
||||
|
||||
## 🌿 **Branching & Switching**
|
||||
|
||||
### **Branch Operations:**
|
||||
|
||||
- `b b` - **Switch branch** (checkout)
|
||||
- `b c` - **Create new branch**
|
||||
- `b n` - **Create branch** from current HEAD
|
||||
- `b s` - **Create branch** and switch to it
|
||||
- `b r` - **Rename branch**
|
||||
- `b k` - **Delete branch**
|
||||
|
||||
### **Remote Branches:**
|
||||
|
||||
- `b a` - **Set upstream** for current branch
|
||||
- `b u` - **Set upstream** and push
|
||||
|
||||
## 🔄 **Remote Operations**
|
||||
|
||||
### **Fetch & Pull:**
|
||||
|
||||
- `f f` - **Fetch** from default remote
|
||||
- `f a` - **Fetch from all** remotes
|
||||
- `F F` - **Pull** from upstream
|
||||
- `F u` - **Pull from upstream** (rebase)
|
||||
|
||||
### **Push:**
|
||||
|
||||
- `P P` - **Push** to upstream
|
||||
- `P u` - **Push and set upstream**
|
||||
- `P f` - **Force push** (use carefully!)
|
||||
- `P t` - **Push tags**
|
||||
|
||||
## 📚 **Viewing History & Logs**
|
||||
|
||||
### **Log Views:**
|
||||
|
||||
- `l l` - **Show log** for current branch
|
||||
- `l o` - **Show log** for other branches
|
||||
- `l h` - **Show log** for HEAD
|
||||
- `l a` - **Show log** for all branches
|
||||
- `l f` - **Show log** for file under cursor
|
||||
|
||||
### **In Log View:**
|
||||
|
||||
- `RET` - **Show commit** details
|
||||
- `d d` - **Show diff** for commit
|
||||
- `c c` - **Create new commit**
|
||||
- `r r` - **Revert commit**
|
||||
|
||||
## 🔍 **Diffs & Comparisons**
|
||||
|
||||
### **Diff Commands:**
|
||||
|
||||
- `d d` - **Diff working directory** vs staged
|
||||
- `d s` - **Diff staged** vs HEAD
|
||||
- `d u` - **Diff unstaged** changes
|
||||
- `d r` - **Diff range** between commits
|
||||
|
||||
### **In Diff Views:**
|
||||
|
||||
- `j/k` - **Navigate** between hunks
|
||||
- `n/p` - **Next/previous** file
|
||||
- `TAB` - **Toggle** visibility of diff section
|
||||
- `+/-` - **Increase/decrease** context lines
|
||||
|
||||
## 🔧 **Rebasing & Merging**
|
||||
|
||||
### **Merge:**
|
||||
|
||||
- `m m` - **Merge** branch
|
||||
- `m a` - **Abort merge**
|
||||
- `m c` - **Continue merge**
|
||||
|
||||
### **Rebase:**
|
||||
|
||||
- `r i` - **Interactive rebase**
|
||||
- `r r` - **Rebase** branch
|
||||
- `r a` - **Abort rebase**
|
||||
- `r c` - **Continue rebase**
|
||||
|
||||
### **During Interactive Rebase:**
|
||||
|
||||
- `j/k` - **Move** between commits
|
||||
- `p` - **Pick** commit (default)
|
||||
- `r` - **Reword** commit message
|
||||
- `e` - **Edit** commit
|
||||
- `s` - **Squash** commit
|
||||
- `f` - **Fixup** commit
|
||||
- `d` - **Drop** commit
|
||||
|
||||
## 📦 **Stashing**
|
||||
|
||||
### **Stash Operations:**
|
||||
|
||||
- `z z` - **Stash** current changes
|
||||
- `z i` - **Stash** with message
|
||||
- `z a` - **Apply stash**
|
||||
- `z p` - **Pop stash** (apply and delete)
|
||||
- `z k` - **Drop stash**
|
||||
- `z l` - **List stashes**
|
||||
|
||||
## 🏷️ **Tags**
|
||||
|
||||
### **Tag Operations:**
|
||||
|
||||
- `t t` - **Create tag**
|
||||
- `t a` - **Create annotated tag**
|
||||
- `t k` - **Delete tag**
|
||||
- `t p` - **Push tag**
|
||||
|
||||
## ⚡ **Pro Tips & Workflows**
|
||||
|
||||
### **Daily Git Workflow:**
|
||||
|
||||
1. `SPC g g` - **Open Magit status**
|
||||
2. Review changes, stage with `s`
|
||||
3. `c c` - **Commit changes**
|
||||
4. `P P` - **Push to remote**
|
||||
|
||||
### **Power User Tricks:**
|
||||
|
||||
- Use `M-x magit-find-file` to quickly open files from Git history
|
||||
- `SPC g f s` - **Stage current file** without opening Magit
|
||||
- `SPC g f u` - **Unstage current file**
|
||||
- `SPC g f d` - **Show file diff**
|
||||
|
||||
### **Staging Granularity:**
|
||||
|
||||
- Stage entire files with `s` in status buffer
|
||||
- Stage individual hunks by entering diff view (`RET`) then `s`
|
||||
- Stage individual lines by selecting region in diff then `s`
|
||||
|
||||
### **Commit Best Practices:**
|
||||
|
||||
- Use `c c` for normal commits
|
||||
- Use `c a` to fix up your last commit
|
||||
- Use `c f` to create fixup commits for interactive rebase later
|
||||
|
||||
## 🔧 **Troubleshooting**
|
||||
|
||||
### **Common Issues:**
|
||||
|
||||
- **Magit won't open?** Make sure you're in a Git repository
|
||||
- **Performance slow?** Try `M-x magit-refresh` or restart Emacs
|
||||
- **Merge conflicts?** Magit highlights conflicts - resolve them and use `m c`
|
||||
|
||||
### **Getting Help:**
|
||||
|
||||
- `?` - **Show help** in any Magit buffer
|
||||
- `C-h m` - **Show mode help**
|
||||
- `SPC h d m magit` - **Full Magit documentation**
|
||||
|
||||
## 🚀 **Quick Start Workflow**
|
||||
|
||||
1. **Navigate to your Git repo** in Doom Emacs
|
||||
2. **Press `SPC g g`** - Opens Magit status
|
||||
3. **Stage files** with `s`, review diffs with `RET`
|
||||
4. **Commit** with `c c`, write message, finish with `C-c C-c`
|
||||
5. **Push** with `P P`
|
||||
|
||||
## 📚 **Essential Keybind Summary**
|
||||
|
||||
| Action | Key | Description |
|
||||
| ------- | --------- | ------------------ |
|
||||
| Status | `SPC g g` | Open Magit status |
|
||||
| Stage | `s` | Stage file/hunk |
|
||||
| Unstage | `u` | Unstage file/hunk |
|
||||
| Commit | `c c` | Create commit |
|
||||
| Push | `P P` | Push to upstream |
|
||||
| Pull | `F F` | Pull from upstream |
|
||||
| Branch | `b b` | Switch branch |
|
||||
| Log | `l l` | Show log |
|
||||
| Diff | `d d` | Show diff |
|
||||
| Stash | `z z` | Stash changes |
|
||||
| Help | `?` | Show context help |
|
||||
|
||||
## 🎉 **Why Magit is Amazing**
|
||||
|
||||
- **Visual**: See your entire repo state at a glance
|
||||
- **Interactive**: Stage hunks, lines, or files with simple keystrokes
|
||||
- **Fast**: Navigate Git operations faster than any CLI
|
||||
- **Powerful**: Access every Git feature through intuitive menus
|
||||
- **Integrated**: Works seamlessly with Doom Emacs and Evil mode
|
||||
|
||||
**Pro Tip**: Once you learn Magit, you'll never want to use Git from the command
|
||||
line again! 🚀
|
||||
86
cheatsheets/emacs/emacs.markdown.cheatsheet.es.md
Normal file
86
cheatsheets/emacs/emacs.markdown.cheatsheet.es.md
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
[English](./emacs.markdown.cheatsheet.md) | Español
|
||||
|
||||
# Cheatsheet de Markdown para Doom Emacs
|
||||
## 📝 **Primeros Pasos**
|
||||
- Abre cualquier archivo `.md` - Doom habilita automáticamente `markdown-mode`
|
||||
- Obtendrás resaltado de sintaxis, sangría adecuada y características específicas de markdown
|
||||
|
||||
## ⌨️ **Comandos Clave de Markdown** (con atajos de Evil/Vim)
|
||||
|
||||
### **Formato de Texto:**
|
||||
- `SPC m b` - Texto en **negrita**
|
||||
- `SPC m i` - Texto en *cursiva*
|
||||
- `SPC m c` - `Código en línea`
|
||||
- `SPC m C` - Bloque de código
|
||||
- `SPC m s` - ~~Tachado~~
|
||||
|
||||
### **Encabezados:**
|
||||
- `SPC m h` - Insertar encabezado (solicita el nivel 1-6)
|
||||
- `SPC m H` - Insertar encabezado con estilo de subrayado
|
||||
|
||||
### **Listas:**
|
||||
- `SPC m l` - Insertar elemento de lista no ordenada
|
||||
- `SPC m L` - Insertar elemento de lista ordenada
|
||||
|
||||
### **Enlaces e Imágenes:**
|
||||
- `SPC m l l` - Insertar enlace
|
||||
- `SPC m l i` - Insertar imagen
|
||||
- `SPC m l u` - Insertar URL
|
||||
|
||||
### **Navegación:**
|
||||
- `]]` - Siguiente encabezado
|
||||
- `[[` - Encabezado anterior
|
||||
- `SPC m o` - Abrir esquema/tabla de contenidos
|
||||
|
||||
## 👁️ **Vista Previa en Vivo**
|
||||
- `SPC m p` - Vista previa en el navegador
|
||||
- `SPC m P` - Exportar a HTML
|
||||
|
||||
## 📊 **Tablas**
|
||||
- `SPC m t` - Comandos de tabla
|
||||
- `SPC m t t` - Insertar tabla
|
||||
- `TAB` - Navegar entre celdas
|
||||
- `S-TAB` - Navegar hacia atrás entre celdas
|
||||
|
||||
## 🎯 **Atajos Útiles de Evil en Markdown**
|
||||
- `TAB` - Ciclar el plegado de encabezados
|
||||
- `S-TAB` - Ciclar el plegado globalmente
|
||||
- `RET` - Seguir enlaces
|
||||
- `M-RET` - Insertar nuevo elemento de lista
|
||||
|
||||
## 🧪 **Ejemplos de Prueba**
|
||||
|
||||
### Formato de Muestra
|
||||
Este es **texto en negrita** y este es *texto en cursiva*.
|
||||
|
||||
Aquí hay algo de `código en línea` y un bloque de código:
|
||||
|
||||
```bash
|
||||
# Ejemplo de bloque de código
|
||||
echo "¡Hola desde markdown!"
|
||||
```
|
||||
|
||||
### Lista de Muestra
|
||||
- [ ] Elemento de casilla de verificación 1
|
||||
- [x] Casilla de verificación completada
|
||||
- Punto de viñeta normal
|
||||
|
||||
### Tabla de Muestra
|
||||
| Característica | Atajo | Descripción |
|
||||
|----------------|---------|--------------------------|
|
||||
| Negrita | SPC m b | Poner texto en negrita |
|
||||
| Cursiva | SPC m i | Poner texto en cursiva |
|
||||
| Vista Previa | SPC m p | Vista previa en el navegador |
|
||||
|
||||
## 🚀 **Consejos Profesionales**
|
||||
1. Usa `SPC m o` para obtener una vista de esquema para la navegación
|
||||
2. `TAB` en los encabezados para plegar/desplegar secciones
|
||||
3. `RET` en los enlaces para seguirlos
|
||||
4. Usa `SPC m p` para previsualizar tu markdown en un navegador
|
||||
5. Crea listas de verificación con la sintaxis `- [ ]`
|
||||
|
||||
## 📚 **Referencia Rápida**
|
||||
- Todos los comandos de markdown comienzan con `SPC m`
|
||||
- Usa `SPC m ?` o `C-h m` para ver todos los comandos disponibles
|
||||
- Navegación entre encabezados: `]]` (siguiente) y `[[` (anterior)
|
||||
- Alternar plegado: `TAB` (local) y `S-TAB` (global)
|
||||
86
cheatsheets/emacs/emacs.markdown.cheatsheet.md
Normal file
86
cheatsheets/emacs/emacs.markdown.cheatsheet.md
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
English | [Español](./emacs.markdown.cheatsheet.es.md)
|
||||
|
||||
# Doom Emacs Markdown Cheatsheet
|
||||
## 📝 **Getting Started**
|
||||
- Open any `.md` file - Doom automatically enables `markdown-mode`
|
||||
- You'll get syntax highlighting, proper indentation, and markdown-specific features
|
||||
|
||||
## ⌨️ **Key Markdown Commands** (with Evil/Vim bindings)
|
||||
|
||||
### **Formatting Text:**
|
||||
- `SPC m b` - **Bold** text
|
||||
- `SPC m i` - *Italic* text
|
||||
- `SPC m c` - `Inline code`
|
||||
- `SPC m C` - Code block
|
||||
- `SPC m s` - ~~Strikethrough~~
|
||||
|
||||
### **Headers:**
|
||||
- `SPC m h` - Insert header (prompts for level 1-6)
|
||||
- `SPC m H` - Insert header with underline style
|
||||
|
||||
### **Lists:**
|
||||
- `SPC m l` - Insert unordered list item
|
||||
- `SPC m L` - Insert ordered list item
|
||||
|
||||
### **Links & Images:**
|
||||
- `SPC m l l` - Insert link
|
||||
- `SPC m l i` - Insert image
|
||||
- `SPC m l u` - Insert URL
|
||||
|
||||
### **Navigation:**
|
||||
- `]]` - Next header
|
||||
- `[[` - Previous header
|
||||
- `SPC m o` - Open outline/table of contents
|
||||
|
||||
## 👁️ **Live Preview**
|
||||
- `SPC m p` - Preview in browser
|
||||
- `SPC m P` - Export to HTML
|
||||
|
||||
## 📊 **Tables**
|
||||
- `SPC m t` - Table commands
|
||||
- `SPC m t t` - Insert table
|
||||
- `TAB` - Navigate between cells
|
||||
- `S-TAB` - Navigate backward between cells
|
||||
|
||||
## 🎯 **Useful Evil Bindings in Markdown**
|
||||
- `TAB` - Cycle folding of headers
|
||||
- `S-TAB` - Cycle folding globally
|
||||
- `RET` - Follow links
|
||||
- `M-RET` - Insert new list item
|
||||
|
||||
## 🧪 **Test Examples**
|
||||
|
||||
### Sample Formatting
|
||||
This is **bold text** and this is *italic text*.
|
||||
|
||||
Here's some `inline code` and a code block:
|
||||
|
||||
```bash
|
||||
# Code block example
|
||||
echo "Hello from markdown!"
|
||||
```
|
||||
|
||||
### Sample List
|
||||
- [ ] Checkbox item 1
|
||||
- [x] Completed checkbox
|
||||
- Regular bullet point
|
||||
|
||||
### Sample Table
|
||||
| Feature | Shortcut | Description |
|
||||
|---------|----------|-------------|
|
||||
| Bold | SPC m b | Make text bold |
|
||||
| Italic | SPC m i | Make text italic |
|
||||
| Preview | SPC m p | Preview in browser |
|
||||
|
||||
## 🚀 **Pro Tips**
|
||||
1. Use `SPC m o` to get an outline view for navigation
|
||||
2. `TAB` on headers to fold/unfold sections
|
||||
3. `RET` on links to follow them
|
||||
4. Use `SPC m p` to preview your markdown in a browser
|
||||
5. Create checklists with `- [ ]` syntax
|
||||
|
||||
## 📚 **Quick Reference**
|
||||
- All markdown commands start with `SPC m`
|
||||
- Use `SPC m ?` or `C-h m` to see all available commands
|
||||
- Navigation between headers: `]]` (next) and `[[` (previous)
|
||||
- Toggle folding: `TAB` (local) and `S-TAB` (global)
|
||||
45
cheatsheets/emacs/emacs.nix.cheatsheet.es.md
Normal file
45
cheatsheets/emacs/emacs.nix.cheatsheet.es.md
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
Español | [English](./emacs.nix.cheatsheet.md)
|
||||
|
||||
# Guía Rápida: Doom Emacs + Nix
|
||||
|
||||
Esta guía enumera los comandos de Nix y los atajos configurados en tu Doom Emacs.
|
||||
|
||||
## Requisitos
|
||||
- Módulo de Doom habilitado: `(nix +tree-sitter +lsp)` en `~/.doom.d/init.el`
|
||||
- Paquetes instalados (en `~/.doom.d/packages.el`): `nix`, `nix-update`, `nixos-options`
|
||||
- Herramientas Nix disponibles en el sistema: `nix`, `nixfmt` (o tu formateador preferido)
|
||||
- Opcional pero recomendado: `nil` (LSP de Nix)
|
||||
|
||||
## Convenciones de teclas (Leader)
|
||||
- `SPC` = tecla líder de Doom
|
||||
- `SPC m` = menú del modo mayor (contextual al buffer actual, p. ej., buffers Nix)
|
||||
|
||||
## Atajos para Nix
|
||||
- `SPC m f` → `nix-format-buffer` — Formatea el buffer Nix actual (usa `nixfmt` por defecto)
|
||||
- `SPC m b` → `nix-build` — Construye la derivación/expresión actual
|
||||
- `SPC m s` → `nix-shell` — Abre un `nix-shell`
|
||||
- `SPC m u` → `nix-unpack` — Desempaqueta una fuente de Nix
|
||||
- `SPC m r` → `nix-repl-show` — Muestra información de símbolo en el REPL de Nix
|
||||
- `SPC m U` → `nix-update-fetch` — Actualiza fetchers/hashes en expresiones Nix
|
||||
- `SPC m o` → `+nix/lookup-option` — Busca una opción de NixOS (requiere `:tools lookup` y `nixos-options`)
|
||||
|
||||
## Referencia de comandos
|
||||
- `nix-format-buffer`: Formatea el buffer usando `nixfmt`.
|
||||
- Configuración: `(setq nix-nixfmt-bin "nixfmt")`.
|
||||
- Consejo: ¿Prefieres otro formateador? Instálalo y ajusta `nix-nixfmt-bin` (p. ej., `"alejandra"` o `"nixpkgs-fmt"`).
|
||||
- `nix-build`: Inicia una construcción para el archivo/contexto actual.
|
||||
- `nix-shell`: Abre un shell de desarrollo derivado de la expresión Nix actual.
|
||||
- `nix-unpack`: Desempaqueta la fuente de una derivación (útil para inspeccionar fuentes).
|
||||
- `nix-repl-show`: Muestra información de símbolo desde una sesión del REPL de Nix.
|
||||
- `nix-update-fetch`: Actualiza atributos de fetcher (rev, sha256, etc.).
|
||||
- `+nix/lookup-option`: Salta a la documentación de una opción de NixOS usando la integración con `nixos-options`.
|
||||
|
||||
## Consejos
|
||||
- Asegúrate de estar editando un archivo `.nix` para que `SPC m` (modo mayor) esté disponible.
|
||||
- Para funciones LSP (documentación, autocompletado, diagnósticos), verifica que el servidor `nil` esté instalado y activo.
|
||||
|
||||
## Solución de problemas
|
||||
- ¿Comandos no disponibles en Emacs? Ejecuta `~/.emacs.d/bin/doom sync` y reinicia Emacs.
|
||||
- ¿El formateador no funciona? Verifica que `nixfmt` (u otro) esté en tu PATH y que `nix-nixfmt-bin` coincida con su nombre.
|
||||
- ¿La búsqueda de opciones no funciona? Asegúrate de tener `nixos-options` instalado y que `:tools lookup` esté habilitado en Doom.
|
||||
|
||||
45
cheatsheets/emacs/emacs.nix.cheatsheet.md
Normal file
45
cheatsheets/emacs/emacs.nix.cheatsheet.md
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
English | [Español](./emacs.nix.cheatsheet.es.md)
|
||||
|
||||
# Doom Emacs + Nix Cheatsheet
|
||||
|
||||
This guide lists the Nix commands and keybindings configured in your Doom Emacs.
|
||||
|
||||
## Requirements
|
||||
- Doom module enabled: `(nix +tree-sitter +lsp)` in `~/.doom.d/init.el`
|
||||
- Packages installed (via `~/.doom.d/packages.el`): `nix`, `nix-update`, `nixos-options`
|
||||
- Nix tooling available on system: `nix`, `nixfmt` (or your preferred formatter)
|
||||
- Optional but recommended: `nil` (Nix LSP)
|
||||
|
||||
## Leader key conventions
|
||||
- `SPC` = Doom leader
|
||||
- `SPC m` = Major mode menu (contextual to current buffer, e.g., Nix buffers)
|
||||
|
||||
## Nix keybindings
|
||||
- `SPC m f` → `nix-format-buffer` — Format current Nix buffer (uses `nixfmt` by default)
|
||||
- `SPC m b` → `nix-build` — Build the current derivation / expression
|
||||
- `SPC m s` → `nix-shell` — Open a `nix-shell`
|
||||
- `SPC m u` → `nix-unpack` — Unpack a Nix source
|
||||
- `SPC m r` → `nix-repl-show` — Show symbol info in Nix REPL
|
||||
- `SPC m U` → `nix-update-fetch` — Update fetchers/hashes in Nix expressions
|
||||
- `SPC m o` → `+nix/lookup-option` — Lookup NixOS option (requires `:tools lookup` and `nixos-options`)
|
||||
|
||||
## Command reference
|
||||
- `nix-format-buffer`: Formats the current buffer using `nixfmt`.
|
||||
- Configured via `(setq nix-nixfmt-bin "nixfmt")`.
|
||||
- Tip: Prefer a different formatter? Install it and set `nix-nixfmt-bin` accordingly (e.g., `"alejandra"` or `"nixpkgs-fmt"`).
|
||||
- `nix-build`: Triggers a build for the current file/context.
|
||||
- `nix-shell`: Opens a development shell derived from the current Nix expression.
|
||||
- `nix-unpack`: Unpacks the source for a derivation (useful to inspect sources).
|
||||
- `nix-repl-show`: Displays symbol info from a Nix REPL session.
|
||||
- `nix-update-fetch`: Updates fetcher attributes (rev, sha256, etc.).
|
||||
- `+nix/lookup-option`: Jumps to documentation for a NixOS option using `nixos-options` integration.
|
||||
|
||||
## Tips
|
||||
- Ensure you are editing a `.nix` file so the `SPC m` (major mode) bindings are available.
|
||||
- For LSP features (hover docs, completion, diagnostics), make sure the `nil` language server is installed and running.
|
||||
|
||||
## Troubleshooting
|
||||
- Commands not found in Emacs? Run `~/.emacs.d/bin/doom sync`, then restart Emacs.
|
||||
- Formatter not working? Verify `nixfmt` (or chosen formatter) is on your PATH and `nix-nixfmt-bin` matches its name.
|
||||
- Option lookup not working? Ensure `nixos-options` is installed and Doom’s `:tools lookup` is enabled.
|
||||
|
||||
123
cheatsheets/ghostty/ghostty.cheatsheet.es.md
Normal file
123
cheatsheets/ghostty/ghostty.cheatsheet.es.md
Normal file
|
|
@ -0,0 +1,123 @@
|
|||
[English](./ghostty.cheatsheet.md) | Español
|
||||
|
||||
# Ghostty en ZaneyOS — Resumen y Cheatsheet
|
||||
## 🚀 Resumen de modules/home/terminals/ghostty.nix
|
||||
|
||||
- Programa
|
||||
- Ghostty habilitado con el paquete de Nix: pkgs.ghostty
|
||||
- Integraciones de shell: Fish, Zsh, Bash
|
||||
- clearDefaultKeybinds = true (todos los atajos se definen explícitamente a continuación)
|
||||
|
||||
- Apariencia
|
||||
- Título: ZaneyOS-GhosTTY
|
||||
- TERM: xterm-256color
|
||||
- Tema: oscuro: catppuccin-mocha; claro: catppuccin-mocha
|
||||
- Tema de la ventana: oscuro
|
||||
- Fuente: Maple Mono NF, tamaño 12
|
||||
- Ajuste de altura de celda: +10%
|
||||
- Opacidad del fondo: 1.00 (opaco)
|
||||
- Radio de desenfoque del fondo: 60
|
||||
- Estilo del cursor: barra
|
||||
- Colores de selección: fondo #2d3f76, frente #c8d3f5
|
||||
- Opacidad de división sin foco: 0.5
|
||||
- Posición de terminal rápida: centro
|
||||
|
||||
- Ventana y Comportamiento
|
||||
- Tamaño de ventana predeterminado: 110x32 (columnas x filas)
|
||||
- Confirmar cierre de superficie: false
|
||||
- Esperar después del comando: false
|
||||
- Integración de shell: detectar; características: cursor, sudo
|
||||
- Estado de guardado de ventana: siempre
|
||||
- Instancia única de GTK: true
|
||||
- Ratón: ocultar al escribir: true
|
||||
|
||||
- Atajos de Teclado (esquema de prefijo Super/Alt)
|
||||
- El acorde personalizado tipo líder usa Alt+s y luego la tecla, ej. alt+s>c
|
||||
- Portapapeles estándar y tamaño de fuente con acordes Ctrl+Shift
|
||||
- Pestañas, divisiones, navegación, zoom, ecualizar definidos a continuación
|
||||
|
||||
---
|
||||
|
||||
## 🗝️ Cheatsheet de Atajos de Teclado
|
||||
|
||||
Portapapeles
|
||||
- Ctrl+Shift+C — copy_to_clipboard
|
||||
- Ctrl+Shift+V — paste_from_clipboard
|
||||
|
||||
Tamaño de fuente
|
||||
- Ctrl+Shift+= (más) — increase_font_size:1
|
||||
- Ctrl+Shift+- (menos) — decrease_font_size:1
|
||||
- Ctrl+Shift+0 — reset_font_size
|
||||
|
||||
Sesión
|
||||
- Alt+s r — reload_config
|
||||
- Alt+s x — close_surface
|
||||
- Alt+s n — new_window
|
||||
|
||||
Pestañas
|
||||
- Alt+s c — new_tab
|
||||
- Alt+s Shift+L — next_tab
|
||||
- Alt+s Shift+H — previous_tab
|
||||
- Alt+s , — move_tab:-1
|
||||
- Alt+s . — move_tab:+1
|
||||
- Alt+s 1..9 — goto_tab:N
|
||||
|
||||
Divisiones
|
||||
- Alt+s \ — new_split:right
|
||||
- Alt+s - — new_split:down
|
||||
- Alt+s j — goto_split:bottom
|
||||
- Alt+s k — goto_split:top
|
||||
- Alt+s h — goto_split:left
|
||||
- Alt+s l — goto_split:right
|
||||
- Alt+s z — toggle_split_zoom
|
||||
- Alt+s e — equalize_splits
|
||||
|
||||
Notas
|
||||
- clearDefaultKeybinds = true significa que solo los anteriores están activos.
|
||||
- La notación Alt+s> denota un acorde de dos teclas: mantén presionado Alt, presiona s, luego la siguiente tecla.
|
||||
|
||||
---
|
||||
|
||||
## ⚙️ Referencia de Opciones Predeterminadas (según configuración)
|
||||
|
||||
Terminal y ventana
|
||||
- term: xterm-256color
|
||||
- window-width: 110
|
||||
- window-height: 32
|
||||
- window-theme: dark
|
||||
- window-save-state: always
|
||||
- gtk-single-instance: true
|
||||
- quick-terminal-position: center
|
||||
|
||||
Apariencia
|
||||
- theme: catppuccin-mocha (oscuro y claro mapeados a mocha)
|
||||
- font-family: Maple Mono NF
|
||||
- font-size: 12
|
||||
- adjust-cell-height: 10%
|
||||
- background-opacity: 1.00
|
||||
- background-blur-radius: 60
|
||||
- selection-background: #2d3f76
|
||||
- selection-foreground: #c8d3f5
|
||||
- cursor-style: bar
|
||||
- unfocused-split-opacity: 0.5
|
||||
|
||||
Comportamiento
|
||||
- confirm-close-surface: false
|
||||
- mouse-hide-while-typing: true
|
||||
- wait-after-command: false
|
||||
- shell-integration: detect
|
||||
- shell-integration-features: cursor,sudo
|
||||
|
||||
Integraciones
|
||||
- Integraciones de Fish, Zsh, Bash habilitadas
|
||||
|
||||
---
|
||||
|
||||
## 📝 Notas de Estilo/Formato
|
||||
|
||||
Este cheatsheet refleja el estilo de tus cheatsheets de Emacs:
|
||||
- Encabezados de sección claros con emoji
|
||||
- Listas con viñetas con descripciones concisas
|
||||
- Bloques cortos de "Notas" para comportamientos especiales
|
||||
|
||||
Si lo deseas, puedo enlazar esto desde un índice central o agregar más consejos de Ghostty (temas, indicadores de rendimiento, solución de problemas).
|
||||
123
cheatsheets/ghostty/ghostty.cheatsheet.md
Normal file
123
cheatsheets/ghostty/ghostty.cheatsheet.md
Normal file
|
|
@ -0,0 +1,123 @@
|
|||
English | [Español](./ghostty.cheatsheet.es.md)
|
||||
|
||||
# Ghostty on ZaneyOS — Summary & Cheatsheet
|
||||
## 🚀 Summary of modules/home/terminals/ghostty.nix
|
||||
|
||||
- Program
|
||||
- Ghostty enabled with Nix package: pkgs.ghostty
|
||||
- Shell integrations: Fish, Zsh, Bash
|
||||
- clearDefaultKeybinds = true (all bindings are explicitly defined below)
|
||||
|
||||
- Appearance
|
||||
- Title: ZaneyOS-GhosTTY
|
||||
- TERM: xterm-256color
|
||||
- Theme: dark: catppuccin-mocha; light: catppuccin-mocha
|
||||
- Window theme: dark
|
||||
- Font: Maple Mono NF, size 12
|
||||
- Cell height adjustment: +10%
|
||||
- Background opacity: 1.00 (opaque)
|
||||
- Background blur radius: 60
|
||||
- Cursor style: bar
|
||||
- Selection colors: bg #2d3f76, fg #c8d3f5
|
||||
- Unfocused split opacity: 0.5
|
||||
- Quick terminal position: center
|
||||
|
||||
- Window and Behavior
|
||||
- Default window size: 110x32 (cols x rows)
|
||||
- Confirm close surface: false
|
||||
- Wait after command: false
|
||||
- Shell integration: detect; features: cursor, sudo
|
||||
- Window save state: always
|
||||
- GTK single instance: true
|
||||
- Mouse: hide while typing: true
|
||||
|
||||
- Keybindings (Super/Alt prefix scheme)
|
||||
- Custom leader-like chord uses Alt+s then key, e.g. alt+s>c
|
||||
- Standard clipboard and font size with Ctrl+Shift chords
|
||||
- Tabs, splits, navigation, zoom, equalize defined below
|
||||
|
||||
---
|
||||
|
||||
## 🗝️ Keybindings Cheatsheet
|
||||
|
||||
Clipboard
|
||||
- Ctrl+Shift+C — copy_to_clipboard
|
||||
- Ctrl+Shift+V — paste_from_clipboard
|
||||
|
||||
Font size
|
||||
- Ctrl+Shift+= (plus) — increase_font_size:1
|
||||
- Ctrl+Shift+- (minus) — decrease_font_size:1
|
||||
- Ctrl+Shift+0 — reset_font_size
|
||||
|
||||
Session
|
||||
- Alt+s r — reload_config
|
||||
- Alt+s x — close_surface
|
||||
- Alt+s n — new_window
|
||||
|
||||
Tabs
|
||||
- Alt+s c — new_tab
|
||||
- Alt+s Shift+L — next_tab
|
||||
- Alt+s Shift+H — previous_tab
|
||||
- Alt+s , — move_tab:-1
|
||||
- Alt+s . — move_tab:+1
|
||||
- Alt+s 1..9 — goto_tab:N
|
||||
|
||||
Splits
|
||||
- Alt+s \ — new_split:right
|
||||
- Alt+s - — new_split:down
|
||||
- Alt+s j — goto_split:bottom
|
||||
- Alt+s k — goto_split:top
|
||||
- Alt+s h — goto_split:left
|
||||
- Alt+s l — goto_split:right
|
||||
- Alt+s z — toggle_split_zoom
|
||||
- Alt+s e — equalize_splits
|
||||
|
||||
Notes
|
||||
- clearDefaultKeybinds = true means only the above are active.
|
||||
- The Alt+s> notation denotes a two-key chord: hold Alt, press s, then the next key.
|
||||
|
||||
---
|
||||
|
||||
## ⚙️ Default Options Reference (as configured)
|
||||
|
||||
Terminal and window
|
||||
- term: xterm-256color
|
||||
- window-width: 110
|
||||
- window-height: 32
|
||||
- window-theme: dark
|
||||
- window-save-state: always
|
||||
- gtk-single-instance: true
|
||||
- quick-terminal-position: center
|
||||
|
||||
Appearance
|
||||
- theme: catppuccin-mocha (dark and light mapped to mocha)
|
||||
- font-family: Maple Mono NF
|
||||
- font-size: 12
|
||||
- adjust-cell-height: 10%
|
||||
- background-opacity: 1.00
|
||||
- background-blur-radius: 60
|
||||
- selection-background: #2d3f76
|
||||
- selection-foreground: #c8d3f5
|
||||
- cursor-style: bar
|
||||
- unfocused-split-opacity: 0.5
|
||||
|
||||
Behavior
|
||||
- confirm-close-surface: false
|
||||
- mouse-hide-while-typing: true
|
||||
- wait-after-command: false
|
||||
- shell-integration: detect
|
||||
- shell-integration-features: cursor,sudo
|
||||
|
||||
Integrations
|
||||
- Fish, Zsh, Bash integrations enabled
|
||||
|
||||
---
|
||||
|
||||
## 📝 Style/Formatting Notes
|
||||
|
||||
This cheatsheet mirrors your Emacs cheatsheets style:
|
||||
- Clear section headers with emoji
|
||||
- Bulleted lists with concise descriptions
|
||||
- Short “Notes” blocks for special behaviors
|
||||
|
||||
If you’d like, I can link this from a central index or add more Ghostty tips (themes, performance flags, troubleshooting).
|
||||
164
cheatsheets/hyprland-customization-guide.es.md
Normal file
164
cheatsheets/hyprland-customization-guide.es.md
Normal file
|
|
@ -0,0 +1,164 @@
|
|||
# Guía de Personalización de Hyprland en ZaneyOS
|
||||
|
||||
Esta guía ofrece una visión práctica para personalizar tu experiencia con Hyprland en ZaneyOS. Veremos los archivos más relevantes, qué hacen y pequeños cambios seguros que puedes aplicar.
|
||||
|
||||
Nota: Estos archivos están escritos en Nix. Un pequeño error de sintaxis puede romper las compilaciones. Realiza un cambio a la vez y mantén tus ediciones bajo control de versiones.
|
||||
|
||||
## Aplicar tus cambios
|
||||
|
||||
Preferido (específico de ZaneyOS):
|
||||
- `zcli rebuild`
|
||||
- Nota: el alias `fr` está obsoleto.
|
||||
|
||||
Método manual de respaldo (funciona en cualquier instalación):
|
||||
- Desde la raíz del repo, reemplaza PROFILE por tu perfil (intel, nvidia, nvidia-laptop, amd-hybrid, vm):
|
||||
- `sudo nixos-rebuild switch --flake .#PROFILE`
|
||||
|
||||
---
|
||||
|
||||
### `binds.nix` — Atajos de teclado
|
||||
|
||||
Controla atajos de teclado y ratón.
|
||||
|
||||
Ubicación: `modules/home/hyprland/binds.nix`
|
||||
|
||||
Formato: `MODIFICADOR, TECLA, DISPATCHER, VALOR`
|
||||
|
||||
Ejemplo: Cambiar la terminal de Super+Return a Super+T
|
||||
|
||||
```nix
|
||||
# ...
|
||||
bind = [
|
||||
# ...
|
||||
"$modifier,T,exec, ${terminal}"
|
||||
# ...
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `exec-once.nix` — Aplicaciones al iniciar
|
||||
|
||||
Comandos que se ejecutan automáticamente con Hyprland.
|
||||
|
||||
Ubicación: `modules/home/hyprland/exec-once.nix`
|
||||
|
||||
Ejemplo: Añadir copyq al inicio
|
||||
|
||||
```nix
|
||||
# ...
|
||||
exec-once = [
|
||||
# ...
|
||||
"pypr &"
|
||||
"copyq"
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `decoration.nix` — Bordes, sombras, desenfoque
|
||||
|
||||
Ubicación: `modules/home/hyprland/decoration.nix`
|
||||
|
||||
Ejemplo: Esquinas redondeadas
|
||||
|
||||
```nix
|
||||
# ...
|
||||
decoration = {
|
||||
rounding = 10;
|
||||
};
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `env.nix` — Variables de entorno
|
||||
|
||||
Ubicación: `modules/home/hyprland/env.nix`
|
||||
|
||||
Ejemplo: Habilitar Wayland para Firefox
|
||||
|
||||
```nix
|
||||
# ...
|
||||
env = [
|
||||
"SDL_VIDEODRIVER, wayland"
|
||||
"MOZ_ENABLE_WAYLAND, 1"
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `gestures.nix` — Gestos del touchpad
|
||||
|
||||
Ubicación: `modules/home/hyprland/gestures.nix`
|
||||
|
||||
Ejemplo: Desactivar deslizamiento entre espacios
|
||||
|
||||
```nix
|
||||
# ...
|
||||
gestures = {
|
||||
workspace_swipe = 0;
|
||||
};
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `misc.nix` — Ajustes varios
|
||||
|
||||
Ubicación: `modules/home/hyprland/misc.nix`
|
||||
|
||||
Ejemplo: Activar Frecuencia de Actualización Variable (VRR)
|
||||
|
||||
```nix
|
||||
# ...
|
||||
misc = {
|
||||
vrr = 1;
|
||||
};
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `hyprland.nix` — Configuración principal
|
||||
|
||||
Ubicación: `modules/home/hyprland/hyprland.nix`
|
||||
|
||||
Ejemplo: Distribución del teclado
|
||||
|
||||
```nix
|
||||
# ...
|
||||
input = {
|
||||
kb_layout = "us";
|
||||
};
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `windowrules.nix` — Reglas de ventanas
|
||||
|
||||
Ubicación: `modules/home/hyprland/windowrules.nix`
|
||||
|
||||
Ejemplo: Hacer que Thunar flote siempre
|
||||
|
||||
```nix
|
||||
# ...
|
||||
windowrule = [
|
||||
"float, class:^(foot-floating)$"
|
||||
"float, class:^(Thunar)$"
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Consejos útiles
|
||||
|
||||
- Realiza un cambio a la vez y recompila para validar.
|
||||
- Mantén una terminal abierta mientras experimentas por si cambias el atajo del lanzador.
|
||||
- Si algo se rompe, reinicia y elige una generación anterior en el menú de arranque.
|
||||
|
||||
164
cheatsheets/hyprland-customization-guide.md
Normal file
164
cheatsheets/hyprland-customization-guide.md
Normal file
|
|
@ -0,0 +1,164 @@
|
|||
# A Guide to Customizing Hyprland in ZaneyOS
|
||||
|
||||
This guide provides a practical overview for customizing your Hyprland experience in ZaneyOS. We’ll cover the most relevant files, what they do, and small, safe edits you can make.
|
||||
|
||||
Note: These files are written in Nix. A small syntax error can break builds. Make one change at a time and keep your edits under version control.
|
||||
|
||||
## Applying your changes
|
||||
|
||||
Preferred (ZaneyOS-specific):
|
||||
- `zcli rebuild`
|
||||
- Note: The `fr` alias is deprecated.
|
||||
|
||||
Manual backup method (works anywhere):
|
||||
- From the repo root, replace PROFILE with your profile (intel, nvidia, nvidia-laptop, amd-hybrid, vm):
|
||||
- `sudo nixos-rebuild switch --flake .#PROFILE`
|
||||
|
||||
---
|
||||
|
||||
### `binds.nix` — Keybindings
|
||||
|
||||
Controls keyboard and mouse shortcuts.
|
||||
|
||||
Location: `modules/home/hyprland/binds.nix`
|
||||
|
||||
Format: `MODIFIER, KEY, DISPATCHER, VALUE`
|
||||
|
||||
Example: Change terminal from Super+Return to Super+T
|
||||
|
||||
```nix
|
||||
# ...
|
||||
bind = [
|
||||
# ...
|
||||
"$modifier,T,exec, ${terminal}"
|
||||
# ...
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `exec-once.nix` — Startup applications
|
||||
|
||||
Commands that start automatically with Hyprland.
|
||||
|
||||
Location: `modules/home/hyprland/exec-once.nix`
|
||||
|
||||
Example: Add copyq to autostart
|
||||
|
||||
```nix
|
||||
# ...
|
||||
exec-once = [
|
||||
# ...
|
||||
"pypr &"
|
||||
"copyq"
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `decoration.nix` — Borders, shadows, blur
|
||||
|
||||
Location: `modules/home/hyprland/decoration.nix`
|
||||
|
||||
Example: Rounded corners
|
||||
|
||||
```nix
|
||||
# ...
|
||||
decoration = {
|
||||
rounding = 10;
|
||||
};
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `env.nix` — Environment variables
|
||||
|
||||
Location: `modules/home/hyprland/env.nix`
|
||||
|
||||
Example: Enable Wayland for Firefox
|
||||
|
||||
```nix
|
||||
# ...
|
||||
env = [
|
||||
"SDL_VIDEODRIVER, wayland"
|
||||
"MOZ_ENABLE_WAYLAND, 1"
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `gestures.nix` — Touchpad gestures
|
||||
|
||||
Location: `modules/home/hyprland/gestures.nix`
|
||||
|
||||
Example: Disable workspace swipe
|
||||
|
||||
```nix
|
||||
# ...
|
||||
gestures = {
|
||||
workspace_swipe = 0;
|
||||
};
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `misc.nix` — Misc settings
|
||||
|
||||
Location: `modules/home/hyprland/misc.nix`
|
||||
|
||||
Example: Enable Variable Refresh Rate
|
||||
|
||||
```nix
|
||||
# ...
|
||||
misc = {
|
||||
vrr = 1;
|
||||
};
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `hyprland.nix` — Main configuration
|
||||
|
||||
Location: `modules/home/hyprland/hyprland.nix`
|
||||
|
||||
Example: Keyboard layout
|
||||
|
||||
```nix
|
||||
# ...
|
||||
input = {
|
||||
kb_layout = "us";
|
||||
};
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `windowrules.nix` — Window rules
|
||||
|
||||
Location: `modules/home/hyprland/windowrules.nix`
|
||||
|
||||
Example: Float Thunar always
|
||||
|
||||
```nix
|
||||
# ...
|
||||
windowrule = [
|
||||
"float, class:^(foot-floating)$"
|
||||
"float, class:^(Thunar)$"
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Helpful tips
|
||||
|
||||
- Make one change at a time and rebuild to validate.
|
||||
- Keep a terminal open during experiments in case your launcher keybind changes.
|
||||
- If something breaks, reboot and choose a previous generation in the boot menu.
|
||||
|
||||
|
|
@ -0,0 +1,213 @@
|
|||
# Cómo tematizar o añadir Waybars en ZaneyOS
|
||||
|
||||
Esta guía muestra cómo ZaneyOS selecciona y configura Waybar, cómo añadir tu propio módulo de Waybar y cómo personalizar fuentes, tamaños, colores, iconos, widgets y layout. También indica dónde colocar scripts y una nota crítica sobre git add para evitar fallos de rebuild.
|
||||
|
||||
## Módulos Waybar disponibles
|
||||
Guardados en modules/home/waybar/:
|
||||
- waybar-tony.nix
|
||||
- waybar-ddubs.nix
|
||||
- waybar-ddubsos-v1.nix
|
||||
- waybar-dwm.nix
|
||||
- waybar-curved.nix
|
||||
- waybar-simple.nix
|
||||
- waybar-ddubs-2.nix
|
||||
- waybar-mecha.nix
|
||||
- waybar-dwm2.nix
|
||||
- waybar-nekodyke.nix
|
||||
- Jerry-waybar.nix
|
||||
|
||||
## Dónde seleccionas tu Waybar
|
||||
Selecciona el módulo en hosts/default/variables.nix vía waybarChoice. Ejemplo (extracto real):
|
||||
```nix path=/home/dwilliams/ZaneyOS/hosts/default/variables.nix start=73
|
||||
# Set Waybar
|
||||
# Includes alternates such as:
|
||||
# Comment out the current choice and uncomment the one you want
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-curved.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/Jerry-waybars.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-simple.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-mecha.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-nekodyke.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs.nix;
|
||||
waybarChoice = ../../modules/home/waybar/waybar-tony.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs-2.nix;
|
||||
```
|
||||
Notas:
|
||||
- Asegúrate de que la ruta coincide con un archivo real bajo modules/home/waybar/. Por ejemplo, la lista incluye Jerry-waybar.nix (singular) pero el comentario muestra Jerry-waybars.nix (plural). Usa el nombre correcto para evitar errores de build.
|
||||
|
||||
## CRÍTICO: usa git add o fallará el rebuild
|
||||
Cuando añadas un archivo Waybar o scripts que use, debes prepararlos con git antes de reconstruir, o Nix no verá esas rutas y fallará la build.
|
||||
- Ejemplo:
|
||||
```bash path=null start=null
|
||||
# Añade tu módulo y scripts
|
||||
git add modules/home/waybar/my-waybar.nix modules/home/waybar/scripts/my-widget.sh
|
||||
# Commit (opcional pero recomendado)
|
||||
git commit -m "Add my Waybar module and widget script"
|
||||
```
|
||||
|
||||
## Cómo están estructurados los módulos Waybar aquí
|
||||
- Exponen un módulo de Home Manager que define programs.waybar.settings (config estilo JSON) y programs.waybar.style (CSS).
|
||||
- Copian scripts auxiliares a ~/.config/waybar/scripts desde un directorio compartido scripts.
|
||||
|
||||
Ejemplo: waybar-tony.nix copia scripts y define config y CSS de Waybar:
|
||||
```nix path=/home/dwilliams/ZaneyOS/modules/home/waybar/waybar-tony.nix start=15
|
||||
# Configure & Theme Waybar (Tony)
|
||||
home.file = builtins.listToAttrs (map
|
||||
(name: {
|
||||
name = ".config/waybar/scripts/" + name;
|
||||
value = {
|
||||
source = "${scriptsDir}/${name}";
|
||||
executable = true;
|
||||
};
|
||||
})
|
||||
scripts);
|
||||
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
package = pkgs.waybar;
|
||||
settings = [
|
||||
{
|
||||
layer = "top";
|
||||
position = "top";
|
||||
height = 30;
|
||||
spacing = 4;
|
||||
modules-left = [
|
||||
"custom/startmenu" "hyprland/workspaces" "custom/sep" "tray" "custom/sep" "hyprland/window" "custom/sep"
|
||||
];
|
||||
modules-center = [ "custom/sep" "idle_inhibitor" "custom/notification" "custom/sep" ];
|
||||
modules-right = [ "custom/sep" "pulseaudio" "network" "cpu" "memory" "clock" "custom/sep" "custom/power" ];
|
||||
# ... component configs ...
|
||||
}
|
||||
];
|
||||
style = concatStrings [
|
||||
''
|
||||
@define-color bg #1a1b26;
|
||||
@define-color fg #a9b1d6;
|
||||
* { font-family: "JetBrainsMono Nerd Font", monospace; font-size: 16px; font-weight: bold; }
|
||||
window#waybar { background-color: @bg; color: @fg; }
|
||||
#workspaces button { padding: 0 6px; color: @cyn; }
|
||||
#clock { color: @cyn; border-bottom: 4px solid @cyn; }
|
||||
#pulseaudio { color: @blu; border-bottom: 4px solid @blu; }
|
||||
#idle_inhibitor.activated { color: @grn; border-bottom: 4px solid @grn; }
|
||||
''
|
||||
];
|
||||
};
|
||||
```
|
||||
Puntos clave:
|
||||
- El layout se controla con modules-left, modules-center y modules-right.
|
||||
- La configuración de cada módulo (p. ej., hyprland/workspaces, pulseaudio) va en el mismo objeto.
|
||||
- El CSS controla tipografías, tamaños, colores, bordes y espaciado.
|
||||
- scriptsDir = ./scripts relativo al archivo; se instalan en ~/.config/waybar/scripts y se marcan como ejecutables.
|
||||
|
||||
## Añadir tu propio Waybar (paso a paso)
|
||||
1) Copia un módulo como base:
|
||||
```bash path=null start=null
|
||||
cp modules/home/waybar/waybar-simple.nix modules/home/waybar/my-waybar.nix
|
||||
```
|
||||
2) (Opcional) Añade scripts auxiliares en modules/home/waybar/scripts/.
|
||||
3) Apunta variables.nix a tu módulo:
|
||||
```nix path=/home/dwilliams/ZaneyOS/hosts/default/variables.nix start=81
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs.nix;
|
||||
waybarChoice = ../../modules/home/waybar/waybar-tony.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs-2.nix;
|
||||
```
|
||||
Cámbialo a:
|
||||
```nix path=null start=null
|
||||
waybarChoice = ../../modules/home/waybar/my-waybar.nix;
|
||||
```
|
||||
4) Prepara los archivos antes de reconstruir (crítico):
|
||||
```bash path=null start=null
|
||||
git add modules/home/waybar/my-waybar.nix modules/home/waybar/scripts/*
|
||||
```
|
||||
5) Reconstruye como siempre.
|
||||
|
||||
## Ejemplos de personalización
|
||||
1) Cambiar tipografía y tamaño (CSS)
|
||||
```css path=/home/dwilliams/ZaneyOS/modules/home/waybar/waybar-tony.nix start=207
|
||||
* {
|
||||
font-family: "JetBrainsMono Nerd Font", monospace;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
```
|
||||
2) Mover widgets izquierda/centro/derecha
|
||||
```nix path=/home/dwilliams/ZaneyOS/modules/home/waybar/waybar-simple.nix start=28
|
||||
modules-center = [ "hyprland/workspaces" ];
|
||||
modules-left = [ "custom/startmenu" "custom/arrow6" "pulseaudio" "cpu" "memory" "idle_inhibitor" "custom/arrow7" "hyprland/window" ];
|
||||
modules-right = [ "custom/arrow4" "custom/hyprbindings" "custom/arrow3" "custom/notification" "custom/arrow3" "custom/power" "battery" "custom/arrow2" "tray" "custom/arrow1" "clock" ];
|
||||
```
|
||||
3) Cambiar colores y estilos de botones
|
||||
```css path=/home/dwilliams/ZaneyOS/modules/home/waybar/waybar-tony.nix start=218
|
||||
#workspaces button {
|
||||
padding: 0 6px;
|
||||
color: @cyn;
|
||||
background: transparent;
|
||||
border-bottom: 3px solid @bg;
|
||||
}
|
||||
#workspaces button.active {
|
||||
color: @cyn;
|
||||
border-bottom: 3px solid @mag;
|
||||
}
|
||||
```
|
||||
4) Añadir iconos o cambiar etiquetas
|
||||
```nix path=/home/dwilliams/ZaneyOS/modules/home/waybar/waybar-ddubs.nix start=104
|
||||
"pulseaudio" = {
|
||||
format = "{icon} {volume}% {format_source}";
|
||||
format-icons = {
|
||||
headphone = "";
|
||||
default = [ "" "" "" ];
|
||||
};
|
||||
};
|
||||
```
|
||||
5) Añadir un widget que ejecute un script
|
||||
```nix path=null start=null
|
||||
"custom/mywidget" = {
|
||||
exec = "~/.config/waybar/scripts/my-widget.sh";
|
||||
return-type = "json";
|
||||
interval = 5;
|
||||
format = "{}";
|
||||
on-click = "kitty -e my-tool";
|
||||
};
|
||||
```
|
||||
6) Hacer la barra flotante o acoplada
|
||||
```nix path=null start=null
|
||||
settings = [
|
||||
{
|
||||
layer = "top";
|
||||
position = "top";
|
||||
mode = "overlay";
|
||||
# ...
|
||||
}
|
||||
];
|
||||
```
|
||||
```css path=null start=null
|
||||
window#waybar {
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
margin: 6px 10px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
```
|
||||
|
||||
## Dónde guardar scripts usados por widgets
|
||||
```nix path=/home/dwilliams/ZaneyOS/modules/home/waybar/waybar-ddubs.nix start=14
|
||||
home.file = builtins.listToAttrs (map (name: {
|
||||
name = ".config/waybar/scripts/" + name;
|
||||
value = { source = "${scriptsDir}/${name}"; executable = true; };
|
||||
}) scripts);
|
||||
```
|
||||
Copia todo desde ./scripts a ~/.config/waybar/scripts y marca ejecutable.
|
||||
|
||||
## Solución de problemas
|
||||
- Fallo de ruta: asegúrate de hacer git add de los archivos nuevos.
|
||||
- Nombre incorrecto en variables.nix: usa exactamente el nombre real.
|
||||
- Iconos faltan: instala una Nerd Font (p. ej., JetBrainsMono Nerd Font) y selecciónala en CSS.
|
||||
- Widgets faltan: confírmalos en modules-left/center/right y su bloque de config.
|
||||
|
||||
## Receta rápida
|
||||
1) Crea modules/home/waybar/my-waybar.nix (copia uno y edítalo)
|
||||
2) Añade scripts en modules/home/waybar/scripts/
|
||||
3) En variables.nix:
|
||||
```nix path=null start=null
|
||||
waybarChoice = ../../modules/home/waybar/my-waybar.nix;
|
||||
```
|
||||
4) git add de los archivos
|
||||
5) Reconstruye.
|
||||
254
cheatsheets/hyprland/How-to-theme-or-add-waybars-in-ddubsos.md
Normal file
254
cheatsheets/hyprland/How-to-theme-or-add-waybars-in-ddubsos.md
Normal file
|
|
@ -0,0 +1,254 @@
|
|||
# How to theme or add Waybars in ZaneyOS
|
||||
|
||||
This guide shows how ZaneyOS selects and configures Waybar, how to add your own Waybar module, and how to customize fonts, sizes, colors, icons, widgets, and layout. It also calls out where to put scripts and a critical note about git add to avoid rebuild failures.
|
||||
|
||||
|
||||
## Current Waybar modules available
|
||||
Saved in modules/home/waybar/:
|
||||
- waybar-tony.nix
|
||||
- waybar-ddubs.nix
|
||||
- waybar-ddubsos-v1.nix
|
||||
- waybar-dwm.nix
|
||||
- waybar-curved.nix
|
||||
- waybar-simple.nix
|
||||
- waybar-ddubs-2.nix
|
||||
- waybar-mecha.nix
|
||||
- waybar-dwm2.nix
|
||||
- waybar-nekodyke.nix
|
||||
- Jerry-waybar.nix
|
||||
- waybar-TheBlackDon.nix
|
||||
|
||||
|
||||
## Where you select your Waybar
|
||||
Select the Waybar module in hosts/default/variables.nix via waybarChoice. Example (actual excerpt):
|
||||
```nix path=/home/dwilliams/ZaneyOS/hosts/default/variables.nix start=73
|
||||
# Set Waybar
|
||||
# Includes alternates such as:
|
||||
# Comment out the current choice and uncomment the one you want
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-curved.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/Jerry-waybars.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-simple.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-mecha.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-nekodyke.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs.nix;
|
||||
waybarChoice = ../../modules/home/waybar/waybar-tony.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs-2.nix;
|
||||
```
|
||||
Notes:
|
||||
- Ensure the file path matches an actual file name under modules/home/waybar/. For example, the list includes Jerry-waybar.nix (singular), but the commented example shows Jerry-waybars.nix (plural). Use the actual filename to avoid build errors.
|
||||
|
||||
|
||||
## CRITICAL: git add or rebuild will fail
|
||||
When you add a new Waybar file or any scripts it uses, you must stage them in git before rebuilding, or Nix will not see those paths and the build will fail.
|
||||
- Example:
|
||||
```bash path=null start=null
|
||||
# Add your new module and scripts
|
||||
git add modules/home/waybar/my-waybar.nix modules/home/waybar/scripts/my-widget.sh
|
||||
# Commit (optional but recommended)
|
||||
git commit -m "Add my Waybar module and widget script"
|
||||
```
|
||||
|
||||
|
||||
## How Waybar modules are structured here
|
||||
Most Waybar modules follow this pattern:
|
||||
- They expose a Home Manager module that sets programs.waybar.settings (JSON-like config) and programs.waybar.style (CSS).
|
||||
- They also copy any helper scripts to ~/.config/waybar/scripts via a shared scripts directory.
|
||||
|
||||
Example: waybar-tony.nix copies scripts and sets Waybar config and CSS:
|
||||
```nix path=/home/dwilliams/ZaneyOS/modules/home/waybar/waybar-tony.nix start=15
|
||||
# Configure & Theme Waybar (Tony)
|
||||
home.file = builtins.listToAttrs (map
|
||||
(name: {
|
||||
name = ".config/waybar/scripts/" + name;
|
||||
value = {
|
||||
source = "${scriptsDir}/${name}";
|
||||
executable = true;
|
||||
};
|
||||
})
|
||||
scripts);
|
||||
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
package = pkgs.waybar;
|
||||
settings = [
|
||||
{
|
||||
layer = "top";
|
||||
position = "top";
|
||||
height = 30;
|
||||
spacing = 4;
|
||||
modules-left = [
|
||||
"custom/startmenu" "hyprland/workspaces" "custom/sep" "tray" "custom/sep" "hyprland/window" "custom/sep"
|
||||
];
|
||||
modules-center = [ "custom/sep" "idle_inhibitor" "custom/notification" "custom/sep" ];
|
||||
modules-right = [ "custom/sep" "pulseaudio" "network" "cpu" "memory" "clock" "custom/sep" "custom/power" ];
|
||||
# ... component configs ...
|
||||
}
|
||||
];
|
||||
style = concatStrings [
|
||||
''
|
||||
@define-color bg #1a1b26;
|
||||
@define-color fg #a9b1d6;
|
||||
* { font-family: "JetBrainsMono Nerd Font", monospace; font-size: 16px; font-weight: bold; }
|
||||
window#waybar { background-color: @bg; color: @fg; }
|
||||
#workspaces button { padding: 0 6px; color: @cyn; }
|
||||
#clock { color: @cyn; border-bottom: 4px solid @cyn; }
|
||||
#pulseaudio { color: @blu; border-bottom: 4px solid @blu; }
|
||||
#idle_inhibitor.activated { color: @grn; border-bottom: 4px solid @grn; }
|
||||
''
|
||||
];
|
||||
};
|
||||
```
|
||||
|
||||
Key takeaways:
|
||||
- Layout is controlled by modules-left, modules-center, and modules-right arrays.
|
||||
- Individual module settings (e.g., hyprland/workspaces, pulseaudio) are configured under the same top-level object.
|
||||
- CSS controls fonts, sizes, colors, borders, and spacing.
|
||||
- scriptsDir = ./scripts relative to the module file; any files inside that directory are installed into ~/.config/waybar/scripts and made executable.
|
||||
|
||||
|
||||
## Add your own Waybar module (step-by-step)
|
||||
1) Copy an existing module as a starting point, e.g.:
|
||||
```bash path=null start=null
|
||||
cp modules/home/waybar/waybar-simple.nix modules/home/waybar/my-waybar.nix
|
||||
```
|
||||
2) (Optional) Add any helper scripts your widgets will use into modules/home/waybar/scripts/ (they will be installed to ~/.config/waybar/scripts automatically by modules using scriptsDir = ./scripts).
|
||||
3) Point variables.nix to your new module:
|
||||
```nix path=/home/dwilliams/ZaneyOS/hosts/default/variables.nix start=81
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs.nix;
|
||||
waybarChoice = ../../modules/home/waybar/waybar-tony.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs-2.nix;
|
||||
```
|
||||
Change the active line to:
|
||||
```nix path=null start=null
|
||||
waybarChoice = ../../modules/home/waybar/my-waybar.nix;
|
||||
```
|
||||
4) Stage your files before rebuilding (critical):
|
||||
```bash path=null start=null
|
||||
git add modules/home/waybar/my-waybar.nix modules/home/waybar/scripts/*
|
||||
```
|
||||
5) Rebuild as you normally do for ZaneyOS.
|
||||
|
||||
|
||||
## Customization examples
|
||||
Below are quick edits you can make, demonstrated using existing modules.
|
||||
|
||||
1) Change font family and size (CSS)
|
||||
- In waybar-tony.nix:
|
||||
```css path=/home/dwilliams/ZaneyOS/modules/home/waybar/waybar-tony.nix start=207
|
||||
* {
|
||||
font-family: "JetBrainsMono Nerd Font", monospace;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
```
|
||||
Change font-family and font-size to your preference.
|
||||
|
||||
2) Move widgets left/center/right
|
||||
- In any module, edit modules-left, modules-center, modules-right arrays. For example in waybar-simple.nix:
|
||||
```nix path=/home/dwilliams/ZaneyOS/modules/home/waybar/waybar-simple.nix start=28
|
||||
modules-center = [ "hyprland/workspaces" ];
|
||||
modules-left = [ "custom/startmenu" "custom/arrow6" "pulseaudio" "cpu" "memory" "idle_inhibitor" "custom/arrow7" "hyprland/window" ];
|
||||
modules-right = [ "custom/arrow4" "custom/hyprbindings" "custom/arrow3" "custom/notification" "custom/arrow3" "custom/power" "battery" "custom/arrow2" "tray" "custom/arrow1" "clock" ];
|
||||
```
|
||||
Just reorder or move entries between arrays to place widgets where you want.
|
||||
|
||||
3) Change colors and button styles
|
||||
- In waybar-tony.nix, CSS color variables and workspace button styling:
|
||||
```css path=/home/dwilliams/ZaneyOS/modules/home/waybar/waybar-tony.nix start=218
|
||||
#workspaces button {
|
||||
padding: 0 6px;
|
||||
color: @cyn;
|
||||
background: transparent;
|
||||
border-bottom: 3px solid @bg;
|
||||
}
|
||||
#workspaces button.active {
|
||||
color: @cyn;
|
||||
border-bottom: 3px solid @mag;
|
||||
}
|
||||
```
|
||||
Adjust colors (e.g., @cyn, @mag) or borders as desired. You can also define your own @define-color variables at the top of the CSS block.
|
||||
|
||||
4) Add icons or change labels
|
||||
- Many modules set format and format-icons. Example (pulseaudio) in waybar-ddubs.nix:
|
||||
```nix path=/home/dwilliams/ZaneyOS/modules/home/waybar/waybar-ddubs.nix start=104
|
||||
"pulseaudio" = {
|
||||
format = "{icon} {volume}% {format_source}";
|
||||
format-icons = {
|
||||
headphone = "";
|
||||
default = [ "" "" "" ];
|
||||
};
|
||||
};
|
||||
```
|
||||
Replace icons with Nerd Font glyphs you prefer.
|
||||
|
||||
5) Add a new widget that runs a script
|
||||
- Waybar custom modules can execute scripts and display the output. Put your script in modules/home/waybar/scripts/ and configure a custom module:
|
||||
```nix path=null start=null
|
||||
"custom/mywidget" = {
|
||||
exec = "~/.config/waybar/scripts/my-widget.sh";
|
||||
return-type = "json"; # or "text" depending on your script
|
||||
interval = 5; # seconds
|
||||
format = "{}"; # how to render the output
|
||||
on-click = "kitty -e my-tool";
|
||||
};
|
||||
```
|
||||
- Scripts placed in modules/home/waybar/scripts/ are installed to ~/.config/waybar/scripts and marked executable by modules that include the home.file mapping.
|
||||
|
||||
6) Make the bar floating or docked
|
||||
- Waybar supports a mode field; CSS margins/transparency give a floating look:
|
||||
```nix path=null start=null
|
||||
settings = [
|
||||
{
|
||||
layer = "top";
|
||||
position = "top";
|
||||
mode = "overlay"; # overlay (floats), or "dock" (reserves space), or "invisible"
|
||||
# ...
|
||||
}
|
||||
];
|
||||
```
|
||||
- CSS for floating effect:
|
||||
```css path=null start=null
|
||||
window#waybar {
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
margin: 6px 10px; /* space from screen edges */
|
||||
border-radius: 12px;
|
||||
}
|
||||
```
|
||||
|
||||
7) Known Waybar modules you’ll see in ZaneyOS configs
|
||||
- Hyprland modules: hyprland/workspaces, hyprland/window, wlr/taskbar (wlroots taskbar)
|
||||
- System modules: clock, tray, cpu, memory, network, disk, battery, bluetooth, backlight, idle_inhibitor, mpris, temperature, pulseaudio
|
||||
- Custom modules: custom/* (e.g., custom/power, custom/notification, custom/startmenu, etc.)
|
||||
|
||||
|
||||
## Where to store scripts that widgets call
|
||||
- Place scripts under modules/home/waybar/scripts/.
|
||||
- Many Waybar modules here include:
|
||||
```nix path=/home/dwilliams/ZaneyOS/modules/home/waybar/waybar-ddubs.nix start=14
|
||||
home.file = builtins.listToAttrs (map (name: {
|
||||
name = ".config/waybar/scripts/" + name;
|
||||
value = { source = "${scriptsDir}/${name}"; executable = true; };
|
||||
}) scripts);
|
||||
```
|
||||
This copies all files from ./scripts (next to the module file) to ~/.config/waybar/scripts and makes them executable, so your Waybar configuration can reference them as ~/.config/waybar/scripts/<script>.
|
||||
|
||||
|
||||
## Troubleshooting
|
||||
- Build fails with a path error: make sure any new .nix files and scripts are tracked in git (git add). Nix requires the files to be present in the store; untracked files referenced in the config will cause errors.
|
||||
- Wrong filename in variables.nix: ensure the chosen waybarChoice path exactly matches an existing file.
|
||||
- Icons not showing: verify you have a Nerd Font installed (e.g., JetBrainsMono Nerd Font) and selected in CSS.
|
||||
- Widgets missing: confirm the widget is listed in modules-left/center/right arrays and that its settings block exists.
|
||||
|
||||
|
||||
## Quick recipe: add and use a new Waybar
|
||||
1) Create modules/home/waybar/my-waybar.nix (copy an existing one and edit).
|
||||
2) If needed, drop helper scripts into modules/home/waybar/scripts/.
|
||||
3) Update hosts/default/variables.nix:
|
||||
```nix path=null start=null
|
||||
waybarChoice = ../../modules/home/waybar/my-waybar.nix;
|
||||
```
|
||||
4) Stage files before rebuilding:
|
||||
```bash path=null start=null
|
||||
git add modules/home/waybar/my-waybar.nix modules/home/waybar/scripts/*
|
||||
```
|
||||
5) Rebuild.
|
||||
171
cheatsheets/hyprland/hyprland-customization-guide.es.md
Normal file
171
cheatsheets/hyprland/hyprland-customization-guide.es.md
Normal file
|
|
@ -0,0 +1,171 @@
|
|||
# Guía para personalizar Hyprland en ZaneyOS
|
||||
|
||||
Esta guía ofrece una visión detallada de cómo personalizar tu experiencia con Hyprland en ZaneyOS. Veremos los archivos de configuración más importantes, qué hacen y cómo puedes editarlos.
|
||||
|
||||
**Aviso:** Los archivos están escritos en el lenguaje Nix. La sintaxis es estricta y cualquier error puede impedir que tu sistema se reconstruya. Edita con cuidado y sigue los ejemplos.
|
||||
|
||||
## Aplicar cambios
|
||||
|
||||
Tras editar, aplica los cambios desde una terminal:
|
||||
|
||||
```bash path=null start=null
|
||||
zcli rebuild
|
||||
```
|
||||
|
||||
Esto reconstruirá el sistema con tu configuración. Si hay errores, el comando fallará.
|
||||
|
||||
---
|
||||
|
||||
### `binds.nix` - Atajos de teclado
|
||||
|
||||
Controla atajos de teclado y ratón en Hyprland.
|
||||
|
||||
**Ubicación:** `modules/home/hyprland/binds.nix`
|
||||
|
||||
Formato: cadena con valores separados por comas: `MODIFICADOR, TECLA, ACCIÓN, VALOR`.
|
||||
|
||||
**Ejemplo:** Cambiar el atajo para abrir la terminal de `SUPER + Return` a `SUPER + T`.
|
||||
|
||||
```nix path=null start=null
|
||||
# ...
|
||||
bind = [
|
||||
# ...
|
||||
"$modifier,T,exec, ${terminal}"
|
||||
# ...
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `exec-once.nix` - Aplicaciones al inicio
|
||||
|
||||
Lista de aplicaciones/comandos que se lanzan al iniciar Hyprland.
|
||||
|
||||
**Ubicación:** `modules/home/hyprland/exec-once.nix`
|
||||
|
||||
**Ejemplo:** Añadir `copyq` para que arranque siempre.
|
||||
|
||||
```nix path=null start=null
|
||||
# ...
|
||||
exec-once = [
|
||||
# ...
|
||||
"pypr &" # pyprland para terminal desplegable SUPERSHIFT + T
|
||||
"copyq"
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `decoration.nix` - Decoración de ventanas
|
||||
|
||||
Controla bordes, sombras y desenfoque.
|
||||
|
||||
**Ubicación:** `modules/home/hyprland/decoration.nix`
|
||||
|
||||
**Ejemplo:** Aumentar el redondeo de esquinas a `10`.
|
||||
|
||||
```nix path=null start=null
|
||||
# ...
|
||||
decoration = {
|
||||
rounding = 10;
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `env.nix` - Variables de entorno
|
||||
|
||||
Variables de entorno para la sesión.
|
||||
|
||||
**Ubicación:** `modules/home/hyprland/env.nix`
|
||||
|
||||
**Ejemplo:** Forzar Firefox en Wayland.
|
||||
|
||||
```nix path=null start=null
|
||||
# ...
|
||||
env = [
|
||||
# ...
|
||||
"SDL_VIDEODRIVER, wayland"
|
||||
"MOZ_ENABLE_WAYLAND, 1"
|
||||
# ...
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `gestures.nix` - Gestos del touchpad
|
||||
|
||||
Control de gestos (p. ej., cambio de espacios de trabajo).
|
||||
|
||||
**Ubicación:** `modules/home/hyprland/gestures.nix`
|
||||
|
||||
**Ejemplo:** Deshabilitar el swipe de espacios:
|
||||
|
||||
```nix path=null start=null
|
||||
# ...
|
||||
gestures = {
|
||||
workspace_swipe = 0;
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `misc.nix` - Miscelánea
|
||||
|
||||
Ajustes varios.
|
||||
|
||||
**Ubicación:** `modules/home/hyprland/misc.nix`
|
||||
|
||||
**Ejemplo:** Activar VRR (Variable Refresh Rate).
|
||||
|
||||
```nix path=null start=null
|
||||
# ...
|
||||
misc = {
|
||||
# ...
|
||||
vrr = 1;
|
||||
# ...
|
||||
};
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `hyprland.nix` - Configuración principal
|
||||
|
||||
Ajustes generales, dispositivos de entrada y layout.
|
||||
|
||||
**Ubicación:** `modules/home/hyprland/hyprland.nix`
|
||||
|
||||
**Ejemplo:** Cambiar la distribución de teclado a `us`.
|
||||
|
||||
```nix path=null start=null
|
||||
# ...
|
||||
input = {
|
||||
kb_layout = "us";
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `windowrules.nix` - Reglas de ventanas
|
||||
|
||||
Define comportamientos por aplicación (flotante, workspace, opacidad, etc.).
|
||||
|
||||
**Ubicación:** `modules/home/hyprland/windowrules.nix`
|
||||
|
||||
**Ejemplo:** Hacer que Thunar siempre flote.
|
||||
|
||||
```nix path=null start=null
|
||||
# ...
|
||||
windowrule = [
|
||||
# ...
|
||||
"float, class:^(foot-floating)$"
|
||||
"float, class:^(Thunar)$"
|
||||
# ...
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
302
cheatsheets/hyprland/hyprland-customization-guide.md
Normal file
302
cheatsheets/hyprland/hyprland-customization-guide.md
Normal file
|
|
@ -0,0 +1,302 @@
|
|||
# A Guide to Customizing Hyprland in ZaneyOS
|
||||
|
||||
This guide provides a more detailed look at how to customize your Hyprland experience in ZaneyOS. We'll go through the most important configuration files, explaining what they do and how you can edit them.
|
||||
|
||||
**A Word of Caution:** The configuration files are written in the Nix language. Nix has a very specific syntax, and any mistakes can prevent your system from building successfully. Always be careful when editing these files, and make sure to follow the examples closely.
|
||||
|
||||
## Applying Your Changes
|
||||
|
||||
After making any changes to these files, you'll need to apply them. Open a terminal and run:
|
||||
|
||||
```bash
|
||||
zcli rebuild
|
||||
```
|
||||
|
||||
This command will rebuild your system with the new configuration. If there are any errors in your configuration, this command will fail.
|
||||
|
||||
---
|
||||
|
||||
### `binds.nix` - Keybindings
|
||||
|
||||
This file controls all of your keyboard and mouse shortcuts in Hyprland.
|
||||
|
||||
**Location:** `modules/home/hyprland/binds.nix`
|
||||
|
||||
You can change existing keybindings or add new ones. The format is a string with comma-separated values: `MODIFIER, KEY, DISPATCHER, VALUE`.
|
||||
|
||||
**Example:**
|
||||
|
||||
Let's say you want to change the keybinding for opening a terminal from `SUPER + Return` to `SUPER + T`.
|
||||
|
||||
**Original:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
bind = [
|
||||
# ...
|
||||
"$modifier,Return,exec, ${terminal}"
|
||||
# ...
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
**Modified:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
bind = [
|
||||
# ...
|
||||
"$modifier,T,exec, ${terminal}"
|
||||
# ...
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `exec-once.nix` - Startup Applications
|
||||
|
||||
This file lists the applications and commands that run automatically when you start Hyprland.
|
||||
|
||||
**Location:** `modules/home/hyprland/exec-once.nix`
|
||||
|
||||
You can add or remove commands from this list. Each command is a string.
|
||||
|
||||
**Example:**
|
||||
|
||||
If you want to start the `copyq` application every time you log in, you can add it to the list.
|
||||
|
||||
**Original:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
exec-once = [
|
||||
# ...
|
||||
"pypr &" # pyprland for drop down term SUPERSHIFT + T
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
**Modified:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
exec-once = [
|
||||
# ...
|
||||
"pypr &" # pyprland for drop down term SUPERSHIFT + T
|
||||
"copyq"
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `decoration.nix` - Window Decorations
|
||||
|
||||
This file controls the appearance of window borders, shadows, and blur effects.
|
||||
|
||||
**Location:** `modules/home/hyprland/decoration.nix`
|
||||
|
||||
You can change values like `rounding` for rounded corners, or adjust the `blur` and `shadow` settings.
|
||||
|
||||
**Example:**
|
||||
|
||||
To increase the rounding of window corners from `0` to `10`.
|
||||
|
||||
**Original:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
decoration = {
|
||||
rounding = 0;
|
||||
# ...
|
||||
```
|
||||
|
||||
**Modified:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
decoration = {
|
||||
rounding = 10;
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `env.nix` - Environment Variables
|
||||
|
||||
This file sets environment variables for your Hyprland session. These can affect how applications behave.
|
||||
|
||||
**Location:** `modules/home/hyprland/env.nix`
|
||||
|
||||
You can add or change environment variables in this list.
|
||||
|
||||
**Example:**
|
||||
|
||||
To set the `MOZ_ENABLE_WAYLAND` variable to `1`, which forces Firefox to run in Wayland mode.
|
||||
|
||||
**Original:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
env = [
|
||||
# ...
|
||||
"SDL_VIDEODRIVER, wayland"
|
||||
# ...
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
**Modified:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
env = [
|
||||
# ...
|
||||
"SDL_VIDEODRIVER, wayland"
|
||||
"MOZ_ENABLE_WAYLAND, 1"
|
||||
# ...
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `gestures.nix` - Touchpad Gestures
|
||||
|
||||
This file controls touchpad gestures, like swiping between workspaces.
|
||||
|
||||
**Location:** `modules/home/hyprland/gestures.nix`
|
||||
|
||||
You can enable or disable gestures and change their behavior.
|
||||
|
||||
**Example:**
|
||||
|
||||
To disable workspace swiping.
|
||||
|
||||
**Original:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
gestures = {
|
||||
workspace_swipe = 1;
|
||||
# ...
|
||||
```
|
||||
|
||||
**Modified:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
gestures = {
|
||||
workspace_swipe = 0;
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `misc.nix` - Miscellaneous Settings
|
||||
|
||||
This file contains various settings that don't fit into the other categories.
|
||||
|
||||
**Location:** `modules/home/hyprland/misc.nix`
|
||||
|
||||
You can change settings like `vrr` (Variable Refresh Rate) or `disable_hyprland_logo`.
|
||||
|
||||
**Example:**
|
||||
|
||||
To enable Variable Refresh Rate.
|
||||
|
||||
**Original:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
misc = {
|
||||
# ...
|
||||
vrr = 0;
|
||||
# ...
|
||||
};
|
||||
# ...
|
||||
```
|
||||
|
||||
**Modified:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
misc = {
|
||||
# ...
|
||||
vrr = 1;
|
||||
# ...
|
||||
};
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `hyprland.nix` - Main Configuration
|
||||
|
||||
This is the main Hyprland configuration file. It sets up general settings, input devices, and the window layout.
|
||||
|
||||
**Location:** `modules/home/hyprland/hyprland.nix`
|
||||
|
||||
You can change things like the keyboard layout, touchpad settings, and the layout engine.
|
||||
|
||||
**Example:**
|
||||
|
||||
To change the keyboard layout from the default to `us`.
|
||||
|
||||
**Original:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
input = {
|
||||
kb_layout = "${keyboardLayout}";
|
||||
# ...
|
||||
```
|
||||
|
||||
**Modified:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
input = {
|
||||
kb_layout = "us";
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `windowrules.nix` - Window Rules
|
||||
|
||||
This file defines rules for how specific windows should behave. You can make certain applications always float, open on a specific workspace, or have a certain opacity.
|
||||
|
||||
**Location:** `modules/home/hyprland/windowrules.nix`
|
||||
|
||||
You can add new rules to the `windowrule` list.
|
||||
|
||||
**Example:**
|
||||
|
||||
To make the `thunar` file manager always float.
|
||||
|
||||
**Original:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
windowrule = [
|
||||
# ...
|
||||
"float, class:^(foot-floating)$"
|
||||
# ...
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
**Modified:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
windowrule = [
|
||||
# ...
|
||||
"float, class:^(foot-floating)$"
|
||||
"float, class:^(Thunar)$"
|
||||
# ...
|
||||
];
|
||||
# ...
|
||||
```
|
||||
106
cheatsheets/hyprland/hyprland.binds.cheatsheet.es.md
Normal file
106
cheatsheets/hyprland/hyprland.binds.cheatsheet.es.md
Normal file
|
|
@ -0,0 +1,106 @@
|
|||
[English](./hyprland.binds.cheatsheet.md) | Español
|
||||
|
||||
# Atajos de Teclado de Hyprland — ZaneyOS
|
||||
## 🗝️ Convenciones
|
||||
- SUPERKEY = Tecla Mod (en Hyprland `$modifier`)
|
||||
- SHIFT, CTRL, ALT se usan como se muestra
|
||||
- Flechas y hjkl están soportados para movimiento
|
||||
|
||||
---
|
||||
|
||||
## 🚀 Lanzadores y Vista General
|
||||
- SUPERKEY+CTRL+D — Alternar Dock
|
||||
- ALT+Space — Vista general de espacios
|
||||
- SUPERKEY+A — Vista general de aplicaciones
|
||||
- SUPERKEY+R — Menú Rofi (legacy)
|
||||
- SUPERKEY+D — Menú Rofi
|
||||
|
||||
## 🖥️ Terminales
|
||||
- SUPERKEY+Return — Terminal
|
||||
- SUPERKEY+SHIFT+Return — Terminal Foot (flotante)
|
||||
- SUPERKEY+ALT+Return — WezTerm
|
||||
- SUPERKEY+CTRL+Return — Ghostty
|
||||
- SUPERKEY+SHIFT+T — Terminal en bandeja (scratchpad)
|
||||
|
||||
## ✍️ Editores e IDEs
|
||||
- ALT+E — Emacs flotante
|
||||
- SUPERKEY+E — Emacs
|
||||
- SUPERKEY+G — VS Code
|
||||
|
||||
## 🌐 Web y Comunicación
|
||||
- SUPERKEY+W — Navegador web
|
||||
- SUPERKEY+ALT+D — Discord Canary
|
||||
|
||||
## 📁 Gestión de Archivos
|
||||
- SUPERKEY+T — Thunar
|
||||
- SUPERKEY+Y — Yazi
|
||||
|
||||
## 🛠️ Utilidades del Sistema
|
||||
- SUPERKEY+V — Historial del portapapeles
|
||||
- SUPERKEY+N — Nota desde portapapeles
|
||||
- SUPERKEY+C — Selector de color
|
||||
- SUPERKEY+S — Captura de pantalla
|
||||
- SUPERKEY+SHIFT+S — Captura Satty
|
||||
- ALT+SHIFT+S — Captura de región
|
||||
- SUPERKEY+O — OBS Studio
|
||||
- SUPERKEY+M — Control de audio
|
||||
- SUPERKEY+SHIFT+E — Selector de emojis
|
||||
|
||||
## ⚙️ Ajustes y Sistema
|
||||
- SUPERKEY+ALT+S — Diálogo de configuración
|
||||
- SUPERKEY+SHIFT+N — Reiniciar notificaciones
|
||||
- SUPERKEY+SHIFT+P — Menú de energía
|
||||
- SUPERKEY+SHIFT+W — Aplicar fondos
|
||||
- SUPERKEY+ALT+W — Warp Build
|
||||
- ALT+SHIFT+Q — Menú de cierre de sesión
|
||||
|
||||
## 📖 Documentación y Ayuda
|
||||
- SUPERKEY+SHIFT+K — Ayuda de atajos
|
||||
- SUPERKEY+SHIFT+C — Chuletas (cheatsheets)
|
||||
- SUPERKEY+SHIFT+D — Documentación
|
||||
|
||||
## 🪟 Gestión de Ventanas
|
||||
- SUPERKEY+SHIFT+G — Alternar huecos inteligentes
|
||||
- SUPERKEY+Q — Cerrar ventana activa
|
||||
- SUPERKEY+F — Alternar pantalla completa
|
||||
- SUPERKEY+ALT+F — Maximizar (mantiene barras)
|
||||
- SUPERKEY+SHIFT+F — Alternar flotante
|
||||
- SUPERKEY+Space — Alternar flotante
|
||||
- SUPERKEY+SHIFT+Space — Todo flotante en espacio
|
||||
- SUPERKEY+P — Pseudo mosaico
|
||||
- SUPERKEY+SHIFT+M — Intercambiar diseño
|
||||
- SUPERKEY+SHIFT+I — Alternar división
|
||||
|
||||
### Mover Ventana
|
||||
- SUPERKEY+SHIFT+Izquierda/Derecha/Arriba/Abajo — Mover ventana Izquierda/Derecha/Arriba/Abajo
|
||||
- SUPERKEY+SHIFT+H/J/K/L — Mover ventana Izquierda/Derecha/Arriba/Abajo
|
||||
|
||||
### Intercambiar Ventana
|
||||
- SUPERKEY+ALT+Izquierda/Derecha/Arriba/Abajo — Intercambiar ventana Izquierda/Derecha/Arriba/Abajo
|
||||
- SUPERKEY+ALT+43/46/45/44 — Intercambiar ventana Izquierda/Derecha/Arriba/Abajo
|
||||
|
||||
### Movimiento de Foco
|
||||
- SUPERKEY+Izquierda/Derecha/Arriba/Abajo — Foco Izquierda/Derecha/Arriba/Abajo
|
||||
- SUPERKEY+H/J/K/L — Foco Izquierda/Derecha/Arriba/Abajo
|
||||
|
||||
### Ciclar Ventanas
|
||||
- ALT+Tab — Siguiente ventana
|
||||
- ALT+Tab — Traer activa al frente
|
||||
|
||||
## 🗂️ Espacios de Trabajo
|
||||
- SUPERKEY+1..9,0 — Espacio 1..10
|
||||
- SUPERKEY+SHIFT+1..9,0 — Mover a espacio 1..10
|
||||
- SUPERKEY+CTRL+Derecha/Izquierda — Espacio siguiente/anterior
|
||||
- SUPERKEY+Rueda Abajo/Arriba — Espacio siguiente/anterior
|
||||
|
||||
## 🔊 Multimedia y Brillo
|
||||
- XF86AudioRaiseVolume — Subir volumen
|
||||
- XF86AudioLowerVolume — Bajar volumen
|
||||
- XF86AudioMute — Alternar silencio
|
||||
- XF86AudioPlay/Pause — Reproducir/Pausar
|
||||
- XF86AudioNext/Prev — Siguiente/Anterior pista
|
||||
- XF86MonBrightnessDown/Up — Bajar/Subir brillo
|
||||
|
||||
## 🖱️ Atajos de Ratón
|
||||
- SUPERKEY + Botón Izquierdo — Mover ventana
|
||||
- SUPERKEY + Botón Derecho — Redimensionar ventana
|
||||
107
cheatsheets/hyprland/hyprland.binds.cheatsheet.md
Normal file
107
cheatsheets/hyprland/hyprland.binds.cheatsheet.md
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
English | [Español](./hyprland.binds.cheatsheet.es.md)
|
||||
|
||||
# Hyprland Keybindings — ZaneyOS
|
||||
## 🗝️ Conventions
|
||||
- SUPERKEY = Mod key (Hyprland `$modifier`)
|
||||
- SHIFT, CTRL, ALT used as shown
|
||||
- Arrows and hjkl are both supported for movement
|
||||
|
||||
---
|
||||
|
||||
## 🚀 Launchers & Overview
|
||||
- SUPERKEY+CTRL+D — Toggle Dock
|
||||
- ALT+Space — Workspace Overview
|
||||
- SUPERKEY+A — App Overview
|
||||
- SUPERKEY+R — Rofi Legacy Menu
|
||||
- SUPERKEY+D — Rofi Menu
|
||||
|
||||
## 🖥️ Terminals
|
||||
- SUPERKEY+Return — Terminal
|
||||
- SUPERKEY+SHIFT+Return — Foot Terminal (Floating)
|
||||
- SUPERKEY+ALT+Return — WezTerm
|
||||
- SUPERKEY+CTRL+Return — Ghostty
|
||||
- SUPERKEY+SHIFT+T — Scratchpad Terminal
|
||||
|
||||
## ✍️ Editors & IDEs
|
||||
- ALT+E — Emacs Floating
|
||||
- SUPERKEY+E — Emacs
|
||||
- SUPERKEY+G — VS Code
|
||||
|
||||
## 🌐 Web & Communication
|
||||
- SUPERKEY+W — Web Browser
|
||||
- SUPERKEY+ALT+D — Discord Canary
|
||||
|
||||
## 📁 File Management
|
||||
- SUPERKEY+T — Thunar
|
||||
- SUPERKEY+Y — Yazi
|
||||
|
||||
## 🛠️ System Utilities
|
||||
- SUPERKEY+V — Clipboard History
|
||||
- SUPERKEY+N — Create Note From Clipboard
|
||||
- SUPERKEY+C — Color Picker
|
||||
- SUPERKEY+S — Screenshot
|
||||
- SUPERKEY+SHIFT+S — Screenshot Satty
|
||||
- ALT+SHIFT+S — Screenshot Region
|
||||
- SUPERKEY+O — OBS Studio
|
||||
- SUPERKEY+M — Audio Control
|
||||
- SUPERKEY+SHIFT+E — Emoji Picker
|
||||
|
||||
## ⚙️ Settings & System
|
||||
- SUPERKEY+ALT+S — Settings Dialog
|
||||
- SUPERKEY+SHIFT+N — Notifications Reset
|
||||
- SUPERKEY+SHIFT+P — Power Menu
|
||||
- SUPERKEY+SHIFT+W — Apply Wallpapers
|
||||
- SUPERKEY+ALT+W — Warp Build
|
||||
- ALT+SHIFT+Q — Logout Menu
|
||||
|
||||
## 📖 Docs & Help
|
||||
- SUPERKEY+SHIFT+K — Keybinds Help
|
||||
- SUPERKEY+SHIFT+C — Cheatsheets
|
||||
- SUPERKEY+SHIFT+D — Docs
|
||||
|
||||
## 🪟 Window Management
|
||||
- SUPERKEY+SHIFT+G — Smart Gaps Toggle
|
||||
- SUPERKEY+Q — Kill Active Window
|
||||
- SUPERKEY+F — Toggle Fullscreen
|
||||
- SUPERKEY+ALT+F — Maximize (keep bars)
|
||||
- SUPERKEY+SHIFT+F — Toggle Floating
|
||||
- SUPERKEY+Space — Toggle Floating
|
||||
- SUPERKEY+SHIFT+Space — Workspace All Float
|
||||
- SUPERKEY+P — Pseudo Tile
|
||||
- SUPERKEY+SHIFT+M — Swap Layout
|
||||
- SUPERKEY+SHIFT+I — Toggle Split
|
||||
|
||||
### Move Window
|
||||
- SUPERKEY+SHIFT+Left/Right/Up/Down — Move Window Left/Right/Up/Down
|
||||
- SUPERKEY+SHIFT+H/J/K/L — Move Window Left/Right/Up/Down
|
||||
|
||||
### Swap Window
|
||||
- SUPERKEY+ALT+Left/Right/Up/Down — Swap Window Left/Right/Up/Down
|
||||
- SUPERKEY+ALT+43/46/45/44 — Swap Window Left/Right/Up/Down
|
||||
|
||||
### Focus Movement
|
||||
- SUPERKEY+Left/Right/Up/Down — Focus Left/Right/Up/Down
|
||||
- SUPERKEY+H/J/K/L — Focus Left/Right/Up/Down
|
||||
|
||||
### Window Cycling
|
||||
- ALT+Tab — Cycle Next Window
|
||||
- ALT+Tab — Bring Active To Top
|
||||
|
||||
## 🗂️ Workspaces
|
||||
- SUPERKEY+1..9,0 — Workspace 1..10
|
||||
- SUPERKEY+SHIFT+1..9,0 — Move To Workspace 1..10
|
||||
- SUPERKEY+CTRL+Right/Left — Next/Previous Workspace
|
||||
- SUPERKEY+Mouse Wheel Down/Up — Next/Previous Workspace
|
||||
|
||||
## 🔊 Media & Brightness
|
||||
- XF86AudioRaiseVolume — Volume Up
|
||||
- XF86AudioLowerVolume — Volume Down
|
||||
- XF86AudioMute — Mute Toggle
|
||||
- XF86AudioPlay/Pause — Play/Pause
|
||||
- XF86AudioNext/Prev — Next/Previous Track
|
||||
- XF86MonBrightnessDown/Up — Brightness Down/Up
|
||||
|
||||
## 🖱️ Mouse Bindings
|
||||
- SUPERKEY + Left Mouse — Move window
|
||||
- SUPERKEY + Right Mouse — Resize window
|
||||
|
||||
59
cheatsheets/hyprland/hyprland.windowrules.cheatsheet.es.md
Normal file
59
cheatsheets/hyprland/hyprland.windowrules.cheatsheet.es.md
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
[English](./hyprland.windowrules.cheatsheet.md) | Español
|
||||
|
||||
# Reglas de Ventana de Hyprland — ZaneyOS
|
||||
## 🧩 Etiquetas y Clasificación
|
||||
- file-manager — Thunar, Nautilus, PCManFM-Qt
|
||||
- terminal — Ghostty, WezTerm, Alacritty, Kitty, kitty-dropterm
|
||||
- browser — Brave, Firefox, Chrome, Thorium/Cachy
|
||||
- video — VLC, mpv, Clapper
|
||||
- projects — VSCodium/VSCode
|
||||
- im — Discord, WebCord, Vesktop, Ferdium, WhatsApp, Telegram, Teams
|
||||
- obs — OBS Studio
|
||||
- games — gamescope, steam_app_*
|
||||
- gamestore — Steam, Lutris, Heroic
|
||||
- settings — varias aplicaciones de configuración (nm-applet, pavucontrol, file-roller, rofi, etc.)
|
||||
|
||||
## 🪟 Flotante, Tamaño y Posición
|
||||
- foot-floating — flotante, tamaño 60% x 60%, centrado
|
||||
- Picture-in-Picture — flotante, opacidad 95%/75%, fijado, mantener relación de aspecto, posición en ~72%/7%
|
||||
- Diálogos de Autenticación Requerida — flotante, centrado
|
||||
- Ventanas etiquetadas como Settings — flotante, tamaño 70% x 70%
|
||||
- Ferdium — flotante, centrado, tamaño 60% x 70%
|
||||
- Clapper — flotante
|
||||
- Diálogos de configuración de VSCodium — flotante (reglas negativas de título)
|
||||
- Diálogos no principales de Steam/Heroic — flotante (reglas negativas de título)
|
||||
- Diálogos de selección de archivos — flotante; tamaño 70% x 60% (Abrir Archivos); flotante en avisos de guardado
|
||||
|
||||
## 🎨 Efectos Visuales
|
||||
- noblur — juegos
|
||||
- content none — mpv (prevenir pantalla negra al maximizar)
|
||||
- Opacidad por etiqueta:
|
||||
- browser: 1.0 / 1.0
|
||||
- video: 1.0 / 1.0
|
||||
- projects: 0.9 / 0.8
|
||||
- im: 0.94 / 0.86
|
||||
- file-manager: 0.9 / 0.8
|
||||
- terminal: 1.0 / 0.8
|
||||
- settings: 0.8 / 0.7
|
||||
- Ajustes de opacidad adicionales:
|
||||
- gedit/GNOME Text Editor/mousepad: 0.8 / 0.7
|
||||
- seahorse: 0.9 / 0.8
|
||||
|
||||
## 🧭 Asignación de Espacio de Trabajo
|
||||
- im* — espacio de trabajo 3
|
||||
- browser* — espacio de trabajo 2
|
||||
- obs* — espacio de trabajo 10
|
||||
|
||||
## 🧪 XWayland y Casos Especiales
|
||||
- Ejemplo de regla específica para xwayland: noblur para la clase “resolve” en xwayland:1
|
||||
|
||||
## 🌱 Entorno (establecido a través de Hyprland)
|
||||
- NIXOS_OZONE_WL=1, NIXPKGS_ALLOW_UNFREE=1
|
||||
- XDG_CURRENT_DESKTOP=Hyprland, XDG_SESSION_TYPE=wayland, XDG_SESSION_DESKTOP=Hyprland
|
||||
- GDK_BACKEND=wayland,x11, CLUTTER_BACKEND=wayland
|
||||
- QT_QPA_PLATFORM=wayland;xcb, QT_WAYLAND_DISABLE_WINDOWDECORATION=1, QT_AUTO_SCREEN_SCALE_FACTOR=1
|
||||
- SDL_VIDEODRIVER=x11 (explícito)
|
||||
- MOZ_ENABLE_WAYLAND=1
|
||||
- AQ_DRM_DEVICES=/dev/dri/card0:/dev/dri/card1
|
||||
- GDK_SCALE=1, QT_SCALE_FACTOR=1
|
||||
- EDITOR=nvim
|
||||
60
cheatsheets/hyprland/hyprland.windowrules.cheatsheet.md
Normal file
60
cheatsheets/hyprland/hyprland.windowrules.cheatsheet.md
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
English | [Español](./hyprland.windowrules.cheatsheet.es.md)
|
||||
|
||||
# Hyprland Window Rules — ZaneyOS
|
||||
## 🧩 Tags and Classification
|
||||
- file-manager — Thunar, Nautilus, PCManFM-Qt
|
||||
- terminal — Ghostty, WezTerm, Alacritty, Kitty, kitty-dropterm
|
||||
- browser — Brave, Firefox, Chrome, Thorium/Cachy
|
||||
- video — VLC, mpv, Clapper
|
||||
- projects — VSCodium/VSCode
|
||||
- im — Discord, WebCord, Vesktop, Ferdium, WhatsApp, Telegram, Teams
|
||||
- obs — OBS Studio
|
||||
- games — gamescope, steam_app_*
|
||||
- gamestore — Steam, Lutris, Heroic
|
||||
- settings — various settings apps (nm-applet, pavucontrol, file-roller, rofi, etc.)
|
||||
|
||||
## 🪟 Floating, Size, and Position
|
||||
- foot-floating — float, size 60% x 60%, center
|
||||
- Picture-in-Picture — float, 95%/75% opacity, pinned, keep aspect ratio, position at ~72%/7%
|
||||
- Authentication Required dialogs — float, center
|
||||
- Settings-tagged windows — float, size 70% x 70%
|
||||
- Ferdium — float, center, size 60% x 70%
|
||||
- Clapper — float
|
||||
- VSCodium setup dialogs — float (title negative rules)
|
||||
- Steam/Heroic non-main dialogs — float (title negative rules)
|
||||
- File chooser dialogs — float; size 70% x 60% (Open Files); float on save prompts
|
||||
|
||||
## 🎨 Visual Effects
|
||||
- noblur — games
|
||||
- content none — mpv (prevent black screen on maximize)
|
||||
- Opacity by tag:
|
||||
- browser: 1.0 / 1.0
|
||||
- video: 1.0 / 1.0
|
||||
- projects: 0.9 / 0.8
|
||||
- im: 0.94 / 0.86
|
||||
- file-manager: 0.9 / 0.8
|
||||
- terminal: 1.0 / 0.8
|
||||
- settings: 0.8 / 0.7
|
||||
- Extra opacity tweaks:
|
||||
- gedit/GNOME Text Editor/mousepad: 0.8 / 0.7
|
||||
- seahorse: 0.9 / 0.8
|
||||
|
||||
## 🧭 Workspace Assignment
|
||||
- im* — workspace 3
|
||||
- browser* — workspace 2
|
||||
- obs* — workspace 10
|
||||
|
||||
## 🧪 XWayland and Special Cases
|
||||
- Example targeted xwayland rule: noblur for class “resolve” on xwayland:1
|
||||
|
||||
## 🌱 Environment (set via Hyprland)
|
||||
- NIXOS_OZONE_WL=1, NIXPKGS_ALLOW_UNFREE=1
|
||||
- XDG_CURRENT_DESKTOP=Hyprland, XDG_SESSION_TYPE=wayland, XDG_SESSION_DESKTOP=Hyprland
|
||||
- GDK_BACKEND=wayland,x11, CLUTTER_BACKEND=wayland
|
||||
- QT_QPA_PLATFORM=wayland;xcb, QT_WAYLAND_DISABLE_WINDOWDECORATION=1, QT_AUTO_SCREEN_SCALE_FACTOR=1
|
||||
- SDL_VIDEODRIVER=x11 (explicit)
|
||||
- MOZ_ENABLE_WAYLAND=1
|
||||
- AQ_DRM_DEVICES=/dev/dri/card0:/dev/dri/card1
|
||||
- GDK_SCALE=1, QT_SCALE_FACTOR=1
|
||||
- EDITOR=nvim
|
||||
|
||||
61
cheatsheets/kitty/kitty.cheatsheet.es.md
Normal file
61
cheatsheets/kitty/kitty.cheatsheet.es.md
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
[English](./kitty.cheatsheet.md) | Español
|
||||
|
||||
# Kitty en ZaneyOS — Resumen y Cheatsheet
|
||||
## 🚀 Resumen de modules/home/terminals/kitty.nix
|
||||
|
||||
- Programa
|
||||
- Kitty habilitado con el paquete pkgs.kitty
|
||||
- Integraciones de shell: Zsh, Fish, Bash (modo: habilitado)
|
||||
|
||||
- Apariencia y Comportamiento
|
||||
- Fuente: Maple Mono NF, tamaño 12
|
||||
- Historial de desplazamiento: 10,000 líneas; líneas mínimas de la rueda: 1; relleno: 4px
|
||||
- Confirmar cierre: 0 (sin confirmar); campana de audio: deshabilitada; espera para ocultar el ratón: 60
|
||||
- Rastro del cursor: 1; desvanecimiento de pestaña: 1; estilo de fuente de pestaña activa/inactiva: negrita
|
||||
- Barra de pestañas: superior, estilo powerline
|
||||
- Diseños: divisiones habilitadas
|
||||
- Manejo de URL: abrir con el predeterminado; detectar URL: true; allow_remote_control: true
|
||||
|
||||
- Tema (configuración manual de Catppuccin Mocha en extraConfig)
|
||||
- Primer plano/fondo, selección, cursor, bordes, barra de pestañas y paleta de 16 colores establecidos explícitamente
|
||||
|
||||
---
|
||||
|
||||
## 🗝️ Cheatsheet de Atajos de Teclado (extraConfig)
|
||||
|
||||
Portapapeles
|
||||
- Ctrl+Shift+V — paste_from_selection
|
||||
- Shift+Insert — paste_from_selection
|
||||
|
||||
Historial de desplazamiento
|
||||
- Ctrl+Shift+Arriba / k — scroll_line_up
|
||||
- Ctrl+Shift+Abajo / j — scroll_line_down
|
||||
- Ctrl+Shift+RePág — scroll_page_up
|
||||
- Ctrl+Shift+AvPág — scroll_page_down
|
||||
- Ctrl+Shift+Inicio — scroll_home
|
||||
- Ctrl+Shift+Fin — scroll_end
|
||||
- Ctrl+Shift+H — show_scrollback
|
||||
|
||||
Ventanas/Pestañas/Diseño
|
||||
- Alt+N — new_window_with_cwd
|
||||
- Alt+W — close_window
|
||||
- Ctrl+Shift+Enter — dividir horizontalmente (hsplit)
|
||||
- Ctrl+Shift+S — dividir verticalmente (vsplit)
|
||||
- Ctrl+Shift+] / [ — next_window / previous_window
|
||||
- Ctrl+Shift+F — move_window_forward
|
||||
- Ctrl+Shift+B — move_window_backward
|
||||
- Ctrl+Shift+` — move_window_to_top
|
||||
- Ctrl+Shift+1..0 — first..tenth_window
|
||||
- Ctrl+Shift+Derecha/Izquierda — next_tab / previous_tab
|
||||
- Ctrl+Shift+T — new_tab
|
||||
- Ctrl+Shift+Q — close_tab
|
||||
- Ctrl+Shift+L — next_layout
|
||||
- Ctrl+Shift+. / , — move_tab_forward / move_tab_backward
|
||||
|
||||
Tamaño de Fuente
|
||||
- Ctrl+Shift+Arriba — increase_font_size
|
||||
- Ctrl+Shift+Abajo — decrease_font_size
|
||||
- Ctrl+Shift+Retroceso — restore_font_size
|
||||
|
||||
Notas
|
||||
- El esquema de colores está incrustado; el soporte de Stylix está deshabilitado en esta configuración.
|
||||
62
cheatsheets/kitty/kitty.cheatsheet.md
Normal file
62
cheatsheets/kitty/kitty.cheatsheet.md
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
English | [Español](./kitty.cheatsheet.es.md)
|
||||
|
||||
# Kitty on ZaneyOS — Summary & Cheatsheet
|
||||
## 🚀 Summary of modules/home/terminals/kitty.nix
|
||||
|
||||
- Program
|
||||
- Kitty enabled with package pkgs.kitty
|
||||
- Shell integrations: Zsh, Fish, Bash (mode: enabled)
|
||||
|
||||
- Appearance & Behavior
|
||||
- Font: Maple Mono NF, size 12
|
||||
- Scrollback: 10,000 lines; wheel min lines: 1; padding: 4px
|
||||
- Confirm close: 0 (no confirm); audio bell: disabled; mouse hide wait: 60
|
||||
- Cursor trail: 1; tab fade: 1; active/inactive tab font style: bold
|
||||
- Tab bar: top, powerline style
|
||||
- Layouts: splits enabled
|
||||
- URL handling: open with default; detect URLs: true; allow_remote_control: true
|
||||
|
||||
- Theme (Catppuccin Mocha manual config in extraConfig)
|
||||
- Foreground/background, selection, cursor, borders, tab bar, and 16-color palette explicitly set
|
||||
|
||||
---
|
||||
|
||||
## 🗝️ Keybindings Cheatsheet (extraConfig)
|
||||
|
||||
Clipboard
|
||||
- Ctrl+Shift+V — paste_from_selection
|
||||
- Shift+Insert — paste_from_selection
|
||||
|
||||
Scrollback
|
||||
- Ctrl+Shift+Up / k — scroll_line_up
|
||||
- Ctrl+Shift+Down / j — scroll_line_down
|
||||
- Ctrl+Shift+PageUp — scroll_page_up
|
||||
- Ctrl+Shift+PageDown — scroll_page_down
|
||||
- Ctrl+Shift+Home — scroll_home
|
||||
- Ctrl+Shift+End — scroll_end
|
||||
- Ctrl+Shift+H — show_scrollback
|
||||
|
||||
Windows/Tabs/Layout
|
||||
- Alt+N — new_window_with_cwd
|
||||
- Alt+W — close_window
|
||||
- Ctrl+Shift+Enter — split horizontal (hsplit)
|
||||
- Ctrl+Shift+S — split vertical (vsplit)
|
||||
- Ctrl+Shift+] / [ — next_window / previous_window
|
||||
- Ctrl+Shift+F — move_window_forward
|
||||
- Ctrl+Shift+B — move_window_backward
|
||||
- Ctrl+Shift+` — move_window_to_top
|
||||
- Ctrl+Shift+1..0 — first..tenth_window
|
||||
- Ctrl+Shift+Right/Left — next_tab / previous_tab
|
||||
- Ctrl+Shift+T — new_tab
|
||||
- Ctrl+Shift+Q — close_tab
|
||||
- Ctrl+Shift+L — next_layout
|
||||
- Ctrl+Shift+. / , — move_tab_forward / move_tab_backward
|
||||
|
||||
Font Size
|
||||
- Ctrl+Shift+Up — increase_font_size
|
||||
- Ctrl+Shift+Down — decrease_font_size
|
||||
- Ctrl+Shift+Backspace — restore_font_size
|
||||
|
||||
Notes
|
||||
- Color scheme is embedded; Stylix support disabled in this config.
|
||||
|
||||
67
cheatsheets/nix-beginner-guide.es.md
Normal file
67
cheatsheets/nix-beginner-guide.es.md
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
# Guía para Principiantes de ZaneyOS: Personalización Básica
|
||||
|
||||
¡Bienvenido! Esta guía es para quienes son nuevos en Nix y quieren realizar personalizaciones comunes y seguras en su instalación de ZaneyOS. Mantendremos todo simple y al grano.
|
||||
|
||||
## Diseño del repositorio (dónde cambiar las cosas)
|
||||
|
||||
- `flake.nix`: Punto de entrada del sistema. Normalmente no necesitas editarlo para ajustes cotidianos.
|
||||
- `hosts/`: Configuración por máquina.
|
||||
- `hosts/<tu-hostname>/`
|
||||
- `variables.nix`: Tu panel principal (activar/desactivar funciones, establecer opciones).
|
||||
- `host-packages.nix`: Paquetes extra solo para esta máquina.
|
||||
- `modules/`: Bloques reutilizables para el sistema y Home Manager.
|
||||
- `modules/core/global-packages.nix`: Paquetes instalados en todas las máquinas.
|
||||
- `modules/home/hyprland/binds.nix`: Atajos de Hyprland.
|
||||
|
||||
## Instalar paquetes
|
||||
|
||||
Dos patrones comunes:
|
||||
|
||||
### 1) Solo en esta máquina
|
||||
Edita `hosts/<tu-hostname>/host-packages.nix` y añade el nombre del paquete:
|
||||
|
||||
```nix
|
||||
[
|
||||
brave
|
||||
(catppuccin-vsc.override {
|
||||
variant = "mocha";
|
||||
})
|
||||
cowsay
|
||||
]
|
||||
```
|
||||
|
||||
### 2) En todas las máquinas
|
||||
Edita `modules/core/global-packages.nix` y añade el paquete a la lista.
|
||||
|
||||
## Ajustes de monitores (por host)
|
||||
|
||||
Edita `hosts/<tu-hostname>/variables.nix` y define la(s) línea(s) extra del monitor:
|
||||
|
||||
```nix
|
||||
# Ejemplo: 1080p a 144 Hz en DP-1
|
||||
extraMonitorSettings = "monitor=DP-1,1920x1080@144";
|
||||
```
|
||||
|
||||
## Cambiar atajos de Hyprland
|
||||
|
||||
Edita `modules/home/hyprland/binds.nix`. Por ejemplo, cambiar la terminal de Super+Return a Super+T:
|
||||
|
||||
```nix
|
||||
"SUPER, T, exec, ${terminal}"
|
||||
```
|
||||
|
||||
## Aplicar y probar tus cambios
|
||||
|
||||
Preferido (específico de ZaneyOS):
|
||||
- `zcli rebuild`
|
||||
- Nota: el alias `fr` está obsoleto.
|
||||
|
||||
Método manual de respaldo (funciona en cualquier instalación):
|
||||
- Desde la raíz del repo, reemplaza PROFILE por tu perfil (intel, nvidia, nvidia-laptop, amd-hybrid, vm):
|
||||
- `sudo nixos-rebuild switch --flake .#PROFILE`
|
||||
|
||||
Consejos
|
||||
- Si un rebuild falla, lee el error cerca del final: suele apuntar al archivo/línea exacta.
|
||||
- Si un cambio rompe tu sesión tras reiniciar, elige una “generación” anterior en el menú de arranque.
|
||||
- Usa Git para versionar tus cambios y poder revertir fácilmente.
|
||||
|
||||
67
cheatsheets/nix-beginner-guide.md
Normal file
67
cheatsheets/nix-beginner-guide.md
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
# ZaneyOS Beginner’s Guide to Customization
|
||||
|
||||
Welcome! This guide is for users who are new to Nix and want to make common, safe customizations to their ZaneyOS setup. We’ll keep it simple and focus on essentials.
|
||||
|
||||
## Repository layout (where to change things)
|
||||
|
||||
- `flake.nix`: Entry point for the whole system. You generally don’t need to edit this for day‑to‑day tweaks.
|
||||
- `hosts/`: Per‑machine configuration.
|
||||
- `hosts/<your-hostname>/`
|
||||
- `variables.nix`: Your main control panel (enable/disable features, set options).
|
||||
- `host-packages.nix`: Extra packages only for this one machine.
|
||||
- `modules/`: Reusable building blocks for the system and Home Manager.
|
||||
- `modules/core/global-packages.nix`: Packages installed on all machines.
|
||||
- `modules/home/hyprland/binds.nix`: Hyprland keybindings.
|
||||
|
||||
## Installing packages
|
||||
|
||||
Two common patterns:
|
||||
|
||||
### 1) Only on this machine
|
||||
Edit `hosts/<your-hostname>/host-packages.nix` and add the package name:
|
||||
|
||||
```nix
|
||||
[
|
||||
brave
|
||||
(catppuccin-vsc.override {
|
||||
variant = "mocha";
|
||||
})
|
||||
cowsay
|
||||
]
|
||||
```
|
||||
|
||||
### 2) On all machines
|
||||
Edit `modules/core/global-packages.nix` and add the package to the list.
|
||||
|
||||
## Monitor settings (per host)
|
||||
|
||||
Edit `hosts/<your-hostname>/variables.nix` and set the extra monitor line(s):
|
||||
|
||||
```nix
|
||||
# Example: 1080p at 144 Hz on DP-1
|
||||
extraMonitorSettings = "monitor=DP-1,1920x1080@144";
|
||||
```
|
||||
|
||||
## Change Hyprland keybindings
|
||||
|
||||
Edit `modules/home/hyprland/binds.nix`. For example, change terminal from Super+Return to Super+T:
|
||||
|
||||
```nix
|
||||
"SUPER, T, exec, ${terminal}"
|
||||
```
|
||||
|
||||
## Apply and test your changes
|
||||
|
||||
Preferred (ZaneyOS-specific):
|
||||
- `zcli rebuild`
|
||||
- Note: The `fr` alias is deprecated.
|
||||
|
||||
Manual backup method (works anywhere):
|
||||
- From the repo root, replace PROFILE with your profile (intel, nvidia, nvidia-laptop, amd-hybrid, vm):
|
||||
- `sudo nixos-rebuild switch --flake .#PROFILE`
|
||||
|
||||
Tips
|
||||
- If a rebuild fails, read the error near the bottom of the output—it usually points to the exact file/line.
|
||||
- If a change breaks your session after a reboot, pick an older “generation” from the boot menu to roll back.
|
||||
- Use Git to track your edits so you can revert easily.
|
||||
|
||||
34
cheatsheets/nixos/intro.nixos.cheatsheet.es.md
Normal file
34
cheatsheets/nixos/intro.nixos.cheatsheet.es.md
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
NixOS, flakes y home-manager funcionan juntos para lograr una configuración del sistema declarativa y reproducible. Forman parte de un cambio de paradigma frente a la administración tradicional (imperativa).
|
||||
|
||||
## NixOS
|
||||
|
||||
**NixOS** es una distribución Linux construida sobre el **gestor de paquetes Nix**. A diferencia de otras distros donde instalas y configuras software manualmente, NixOS usa un **enfoque declarativo**. Escribes un solo `configuration.nix` que describe el estado completo del sistema (kernel, servicios, programas). Al "construir" y "cambiar" tu config, NixOS crea un sistema nuevo desde cero.
|
||||
|
||||
La clave: en lugar de modificar archivos in‑place, NixOS crea una nueva **generación**. Si algo falla, puedes **volver atrás** de forma segura a una generación previa.
|
||||
|
||||
## Flakes
|
||||
|
||||
Los **flakes** (experimentales pero muy usados) estandarizan la gestión de dependencias. Un flake es un directorio con `flake.nix` y `flake.lock`.
|
||||
|
||||
- `flake.nix` declara entradas (versiones de Nixpkgs, repos, etc.) y salidas (config del sistema, devshells). Todo queda **explícito**.
|
||||
- `flake.lock` fija versiones exactas de todas las entradas (commits). Garantiza **reproducibilidad** bit a bit.
|
||||
|
||||
## Home Manager
|
||||
|
||||
Mientras NixOS gestiona la config del sistema (`/etc`), **Home Manager** aplica el mismo enfoque declarativo a tu entorno de usuario (`~/.config`). Gestiona shell, programas y otros ajustes de usuario con Nix.
|
||||
|
||||
Puede usarse solo o integrado en tu flake NixOS para la misma **reproducibilidad** y **cambios atómicos** del entorno de usuario.
|
||||
|
||||
## Por qué los archivos de configuración son de solo lectura
|
||||
|
||||
Núcleo del diseño de Nix: garantiza reproducibilidad.
|
||||
|
||||
NixOS construye configuraciones en el **Nix Store** (`/nix/store`), que es de solo lectura. Al reconstruir, Nix genera un conjunto nuevo de archivos y lo guarda en un directorio nuevo del Store.
|
||||
|
||||
En vez de escribir directamente a `~/.bashrc`, NixOS y Home Manager crean **enlaces simbólicos** desde ubicaciones conocidas hacia el archivo generado del Store.
|
||||
|
||||
Ventajas:
|
||||
|
||||
1. **Inmutabilidad:** no puedes romper el sistema editando archivos generados.
|
||||
2. **Reproducibilidad:** la misma fuente genera siempre el mismo resultado.
|
||||
3. **Actualizaciones/rollbacks atómicos:** cada generación es autocontenida, y cambiar entre ellas es instantáneo.
|
||||
64
cheatsheets/nixos/intro.nixos.cheatsheet.md
Normal file
64
cheatsheets/nixos/intro.nixos.cheatsheet.md
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
NixOS, flakes, and home-manager all work together to achieve a declarative and
|
||||
reproducible system configuration. They are part of a paradigm shift away from
|
||||
traditional, imperative system administration.
|
||||
|
||||
## NixOS
|
||||
|
||||
**NixOS** is a Linux distribution built on the **Nix package manager**. Unlike
|
||||
other distros where you manually install and configure software, NixOS uses a
|
||||
**declarative approach**. You write a single `configuration.nix` file that
|
||||
describes the entire state of your system, including the kernel, services, and
|
||||
installed programs. When you "build" and "switch" your configuration, NixOS
|
||||
creates a new, complete system from scratch.
|
||||
|
||||
This is the key to its power: instead of modifying files in place, NixOS creates
|
||||
a new "generation" of your system. If an update breaks something, you can
|
||||
instantly and safely **roll back** to a previous working generation.
|
||||
|
||||
## Flakes
|
||||
|
||||
**Flakes** are an experimental but widely adopted feature for the Nix package
|
||||
manager that standardizes and improves dependency management. A flake is
|
||||
essentially a directory with a `flake.nix` file and a corresponding `flake.lock`
|
||||
file.
|
||||
|
||||
- `flake.nix` declares the inputs (e.g., specific versions of Nixpkgs, other
|
||||
repositories) and outputs (e.g., your system configuration, development
|
||||
environments). This makes all dependencies **explicit**.
|
||||
- `flake.lock` pins the exact versions of all inputs, including the specific Git
|
||||
commit hashes. This ensures that your configuration is **reproducible** down
|
||||
to the last byte. No more "it works on my machine" problems because someone
|
||||
else has a different package version.
|
||||
|
||||
## Home Manager
|
||||
|
||||
While NixOS manages system-wide configuration (things in `/etc`), **Home
|
||||
Manager** is a tool that applies the same declarative principles to your
|
||||
user-specific configuration (your dotfiles in `~/.config`). It lets you manage
|
||||
your shell, programs, and other user-level settings with Nix.
|
||||
|
||||
Home Manager can be used as a standalone tool or, more commonly, integrated into
|
||||
your NixOS flake. By using it with flakes, you get the same benefits of
|
||||
reproducibility and atomic updates for your user environment.
|
||||
|
||||
## Why Configurations are Read-Only
|
||||
|
||||
The concept of read-only configuration files is central to Nix's design and is
|
||||
the key to its reproducibility.
|
||||
|
||||
NixOS builds configurations in a special, read-only directory called the **Nix
|
||||
Store** (`/nix/store`). When you rebuild your system, Nix generates a new set of
|
||||
configuration files and stores them in a new directory within the Nix Store.
|
||||
|
||||
Instead of writing directly to a configuration file like `~/.bashrc`, NixOS and
|
||||
Home Manager create **symbolic links** from the expected location (e.g.,
|
||||
`~/.bashrc`) to the generated, read-only file in the Nix Store.
|
||||
|
||||
This approach guarantees that:
|
||||
|
||||
1. **Immutability:** Configuration files can't be changed after they're built,
|
||||
preventing manual edits from breaking your system.
|
||||
2. **Reproducibility:** The same configuration file will always produce the
|
||||
exact same result because the source files are immutable.
|
||||
3. **Atomic Upgrades/Rollbacks:** Because each configuration is a self-contained
|
||||
"generation," switching between them is a fast, atomic operation.
|
||||
61
cheatsheets/nixos/nix-beginner-guide.es.md
Normal file
61
cheatsheets/nixos/nix-beginner-guide.es.md
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
# ¡Bienvenido a ZaneyOS! Guía para principiantes
|
||||
|
||||
¡Bienvenido! Esta guía es para usuarios nuevos en Nix que quieren realizar personalizaciones comunes en ZaneyOS. Mantendremos todo simple y al grano.
|
||||
|
||||
## Entendiendo la estructura
|
||||
|
||||
Para cambios cotidianos, basta con conocer algunos archivos y directorios clave:
|
||||
|
||||
- `flake.nix`: archivo principal del sistema. Normalmente no necesitas editarlo para cambios comunes.
|
||||
- `hosts/`: configuración por equipo (host).
|
||||
- `hosts/<tu-hostname>/`:
|
||||
- `variables.nix`: panel principal para activar/desactivar funciones y cambiar opciones.
|
||||
- `host-packages.nix`: paquetes solo para ese equipo.
|
||||
- `modules/`: configuración modular reutilizable.
|
||||
- `modules/core/global-packages.nix`: paquetes para todos tus equipos ZaneyOS.
|
||||
- `modules/home/hyprland/binds.nix`: personaliza atajos de Hyprland.
|
||||
|
||||
## Cómo añadir paquetes
|
||||
|
||||
Dos maneras:
|
||||
|
||||
### 1) Solo para un equipo
|
||||
Edita `hosts/<tu-hostname>/host-packages.nix` y añade el paquete a la lista:
|
||||
```nix path=null start=null
|
||||
[
|
||||
brave
|
||||
(catppuccin-vsc.override {
|
||||
variant = "mocha";
|
||||
})
|
||||
cowsay
|
||||
]
|
||||
```
|
||||
Guarda el archivo.
|
||||
|
||||
### 2) Para todos los equipos
|
||||
Edita `modules/core/global-packages.nix` y añade el paquete igual que arriba.
|
||||
|
||||
## Cambiar ajustes de monitores
|
||||
|
||||
En `hosts/<tu-hostname>/variables.nix` busca `extraMonitorSettings`:
|
||||
```nix path=null start=null
|
||||
extraMonitorSettings = "monitor=DP-1,1920x1080@144";
|
||||
```
|
||||
Guarda el archivo.
|
||||
|
||||
## Cambiar atajos de Hyprland
|
||||
|
||||
En `modules/home/hyprland/binds.nix` puedes editar mapeos:
|
||||
```nix path=null start=null
|
||||
"SUPER, T, exec, ${terminal}"
|
||||
```
|
||||
Guarda el archivo.
|
||||
|
||||
## Aplicar cambios
|
||||
|
||||
Tras editar:
|
||||
```bash path=null start=null
|
||||
zcli rebuild
|
||||
```
|
||||
Si termina con éxito, ¡tus cambios están activos! Algunos pueden requerir reinicio.
|
||||
|
||||
101
cheatsheets/nixos/nix-beginner-guide.md
Normal file
101
cheatsheets/nixos/nix-beginner-guide.md
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
# Welcome to ZaneyOS! A Beginner's Guide to Customization
|
||||
|
||||
Welcome! This guide is for users who are new to Nix and want to make some common customizations to their ZaneyOS setup. We'll keep it simple and focus on the essentials.
|
||||
|
||||
## Understanding the Layout
|
||||
|
||||
NixOS configurations can seem complex, but for day-to-day changes, you only need to know about a few key files and directories.
|
||||
|
||||
- `flake.nix`: This is the main file for the entire system. You shouldn't need to edit this file directly for most common changes.
|
||||
- `hosts/`: This directory contains the configuration for each individual computer (or "host") you've installed ZaneyOS on.
|
||||
- `hosts/<your-hostname>/`: This is where you'll make most of your changes.
|
||||
- `variables.nix`: This is your main control panel. You can enable/disable features, change settings, and more.
|
||||
- `host-packages.nix`: This is where you can add packages that you only want on this specific computer.
|
||||
- `modules/`: This directory contains the bulk of the configuration, broken down into smaller, reusable pieces ("modules").
|
||||
- `modules/core/global-packages.nix`: You can add packages here if you want them to be installed on *all* of your ZaneyOS computers.
|
||||
- `modules/home/hyprland/binds.nix`: This is where you can customize your Hyprland keybindings.
|
||||
|
||||
## How to Add Packages
|
||||
|
||||
There are two main ways to add packages:
|
||||
|
||||
### 1. For a Single Computer
|
||||
|
||||
If you only want to install a package on your current computer, you'll add it to `hosts/<your-hostname>/host-packages.nix`.
|
||||
|
||||
1. Open `hosts/<your-hostname>/host-packages.nix` in your favorite editor.
|
||||
2. You'll see a list of packages. Simply add the name of the package you want to install to the list. For example, to add the `cowsay` package, you would change this:
|
||||
|
||||
```nix
|
||||
[
|
||||
brave
|
||||
(catppuccin-vsc.override {
|
||||
variant = "mocha";
|
||||
})
|
||||
]
|
||||
```
|
||||
|
||||
to this:
|
||||
|
||||
```nix
|
||||
[
|
||||
brave
|
||||
(catppuccin-vsc.override {
|
||||
variant = "mocha";
|
||||
})
|
||||
cowsay
|
||||
]
|
||||
```
|
||||
|
||||
3. Save the file.
|
||||
|
||||
### 2. For All Computers
|
||||
|
||||
If you want a package to be installed on every computer you use ZaneyOS on, you'll add it to `modules/core/global-packages.nix`. The process is the same as above.
|
||||
|
||||
## How to Change Monitor Settings
|
||||
|
||||
You can change your monitor settings in `hosts/<your-hostname>/variables.nix`.
|
||||
|
||||
1. Open `hosts/<your-hostname>/variables.nix`.
|
||||
2. Look for the `extraMonitorSettings` line.
|
||||
3. You can add your monitor settings here. For example, to set the resolution and refresh rate for a monitor named `DP-1`, you would change this:
|
||||
|
||||
```nix
|
||||
extraMonitorSettings = "";
|
||||
```
|
||||
|
||||
to this:
|
||||
|
||||
```nix
|
||||
extraMonitorSettings = "monitor=DP-1,1920x1080@144";
|
||||
```
|
||||
|
||||
4. Save the file.
|
||||
|
||||
## How to Change Hyprland Bindings
|
||||
|
||||
You can change your Hyprland keybindings in `modules/home/hyprland/binds.nix`.
|
||||
|
||||
1. Open `modules/home/hyprland/binds.nix`.
|
||||
2. You'll see a list of keybindings. You can change them to your liking. For example, to change the keybinding for opening a terminal from `SUPER, Return` to `SUPER, T`, you would change this:
|
||||
|
||||
```nix
|
||||
"SUPER, Return, exec, ${terminal}"
|
||||
```
|
||||
|
||||
to this:
|
||||
|
||||
```nix
|
||||
"SUPER, T, exec, ${terminal}"
|
||||
```
|
||||
|
||||
3. Save the file.
|
||||
|
||||
## Applying Your Changes
|
||||
|
||||
After you've made any changes, you need to apply them.
|
||||
|
||||
1. Open a terminal.
|
||||
2. Run the command `zcli rebuild`. This will apply your changes to the system.
|
||||
3. If the command completes successfully, your changes are now active! Some changes may require a reboot to take effect.
|
||||
168
cheatsheets/nvim/Intro-to-Neovim-on-ddubsos.es.md
Normal file
168
cheatsheets/nvim/Intro-to-Neovim-on-ddubsos.es.md
Normal file
|
|
@ -0,0 +1,168 @@
|
|||
# Introducción a Neovim en ZaneyOS
|
||||
|
||||
¡Bienvenido! Esta chuleta introduce Neovim tal y como está configurado en ZaneyOS (modules/home/nvf.nix). Se centra en tareas para principiantes y los plugins/atajos clave de este setup.
|
||||
|
||||
Aspectos destacados
|
||||
- UI moderna: tema Catppuccin, Lualine, bufferline, iconos
|
||||
- Explorador de archivos: Neo‑tree
|
||||
- Búsqueda: Telescope (buscar archivos, ripgrep en vivo)
|
||||
- LSP: autocompletado/diagnósticos/formateo al guardar
|
||||
- Diagnósticos UI: Trouble; which‑key; notificaciones
|
||||
- Terminal: ToggleTerm; integración con LazyGit
|
||||
- Markdown: previsualización en vivo
|
||||
- Movimientos: hop y leap para saltos rápidos
|
||||
- Comentado, autocompletado, snippets, autopairs
|
||||
|
||||
Tecla Leader
|
||||
- “Leader” es un prefijo para atajos personalizados. En esta config suele ser Space. Pulsa Space para ver which‑key con grupos disponibles.
|
||||
- Notación: <leader>ff significa Space, luego f y f.
|
||||
|
||||
Primeros pasos
|
||||
- Abrir Neovim:
|
||||
```bash path=null start=null
|
||||
nvim
|
||||
```
|
||||
- Ayuda: <leader>h para :help, o <leader>H para ayuda de la palabra bajo el cursor.
|
||||
- Salir de Insert: escribe jk rápido (mapeado a <Esc>).
|
||||
|
||||
Navegación y modos
|
||||
- Modos: Normal, Insert (i), Visual (v), Comando (:)
|
||||
- Movimiento: h izq, j abajo, k arriba, l der
|
||||
- Palabras: w siguiente, b anterior, e fin
|
||||
- Líneas: 0 inicio, ^ primer no blanco, $ fin
|
||||
- Pantallas: Ctrl‑f avanza, Ctrl‑b retrocede
|
||||
- Buscar: /patrón, n siguiente, N anterior; limpia resaltado con <leader>nh
|
||||
|
||||
Abrir/crear/leer archivos
|
||||
- Abrir archivo:
|
||||
```vim path=null start=null
|
||||
:e ruta/al/archivo
|
||||
```
|
||||
- Crear (editar un nombre nuevo):
|
||||
```vim path=null start=null
|
||||
:e nuevo.txt
|
||||
```
|
||||
- Leer archivo en el buffer actual:
|
||||
```vim path=null start=null
|
||||
:r ruta/a/otro
|
||||
```
|
||||
- Leer salida de un comando:
|
||||
```vim path=null start=null
|
||||
:r !ls -la
|
||||
```
|
||||
|
||||
Guardar y salir
|
||||
- Guardar: :w
|
||||
- Salir: :q
|
||||
- Guardar y salir: :wq (o :x)
|
||||
- Salir sin guardar: :q!
|
||||
- Guardar todo: :wa
|
||||
- Cerrar buffer (mantener ventana): :bd
|
||||
|
||||
Ventanas y buffers
|
||||
- Dividir: :sp (horizontal), :vsp (vertical)
|
||||
- Mover entre ventanas: Ctrl‑w h/j/k/l
|
||||
- Siguiente/anterior buffer: :bnext / :bprevious
|
||||
- Listar buffers: :ls
|
||||
|
||||
Portapapeles, copiar/pegar
|
||||
- Esta config habilita el portapapeles del sistema (unnamedplus). Los yanks van al portapapeles.
|
||||
- Copiar: y (yy línea entera)
|
||||
- Pegar: p / P
|
||||
- Portapapeles explícito: "+y para copiar, "+p para pegar
|
||||
|
||||
Explorador (Neo‑tree)
|
||||
- Toggle: <leader>e o <leader>fe
|
||||
- Atajos típicos: Enter abre; a añadir; r renombrar; d borrar; y copiar, p pegar; s/v split/vsplit
|
||||
|
||||
Búsqueda (Telescope)
|
||||
- Buscar archivos: <leader>ff
|
||||
- Grep en vivo: <leader>lg
|
||||
- Controles: Arriba/Abajo, Enter, Ctrl‑q a quickfix, Esc cierra
|
||||
|
||||
Terminal y LazyGit
|
||||
- Toggle terminal: <leader>t
|
||||
- En terminal: Ctrl‑\ y luego Ctrl‑n para Normal
|
||||
- LazyGit:
|
||||
```vim path=null start=null
|
||||
:LazyGit
|
||||
```
|
||||
|
||||
Diagnósticos y LSP
|
||||
- Lista de diagnósticos (Trouble): <leader>dt
|
||||
- Siguiente/anterior diagnóstico: <leader>dj / <leader>dk
|
||||
- Mostrar diagnóstico de la línea actual: <leader>dl
|
||||
- Formatear:
|
||||
```vim path=null start=null
|
||||
:lua vim.lsp.buf.format()
|
||||
```
|
||||
- Info LSP:
|
||||
```vim path=null start=null
|
||||
:LspInfo
|
||||
```
|
||||
|
||||
Comentarios, completado, pares, snippets
|
||||
- Comentarios: gcc (línea), gc en visual (selección)
|
||||
- nvim‑cmp: autocompletado; Enter/Tab según tu preferencia
|
||||
- Autopairs: cierra brackets/comillas
|
||||
- Snippets (luasnip): expande con Tab/Enter (según contexto)
|
||||
|
||||
Markdown preview
|
||||
- Toggle: <leader>mp
|
||||
|
||||
Mociones
|
||||
- hop y leap habilitados; consulta :help hop y :help leap
|
||||
|
||||
Corrección ortográfica
|
||||
- Inglés habilitado con wordlist. Comandos:
|
||||
- Activar/desactivar: :set spell / :set nospell
|
||||
- Siguiente/anterior error: ]s / [s
|
||||
- Sugerencias: z=
|
||||
- Añadir palabra: zg; deshacer: zw
|
||||
|
||||
Git
|
||||
- Gitsigns muestra cambios en el margen.
|
||||
- Diffview:
|
||||
```vim path=null start=null
|
||||
:DiffviewOpen
|
||||
:DiffviewClose
|
||||
```
|
||||
|
||||
Notificaciones y ayuda
|
||||
- nvim‑notify muestra avisos.
|
||||
- F1 desactivado. Usa:
|
||||
- <leader>h :help
|
||||
- <leader>H ayuda contextual
|
||||
|
||||
Which‑key y chuletas
|
||||
- Pulsa Space para ver which‑key.
|
||||
- Hay un plugin de chuleta interactiva.
|
||||
|
||||
Solución de problemas
|
||||
- Salud:
|
||||
```vim path=null start=null
|
||||
:checkhealth
|
||||
```
|
||||
- Mensajes:
|
||||
```vim path=null start=null
|
||||
:messages
|
||||
```
|
||||
- Reiniciar LSP:
|
||||
```vim path=null start=null
|
||||
:LspRestart
|
||||
```
|
||||
|
||||
Referencia rápida
|
||||
- Modos: i, v, Esc, :
|
||||
- Guardar/salir: :w / :q / :wq / :q!
|
||||
- Abrir/crear: :e archivo
|
||||
- Leer a buffer: :r archivo
|
||||
- Buscar: /patrón; n/N; limpiar <leader>nh
|
||||
- Explorador: <leader>e
|
||||
- Archivos: <leader>ff; Grep: <leader>lg
|
||||
- Terminal: <leader>t; LazyGit: :LazyGit
|
||||
- Diagnósticos: <leader>dt, <leader>dj / <leader>dk, <leader>dl
|
||||
- Ayuda: <leader>h, <leader>H
|
||||
|
||||
Consejo: empieza con which‑key. Pulsa Space y sigue las pistas en pantalla.
|
||||
|
||||
178
cheatsheets/nvim/Intro-to-Neovim-on-ddubsos.md
Normal file
178
cheatsheets/nvim/Intro-to-Neovim-on-ddubsos.md
Normal file
|
|
@ -0,0 +1,178 @@
|
|||
# Intro to Neovim on ZaneyOS
|
||||
|
||||
Welcome! This cheatsheet introduces Neovim as configured in ZaneyOS (modules/home/nvf.nix). It focuses on beginner tasks and the key plugins and keymaps in this setup.
|
||||
|
||||
Highlights of this configuration
|
||||
- Modern UI: Catppuccin theme, Lualine statusline, bufferline, icons
|
||||
- File explorer: Neo‑tree
|
||||
- Search: Telescope (find files, ripgrep live search)
|
||||
- LSP: Language Server Protocol (syntax, diagnostics, formatting on save)
|
||||
- Diagnostics UI: Trouble list; which‑key helper; notify popups
|
||||
- Terminal: ToggleTerm (inline terminal); LazyGit integration
|
||||
- Markdown: Live preview
|
||||
- Motions: hop and leap for fast jumping
|
||||
- Commenting, autocompletion, snippets, autopairs
|
||||
|
||||
What is the Leader key?
|
||||
- The “leader” is a prefix for custom shortcuts. In this config, it’s typically Space. Try pressing Space and you should see a which‑key popup listing available groups.
|
||||
- Notation: <leader>ff means press Space, then f, then f.
|
||||
|
||||
First steps
|
||||
- Start Neovim: from a terminal, run:
|
||||
```bash path=null start=null
|
||||
nvim
|
||||
```
|
||||
- Get help: press <leader>h to open a :help prompt, or <leader>H to open help for the word under cursor.
|
||||
- Escape Insert mode: press jk quickly (mapped to <Esc>).
|
||||
|
||||
Basic navigation and modes
|
||||
- Modes: Normal (default), Insert (i), Visual (v), Command (:)
|
||||
- Move: h left, j down, k up, l right
|
||||
- Words: w next word, b back word, e end of word
|
||||
- Lines: 0 start, ^ first non‑blank, $ end
|
||||
- Screens: Ctrl‑f forward page, Ctrl‑b back page
|
||||
- Search: /pattern, n next, N previous; clear highlights with <leader>nh
|
||||
|
||||
Open, create, read files
|
||||
- Open a file:
|
||||
```vim path=null start=null
|
||||
:e path/to/file
|
||||
```
|
||||
- Create a new file (just edit a new name):
|
||||
```vim path=null start=null
|
||||
:e newfile.txt
|
||||
```
|
||||
- Read a file into current buffer at cursor:
|
||||
```vim path=null start=null
|
||||
:r path/to/otherfile
|
||||
```
|
||||
- Read command output into buffer:
|
||||
```vim path=null start=null
|
||||
:r !ls -la
|
||||
```
|
||||
|
||||
Save and quit
|
||||
- Save: :w
|
||||
- Quit: :q
|
||||
- Save and quit: :wq (or :x)
|
||||
- Quit without saving: :q!
|
||||
- Save all: :wa
|
||||
- Close buffer (keep window): :bd
|
||||
|
||||
Windows and buffers
|
||||
- Split window: :sp (horizontal), :vsp (vertical)
|
||||
- Move between windows: Ctrl‑w h/j/k/l
|
||||
- Next/previous buffer: :bnext / :bprevious
|
||||
- List buffers: :ls
|
||||
|
||||
Clipboard, copy/paste
|
||||
- This config enables system clipboard (unnamedplus) and Wayland/X11 providers, so yanks go to your system clipboard.
|
||||
- Copy text: y in normal/visual (yy for a whole line)
|
||||
- Paste: p (after cursor) or P (before cursor)
|
||||
- System clipboard explicitly: "+y to copy, "+p to paste
|
||||
|
||||
File explorer (Neo‑tree)
|
||||
- Toggle Neo‑tree: <leader>e or <leader>fe
|
||||
- In Neo‑tree (common defaults):
|
||||
- Enter: open
|
||||
- a: add file/directory
|
||||
- r: rename
|
||||
- d: delete
|
||||
- y: copy, p: paste (within Neo‑tree)
|
||||
- s / v: open in split / vsplit (varies by setup)
|
||||
|
||||
Search (Telescope)
|
||||
- Find files by name: <leader>ff
|
||||
- Live grep (ripgrep content search): <leader>lg
|
||||
- Common Telescope controls: Up/Down to navigate, Enter to open, Ctrl‑q to send to quickfix list, Esc to close
|
||||
|
||||
Terminal and LazyGit
|
||||
- Toggle inline terminal: <leader>t
|
||||
- In the terminal buffer: press Ctrl‑\ then Ctrl‑n to return to Normal mode if needed
|
||||
- LazyGit integration is enabled; run:
|
||||
```vim path=null start=null
|
||||
:LazyGit
|
||||
```
|
||||
|
||||
Diagnostics and LSP
|
||||
- Diagnostic list (Trouble): <leader>dt (toggle)
|
||||
- Next/previous diagnostic: <leader>dj / <leader>dk
|
||||
- Show diagnostic for current line: <leader>dl
|
||||
- Formatting on save is enabled where supported. You can also run:
|
||||
```vim path=null start=null
|
||||
:lua vim.lsp.buf.format()
|
||||
```
|
||||
- LSP info / servers:
|
||||
```vim path=null start=null
|
||||
:LspInfo
|
||||
```
|
||||
|
||||
Comments, completion, pairs, snippets
|
||||
- Comments (comment‑nvim defaults):
|
||||
- gcc to toggle comment on current line
|
||||
- gc in visual mode to toggle selection
|
||||
- Autocompletion (nvim‑cmp): starts automatically; use Enter/Tab per your insert‑mode behavior
|
||||
- Auto‑pairs: brackets/quotes auto‑close
|
||||
- Snippets (luasnip): many language snippets are available; expand with Tab/Enter (depends on context)
|
||||
|
||||
Markdown preview
|
||||
- Toggle Markdown live preview: <leader>mp
|
||||
|
||||
Motion helpers
|
||||
- hop and leap are enabled for fast jumping; try searching for a character or pattern (consult :help hop and :help leap for details). Great for quickly moving around large files.
|
||||
|
||||
Spellcheck
|
||||
- English spellcheck is enabled with a programming wordlist that auto‑updates on first run.
|
||||
- Useful commands:
|
||||
- Toggle spell: :set spell / :set nospell
|
||||
- Next/prev misspelling: ]s / [s
|
||||
- Suggestions for word under cursor: z=
|
||||
- Add word to dictionary: zg
|
||||
- Undo added word: zw
|
||||
|
||||
Git integration
|
||||
- Signs in the gutter (gitsigns) show added/changed lines.
|
||||
- Diffview is available for rich diffs:
|
||||
```vim path=null start=null
|
||||
:DiffviewOpen
|
||||
:DiffviewClose
|
||||
```
|
||||
|
||||
Notifications and help
|
||||
- Notifications appear via nvim‑notify.
|
||||
- F1 is disabled to prevent accidental help popups; use:
|
||||
- <leader>h to open :help prompt
|
||||
- <leader>H for help on word under cursor
|
||||
|
||||
Which‑key and cheatsheet
|
||||
- Press the leader (Space) to see a which‑key popup of available keys.
|
||||
- A cheatsheet plugin is enabled—explore keymaps interactively.
|
||||
|
||||
Troubleshooting
|
||||
- Check health:
|
||||
```vim path=null start=null
|
||||
:checkhealth
|
||||
```
|
||||
- See messages/notifications:
|
||||
```vim path=null start=null
|
||||
:messages
|
||||
```
|
||||
- If completion/diagnostics feel off, reload LSP:
|
||||
```vim path=null start=null
|
||||
:LspRestart
|
||||
```
|
||||
|
||||
Quick reference
|
||||
- Modes: i (insert), v (visual), Esc (back to normal), : (command)
|
||||
- Save/quit: :w / :q / :wq / :q!
|
||||
- Open/create: :e file
|
||||
- Read file into current: :r file
|
||||
- Search: /pattern then n/N; clear highlights <leader>nh
|
||||
- File explorer: <leader>e (Neo‑tree)
|
||||
- Find files: <leader>ff; Live grep: <leader>lg
|
||||
- Terminal: <leader>t; LazyGit: :LazyGit
|
||||
- Diagnostics: <leader>dt (list), <leader>dj / <leader>dk (nav), <leader>dl (line)
|
||||
- Help: <leader>h, <leader>H
|
||||
|
||||
Tip: Start with which‑key. Press Space and follow the on‑screen hints to discover available actions in this setup.
|
||||
|
||||
93
cheatsheets/project-guide.md
Normal file
93
cheatsheets/project-guide.md
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
# Project Guide — ZaneyOS
|
||||
|
||||
Scope
|
||||
- A reproducible NixOS flake tailored for desktop systems with per-host overrides, GPU/VM profiles, and an integrated Home Manager layer (Hyprland, Waybar, shells, scripts).
|
||||
- Repo location is expected at ~/zaneyos. If you place it elsewhere, update modules/core/nh.nix (programs.nh.flake) to the new path.
|
||||
|
||||
Quick commands
|
||||
- Build and switch (preferred: nh/zcli)
|
||||
- fr → nh os switch --hostname <profile> # alias provided by zsh/bash modules
|
||||
- fu → nh os switch --hostname <profile> --update
|
||||
- zcli rebuild
|
||||
- zcli update
|
||||
- Build for next boot (safer for larger changes)
|
||||
- zcli rebuild-boot
|
||||
- or: sudo nixos-rebuild boot --flake .#<profile>
|
||||
- Direct NixOS (if you prefer without nh/zcli)
|
||||
- sudo nixos-rebuild switch --flake .#<profile>
|
||||
- Validate the flake
|
||||
- nix flake check
|
||||
- Format Nix files (nixfmt-rfc-style is included)
|
||||
- find . -name "*.nix" -print0 | xargs -0 nixfmt
|
||||
- Host management
|
||||
- zcli update-host [hostname] [profile] # edits flake.nix host/profile
|
||||
- zcli add-host <hostname> [profile] # copies hosts/default and guides hardware.nix
|
||||
- Diagnostics and maintenance
|
||||
- zcli diag # writes ~/diag.txt
|
||||
- zcli cleanup # prunes older generations (prompts for retention)
|
||||
|
||||
zcli advanced options (for rebuild/update)
|
||||
- --dry (-n) preview only
|
||||
- --ask (-a) confirm before proceeding
|
||||
- --cores N cap build CPU usage
|
||||
- --verbose (-v) more logs
|
||||
- --no-nom disable nix-output-monitor
|
||||
|
||||
Profiles and when to use them
|
||||
- amd, intel, nvidia, nvidia-laptop (intel+NVIDIA hybrid), amd-hybrid (AMD+NVIDIA hybrid), vm
|
||||
- Choose with the <profile> argument in nh/nixos-rebuild commands (e.g., .#vm)
|
||||
|
||||
High-level architecture
|
||||
- flake.nix
|
||||
- Inputs: nixpkgs 25.05, home-manager 25.05, stylix, nvf, nix-flatpak
|
||||
- Local constants: system, host, profile, username
|
||||
- nixosConfigurations: one per GPU/VM profile via mkNixosConfig
|
||||
- Each configuration imports profiles/<profile>
|
||||
- profiles/<profile>/default.nix
|
||||
- Imports the active host and the system module stacks:
|
||||
- ../../hosts/${host}
|
||||
- ../../modules/drivers
|
||||
- ../../modules/core
|
||||
- Flips toggles: drivers.*.enable and vm.guest-services.enable
|
||||
- Hybrid laptops: profiles/nvidia-laptop pulls intel/nvidia Bus IDs from the host’s variables.nix and wires nvidia-prime; profiles/amd-hybrid pulls amdgpu/nvidia Bus IDs and wires the AMD+NVIDIA offload module
|
||||
- hosts/<hostname>/
|
||||
- default.nix imports hardware.nix and host-packages.nix
|
||||
- variables.nix is the control panel for UX + feature toggles:
|
||||
- displayManager (greetd vs sddm)
|
||||
- terminal/browser defaults (enable per-terminal via flags)
|
||||
- waybarChoice, animChoice, stylixImage
|
||||
- 24h clock, thunarEnable, printEnable, NFS
|
||||
- intelID/nvidiaID for Prime offload
|
||||
- modules/core
|
||||
- default.nix composes focused NixOS modules: boot, flatpak, fonts, hardware, network, nfs, nh, packages, printing, display manager (conditional greetd/sddm), security, services (PipeWire, SSH, Bluetooth, fstrim; smartd conditional on profile), steam, stylix, syncthing, system (nix settings, locales, env vars), thunar, user (Home Manager), virtualisation, xserver
|
||||
- user.nix integrates Home Manager and creates users.${username}; passes extraSpecialArgs { inputs, username, host, profile } to the home layer
|
||||
- nh.nix enables nh, configures GC, and pins programs.nh.flake = /home/${username}/zaneyos
|
||||
- modules/drivers
|
||||
- Aggregates AMD, Intel, NVIDIA, NVIDIA Prime, and VM guest services
|
||||
- nvidia-prime-drivers.nix exposes options.drivers.nvidia-prime.{enable,intelBusID,nvidiaBusID} consumed by the nvidia-laptop profile; nvidia-amd-hybrid.nix exposes options.drivers.nvidia-amd-hybrid.{enable,amdgpuBusID,nvidiaBusID} consumed by the amd-hybrid profile
|
||||
- vm-guest-services.nix enables qemu-guest, spice agents when vm.guest-services.enable = true
|
||||
- modules/home
|
||||
- default.nix composes the user environment (Hyprland, Waybar via waybarChoice, Rofi, Yazi, Kitty/WezTerm/Ghostty/Alacritty toggles, Zsh/Bash config, Git, NVF/Neovim, OBS, swaync, scripts, Stylix, optional Doom Emacs/VSCodium/Helix)
|
||||
- scripts/default.nix installs user-space tools including zcli; zcli wraps rebuild/update/boot builds, cleanup, diagnostics, host management, and Doom Emacs lifecycle
|
||||
|
||||
Where to change what
|
||||
- flake.nix: set username, host, profile; add inputs; wire outputs
|
||||
- hosts/<hostname>/{variables.nix,hardware.nix,host-packages.nix}: per-machine behavior, theming, and hardware
|
||||
- modules/core/*: system-level settings, services, packages
|
||||
- modules/home/*: user apps, shell, window manager, UI
|
||||
|
||||
Common workflows
|
||||
- Small UX tweaks: edit hosts/<hostname>/variables.nix → fr
|
||||
- Theme swap: edit stylixImage/waybarChoice in variables.nix → fr (or zcli rebuild-boot)
|
||||
- GPU/VM switch: choose nixos-rebuild/nh profile (e.g., nh os switch --hostname vm) and optionally update host/profile constants with zcli update-host
|
||||
|
||||
Validation and troubleshooting
|
||||
- nix flake check for a quick sanity test
|
||||
- zcli diag to produce a detailed hardware/system report
|
||||
- If the repo is not under ~/zaneyos, update modules/core/nh.nix so zcli/nh operate on the correct path
|
||||
|
||||
Documentation pointers
|
||||
- README.md: requirements, first-time install methods, upgrade overview
|
||||
- zcli.md: full CLI documentation, commands, options, and examples
|
||||
- cheatsheets/: quick-reference guides for Hyprland, terminals, editors, etc.
|
||||
|
||||
88
cheatsheets/tmux/tmux.cheatsheet.es.md
Normal file
88
cheatsheets/tmux/tmux.cheatsheet.es.md
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
[English](./tmux.cheatsheet.md) | Español
|
||||
|
||||
# Tmux en ZaneyOS — Resumen y Cheatsheet
|
||||
## 🚀 Resumen de modules/home/terminals/tmux.nix
|
||||
|
||||
### ⌨️ ¿Qué es el Prefijo de Tmux?
|
||||
- El prefijo es una tecla especial que presionas antes de la mayoría de los comandos de tmux, para que tmux pueda distinguirlos de la escritura normal.
|
||||
- Guía de notación utilizada a continuación:
|
||||
- C-x = mantén presionada la tecla Control y presiona x (ej., C-a significa Control+a)
|
||||
- M-x = mantén presionada la tecla Alt/Meta y presiona x (a veces se muestra como Alt+x)
|
||||
- S-x = mantén presionada la tecla Shift y presiona x (a menudo implícito para las letras mayúsculas)
|
||||
- El prefijo predeterminado de Tmux es C-b (Control+b). En esta configuración se cambia a C-a (Control+a), lo que refleja el flujo de trabajo histórico de GNU Screen que muchos usuarios prefieren.
|
||||
|
||||
Ejemplos rápidos (con prefijo = C-a):
|
||||
- Nueva ventana: presiona C-a y luego c
|
||||
- Siguiente ventana: presiona C-a y luego n
|
||||
- Dividir horizontalmente: presiona C-a y luego |
|
||||
- Dividir verticalmente: presiona C-a y luego -
|
||||
- Redimensionar a la izquierda: presiona C-a y luego C-h (mantén Control y presiona h)
|
||||
|
||||
- Programa
|
||||
- tmux habilitado; prefijo: C-a; modo de teclas: vi; baseIndex: 1; pane-base-index: 1
|
||||
- baseIndex: la numeración de las ventanas comienza en 1 en lugar de 0
|
||||
- pane-base-index: la numeración de los paneles dentro de una ventana comienza en 1 en lugar de 0
|
||||
- La terminal anula el RGB; la terminal se establece en "kitty"; shell: zsh
|
||||
- Ratón: habilitado; reloj de 12 horas; límite de historial: 5000; renumerar ventanas: activado
|
||||
|
||||
- Estado/UX
|
||||
- Barra de estado en la parte superior; passthrough: activado; confirmaciones reducidas (kill-pane sin aviso)
|
||||
|
||||
- Plugins
|
||||
- vim-tmux-navigator, sensible, catppuccin
|
||||
|
||||
---
|
||||
|
||||
## 🗝️ Cheatsheet de Atajos de Teclado
|
||||
|
||||
Navegación
|
||||
- Prefijo h/j/k/l — seleccionar panel Izquierda/Abajo/Arriba/Derecha
|
||||
- Prefijo o — seleccionar el siguiente panel
|
||||
- C-Tab — siguiente ventana
|
||||
- C-S-Tab — ventana anterior
|
||||
- M-Tab — nueva ventana
|
||||
|
||||
Divisiones
|
||||
- Prefijo | — dividir ventana -h (directorio actual)
|
||||
- Prefijo \ — dividir ventana -fh (directorio actual)
|
||||
- Prefijo - — dividir ventana -v (directorio actual)
|
||||
- Prefijo _ — dividir ventana -fv (directorio actual)
|
||||
|
||||
Redimensionar
|
||||
- Prefijo C-h/C-j/C-k/C-l — redimensionar panel 15 columnas/filas en la dirección
|
||||
- Prefijo m — alternar zoom (redimensionar panel -Z)
|
||||
|
||||
Ventanas
|
||||
- Prefijo c — nueva ventana
|
||||
- Prefijo n — siguiente ventana
|
||||
- Prefijo p — ventana anterior (nota: la configuración asigna 'n' dos veces; se pretendía p para anterior)
|
||||
- Prefijo t — modo reloj
|
||||
- Prefijo q — mostrar paneles
|
||||
- Prefijo u — refrescar cliente
|
||||
|
||||
Sesión/Recargar
|
||||
- Prefijo r — cargar archivo ~/.config/tmux/tmux.conf
|
||||
- Prefijo x — matar panel (sin aviso)
|
||||
|
||||
Ventanas Emergentes (display-popup)
|
||||
- Prefijo C-y — lazygit (80%x80% en el directorio actual)
|
||||
- Prefijo C-n — solicitar nombre de sesión; crear y cambiar
|
||||
- Prefijo C-j — cambiar de sesión a través de fzf
|
||||
- Prefijo C-r — yazi (90%x90% en el directorio actual)
|
||||
- Prefijo C-z — nvim ~/ZaneyOS/flake.nix (90%x90%)
|
||||
- Prefijo C-t — zsh (75%x75% en el directorio actual)
|
||||
|
||||
Menú (display-menu)
|
||||
- Prefijo d — Menú de Dotfiles con entradas de apertura rápida:
|
||||
- f: flake.nix (ZaneyOS)
|
||||
- c: paquetes principales (ZaneyOS)
|
||||
- g: paquetes globales (ZaneyOS)
|
||||
- k: atajos de teclado (Hyprland)
|
||||
- w: reglas de ventana (Hyprland)
|
||||
- z: ZaneyOS flake.nix
|
||||
- p: paquetes de ZaneyOS
|
||||
- q: Salir
|
||||
|
||||
Notas
|
||||
- Los índices de paneles/ventanas comienzan en 1.
|
||||
- Passthrough de terminal y RGB habilitados para color verdadero.
|
||||
89
cheatsheets/tmux/tmux.cheatsheet.md
Normal file
89
cheatsheets/tmux/tmux.cheatsheet.md
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
English | [Español](./tmux.cheatsheet.es.md)
|
||||
|
||||
# Tmux on ZaneyOS — Summary & Cheatsheet
|
||||
## 🚀 Summary of modules/home/terminals/tmux.nix
|
||||
|
||||
### ⌨️ What is the Tmux Prefix?
|
||||
- The prefix is a special key you press before most tmux commands, so tmux can tell them apart from regular typing.
|
||||
- Notation guide used below:
|
||||
- C-x = hold Control and press x (e.g., C-a means Control+a)
|
||||
- M-x = hold Alt/Meta and press x (sometimes shown as Alt+x)
|
||||
- S-x = hold Shift and press x (often implicit for uppercase letters)
|
||||
- Tmux default prefix is C-b (Control+b). In this config it’s changed to C-a (Control+a), which mirrors the historical GNU Screen workflow many users prefer.
|
||||
|
||||
Quick examples (with prefix = C-a):
|
||||
- New window: press C-a then c
|
||||
- Next window: press C-a then n
|
||||
- Split horizontally: press C-a then |
|
||||
- Split vertically: press C-a then -
|
||||
- Resize left: press C-a then C-h (hold Control and press h)
|
||||
|
||||
- Program
|
||||
- tmux enabled; prefix: C-a; key mode: vi; baseIndex: 1; pane-base-index: 1
|
||||
- baseIndex: window numbering starts at 1 instead of 0
|
||||
- pane-base-index: pane numbering inside a window starts at 1 instead of 0
|
||||
- Terminal overrides RGB; terminal set to "kitty"; shell: zsh
|
||||
- Mouse: enabled; 12-hour clock; history-limit: 5000; renumber-windows: on
|
||||
|
||||
- Status/UX
|
||||
- Status bar at top; passthrough: on; confirmations reduced (kill-pane without prompt)
|
||||
|
||||
- Plugins
|
||||
- vim-tmux-navigator, sensible, catppuccin
|
||||
|
||||
---
|
||||
|
||||
## 🗝️ Keybindings Cheatsheet
|
||||
|
||||
Navigation
|
||||
- Prefix h/j/k/l — select-pane Left/Down/Up/Right
|
||||
- Prefix o — select next pane
|
||||
- C-Tab — next-window
|
||||
- C-S-Tab — previous-window
|
||||
- M-Tab — new-window
|
||||
|
||||
Splits
|
||||
- Prefix | — split-window -h (cwd)
|
||||
- Prefix \ — split-window -fh (cwd)
|
||||
- Prefix - — split-window -v (cwd)
|
||||
- Prefix _ — split-window -fv (cwd)
|
||||
|
||||
Resize
|
||||
- Prefix C-h/C-j/C-k/C-l — resize-pane 15 cols/rows in direction
|
||||
- Prefix m — toggle zoom (resize-pane -Z)
|
||||
|
||||
Windows
|
||||
- Prefix c — new-window
|
||||
- Prefix n — next-window
|
||||
- Prefix p — previous-window (note: config binds 'n' twice; intended p for previous)
|
||||
- Prefix t — clock-mode
|
||||
- Prefix q — display-panes
|
||||
- Prefix u — refresh-client
|
||||
|
||||
Session/Reload
|
||||
- Prefix r — source-file ~/.config/tmux/tmux.conf
|
||||
- Prefix x — kill-pane (no prompt)
|
||||
|
||||
Popups (display-popup)
|
||||
- Prefix C-y — lazygit (80%x80% at cwd)
|
||||
- Prefix C-n — prompt for session name; create and switch
|
||||
- Prefix C-j — switch session via fzf
|
||||
- Prefix C-r — yazi (90%x90% at cwd)
|
||||
- Prefix C-z — nvim ~/ZaneyOS/flake.nix (90%x90%)
|
||||
- Prefix C-t — zsh (75%x75% at cwd)
|
||||
|
||||
Menu (display-menu)
|
||||
- Prefix d — Dotfiles menu with quick-open entries:
|
||||
- f: flake.nix (ZaneyOS)
|
||||
- c: core packages (ZaneyOS)
|
||||
- g: global packages (ZaneyOS)
|
||||
- k: keybinds (Hyprland)
|
||||
- w: window rules (Hyprland)
|
||||
- z: ZaneyOS flake.nix
|
||||
- p: ZaneyOS packages
|
||||
- q: Exit
|
||||
|
||||
Notes
|
||||
- Pane/Window indices start at 1.
|
||||
- Terminal passthrough and RGB enabled for truecolor.
|
||||
|
||||
41
cheatsheets/wezterm/wezterm.cheatsheet.es.md
Normal file
41
cheatsheets/wezterm/wezterm.cheatsheet.es.md
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
[English](./wezterm.cheatsheet.md) | Español
|
||||
|
||||
# WezTerm en ZaneyOS — Resumen y Cheatsheet
|
||||
## 🚀 Resumen de modules/home/terminals/wezterm.nix
|
||||
|
||||
- Programa
|
||||
- WezTerm habilitado con el paquete pkgs.wezterm
|
||||
- Configuración de Lua proporcionada en ~/.config/wezterm/wezterm.lua
|
||||
|
||||
- Apariencia y Comportamiento
|
||||
- Ocultar la barra de pestañas si solo hay una pestaña
|
||||
- Cadena de fuentes de respaldo: Maple Mono NF (delgada), Fira Code, JetBrains Mono, Hack
|
||||
- Fuente: FiraCode Regular (marco de la ventana: JetBrainsMono Nerd Font Mono); tamaño: 12
|
||||
- Esquema de colores: Catppuccin Mocha; colores personalizados de la barra de pestañas
|
||||
- Opacidad del fondo de la ventana: 0.75; relleno: 10 en todos los lados
|
||||
- Barra de pestañas elegante habilitada; fuente personalizada de window_frame
|
||||
- Cursor: BlinkingUnderline, velocidad de parpadeo 500
|
||||
- Term: xterm-256color
|
||||
- Rendimiento: max_fps 120; animation_fps 30
|
||||
- Wayland: enable_wayland = true
|
||||
- Advertencias de glifos faltantes: deshabilitadas
|
||||
|
||||
---
|
||||
|
||||
## 🗝️ Cheatsheet de Atajos de Teclado
|
||||
|
||||
Pestañas
|
||||
- Alt+t — Crear pestaña (CurrentPaneDomain)
|
||||
- Alt+w — Cerrar pestaña actual (sin confirmar)
|
||||
- Alt+n — Pestaña siguiente
|
||||
- Alt+p — Pestaña anterior
|
||||
|
||||
Paneles
|
||||
- Alt+v — Dividir verticalmente
|
||||
- Alt+h — Dividir horizontalmente
|
||||
- Alt+q — Cerrar panel actual (sin confirmar)
|
||||
- Alt+Teclas de flecha — Activar panel en la dirección de la flecha
|
||||
|
||||
Notas
|
||||
- Lua contiene ajustes opcionales relacionados con NVIDIA comentados.
|
||||
- default_prog se puede habilitar si el prompt de Starship tiene problemas de inicio.
|
||||
42
cheatsheets/wezterm/wezterm.cheatsheet.md
Normal file
42
cheatsheets/wezterm/wezterm.cheatsheet.md
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
English | [Español](./wezterm.cheatsheet.es.md)
|
||||
|
||||
# WezTerm on ZaneyOS — Summary & Cheatsheet
|
||||
## 🚀 Summary of modules/home/terminals/wezterm.nix
|
||||
|
||||
- Program
|
||||
- WezTerm enabled with package pkgs.wezterm
|
||||
- Lua config provided at ~/.config/wezterm/wezterm.lua
|
||||
|
||||
- Appearance & Behavior
|
||||
- Hide tab bar if only one tab
|
||||
- Font fallback chain: Maple Mono NF (thin), Fira Code, JetBrains Mono, Hack
|
||||
- Font: FiraCode Regular (window frame: JetBrainsMono Nerd Font Mono); size: 12
|
||||
- Color scheme: Catppuccin Mocha; custom tab bar colors
|
||||
- Window background opacity: 0.75; padding: 10 on all sides
|
||||
- Fancy tab bar enabled; custom window_frame font
|
||||
- Cursor: BlinkingUnderline, blink rate 500
|
||||
- Term: xterm-256color
|
||||
- Performance: max_fps 120; animation_fps 30
|
||||
- Wayland: enable_wayland = true
|
||||
- Missing glyph warnings: disabled
|
||||
|
||||
---
|
||||
|
||||
## 🗝️ Keybindings Cheatsheet
|
||||
|
||||
Tabs
|
||||
- Alt+t — Spawn tab (CurrentPaneDomain)
|
||||
- Alt+w — Close current tab (no confirm)
|
||||
- Alt+n — Next tab
|
||||
- Alt+p — Previous tab
|
||||
|
||||
Panes
|
||||
- Alt+v — Split vertical
|
||||
- Alt+h — Split horizontal
|
||||
- Alt+q — Close current pane (no confirm)
|
||||
- Alt+Arrow keys — Activate pane in arrow direction
|
||||
|
||||
Notes
|
||||
- Lua contains optional NVIDIA-related tuning commented out.
|
||||
- default_prog can be enabled if Starship prompt has startup issues.
|
||||
|
||||
110
cheatsheets/yazi/yazi.keymap.cheatsheet.es.md
Normal file
110
cheatsheets/yazi/yazi.keymap.cheatsheet.es.md
Normal file
|
|
@ -0,0 +1,110 @@
|
|||
[English](./yazi.keymap.cheatsheet.md) | Español
|
||||
|
||||
# Mapa de Teclas de Yazi — ZaneyOS (Amigable para Humanos)
|
||||
## 🧭 Navegación
|
||||
- k / Arriba — Mover hacia arriba
|
||||
- j / Abajo — Mover hacia abajo
|
||||
- Ctrl+u / Shift+RePág — Media página hacia arriba
|
||||
- Ctrl+d / Shift+AvPág — Media página hacia abajo
|
||||
- Ctrl+b / RePág — Página hacia arriba
|
||||
- Ctrl+f / AvPág — Página hacia abajo
|
||||
- g g — Ir al principio
|
||||
- G — Ir al final
|
||||
- h / Izquierda — Ir al directorio padre
|
||||
- l / Derecha — Entrar al directorio hijo
|
||||
- H — Atrás (directorio anterior)
|
||||
- L — Adelante (siguiente directorio)
|
||||
|
||||
## 🧰 Selección y Modo Visual
|
||||
- Espacio — Alternar actual, luego mover hacia abajo
|
||||
- Ctrl+a — Seleccionar todo
|
||||
- Ctrl+r — Invertir selección
|
||||
- v — Entrar en modo visual (seleccionar)
|
||||
- V — Salir del modo visual
|
||||
|
||||
## 🔎 Búsqueda y Filtro
|
||||
- s — Buscar por nombre (fd)
|
||||
- S — Buscar por contenido (ripgrep)
|
||||
- Ctrl+s — Cancelar búsqueda
|
||||
- f — Filtrar archivos (inteligente)
|
||||
- / — Buscar siguiente (inteligente)
|
||||
- ? — Buscar anterior (inteligente)
|
||||
- n — Siguiente encontrado
|
||||
- N — Anterior encontrado
|
||||
|
||||
## 📂 Abrir y Vista Previa
|
||||
- o / Enter — Abrir
|
||||
- O / Shift+Enter — Abrir interactivamente
|
||||
- Tab — Resaltar archivo sobre el que se pasa el ratón
|
||||
- K / J — Desplazarse hacia arriba/abajo en la vista previa (±5)
|
||||
|
||||
## 📋 Portapapeles (Copiar/Mover)
|
||||
- y — Copiar (yank)
|
||||
- x — Cortar (yank cut)
|
||||
- p — Pegar
|
||||
- P — Pegar (sobrescribir)
|
||||
- - — Enlace simbólico de la ruta absoluta de lo copiado
|
||||
- _ — Enlace simbólico de la ruta relativa de lo copiado
|
||||
- Ctrl+- — Enlace duro de lo copiado
|
||||
- Y / X — Deshacer copia (cancelar yank)
|
||||
|
||||
## 🗑️ Eliminar
|
||||
- d — Enviar a la papelera lo seleccionado
|
||||
- D — Eliminar permanentemente
|
||||
|
||||
## ✏️ Crear y Renombrar
|
||||
- a — Crear archivo/directorio (usar / al final para carpetas)
|
||||
- r — Renombrar (cursor antes de la extensión)
|
||||
|
||||
## 🖥️ Shell
|
||||
- ; — Ejecutar comando de shell (interactivo)
|
||||
- : — Ejecutar comando de shell (bloquear hasta que termine)
|
||||
|
||||
## 👀 Archivos Ocultos
|
||||
- . — Alternar ocultos
|
||||
|
||||
## 🧭 Saltos Rápidos
|
||||
- g h — Ir a $HOME
|
||||
- g c — Ir a ~/.config
|
||||
- g d — Ir a ~/Downloads
|
||||
- g Espacio — Saltar interactivamente
|
||||
- z — Salto con Zoxide
|
||||
- Z — Salto con FZF (archivo/directorio)
|
||||
|
||||
## 🧾 Modo de Línea (Vista de Metadatos)
|
||||
- m s — Tamaño
|
||||
- m p — Permisos
|
||||
- m b — Fecha de creación
|
||||
- m m — Fecha de modificación
|
||||
- m o — Propietario
|
||||
- m n — Ninguno
|
||||
|
||||
## 🔤 Ordenar
|
||||
- , m / , M — Ordenar por fecha de modificación (asc/desc)
|
||||
- , b / , B — Ordenar por fecha de creación (asc/desc)
|
||||
- , e / , E — Ordenar por extensión (asc/desc)
|
||||
- , a / , A — Ordenar alfabéticamente (asc/desc)
|
||||
- , n / , N — Ordenar naturalmente (asc/desc)
|
||||
- , s / , S — Ordenar por tamaño (asc/desc)
|
||||
- , r — Ordenar aleatoriamente
|
||||
|
||||
## 🗂️ Pestañas
|
||||
- t — Nueva pestaña (directorio actual)
|
||||
- 1..9 — Cambiar a la pestaña 1..9
|
||||
- [ / ] — Pestaña anterior / siguiente
|
||||
- { / } — Intercambiar pestaña a la izquierda / derecha
|
||||
|
||||
## 🧮 Tareas y Ayuda
|
||||
- w — Mostrar tareas (gestor de tareas)
|
||||
- ~ / F1 — Abrir ayuda
|
||||
|
||||
## 🧩 Plugins (Anteponer)
|
||||
- g i — LazyGit (plugin)
|
||||
- l — Entrada inteligente (entrar a directorio o abrir archivo)
|
||||
|
||||
## 🧰 Modos: Resaltar, Elegir, Entrada, Confirmar, Autocompletar
|
||||
- Modo Resaltar: Esc/C-[/Ctrl+c/Tab para cerrar; k/j/Arriba/Abajo para navegar; h/l o Izquierda/Derecha para deslizar; c c para copiar celda; ~ / F1 para ayuda
|
||||
- Modo Elegir: Esc/C-[/Ctrl+c para cancelar; Enter para enviar; k/j/Arriba/Abajo para navegar; ~ / F1 para ayuda
|
||||
- Modo Entrada: Esc/C-[ para escapar; i/I/a/A para entrar en modo inserción/añadir (con movimientos al principio/final de línea); selecciones visuales (v, V, Ctrl-A/E); movimiento (h/l/Izquierda/Derecha/C-b/C-f/b/B/w/W/e/E/Alt-b/Alt-f); eliminar/retroceder/matar palabras; cortar/copiar/pegar (d/D/c/C/x/y/p/P); deshacer/rehacer (u/C-r); ~ / F1 para ayuda
|
||||
- Modo Confirmar: Esc/C-[/Ctrl+c/n para cancelar; Enter/y para enviar; k/j/Arriba/Abajo para navegar; ~ / F1 para ayuda
|
||||
- Modo Autocompletar: Ctrl+c para cancelar; Tab para enviar; Enter para enviar autocompletado + entrada; Alt-k/j o Arriba/Abajo/C-p/C-n para navegar; ~ / F1 para ayuda
|
||||
111
cheatsheets/yazi/yazi.keymap.cheatsheet.md
Normal file
111
cheatsheets/yazi/yazi.keymap.cheatsheet.md
Normal file
|
|
@ -0,0 +1,111 @@
|
|||
English | [Español](./yazi.keymap.cheatsheet.es.md)
|
||||
|
||||
# Yazi Keymap — ZaneyOS (Human-friendly)
|
||||
## 🧭 Navigation
|
||||
- k / Up — Move up
|
||||
- j / Down — Move down
|
||||
- Ctrl+u / Shift+PageUp — Half page up
|
||||
- Ctrl+d / Shift+PageDown — Half page down
|
||||
- Ctrl+b / PageUp — Page up
|
||||
- Ctrl+f / PageDown — Page down
|
||||
- g g — Go to top
|
||||
- G — Go to bottom
|
||||
- h / Left — Go to parent directory
|
||||
- l / Right — Enter child directory
|
||||
- H — Back (previous directory)
|
||||
- L — Forward (next directory)
|
||||
|
||||
## 🧰 Selection & Visual Mode
|
||||
- Space — Toggle current, then move down
|
||||
- Ctrl+a — Select all
|
||||
- Ctrl+r — Invert selection
|
||||
- v — Enter visual (select) mode
|
||||
- V — Visual unset mode
|
||||
|
||||
## 🔎 Search & Filter
|
||||
- s — Search by name (fd)
|
||||
- S — Search by content (ripgrep)
|
||||
- Ctrl+s — Cancel search
|
||||
- f — Filter files (smart)
|
||||
- / — Find next (smart)
|
||||
- ? — Find previous (smart)
|
||||
- n — Next found
|
||||
- N — Previous found
|
||||
|
||||
## 📂 Open & Preview
|
||||
- o / Enter — Open
|
||||
- O / Shift+Enter — Open interactively
|
||||
- Tab — Spot hovered file
|
||||
- K / J — Seek up/down in preview (±5)
|
||||
|
||||
## 📋 Clipboard (Yank/Copy/Move)
|
||||
- y — Yank (copy)
|
||||
- x — Yank cut (move)
|
||||
- p — Paste
|
||||
- P — Paste (overwrite)
|
||||
- - — Symlink absolute path of yanked
|
||||
- _ — Symlink relative path of yanked
|
||||
- Ctrl+- — Hardlink yanked
|
||||
- Y / X — Unyank (cancel yank)
|
||||
|
||||
## 🗑️ Delete
|
||||
- d — Trash selected
|
||||
- D — Delete permanently
|
||||
|
||||
## ✏️ Create & Rename
|
||||
- a — Create file/dir (use trailing / for folders)
|
||||
- r — Rename (cursor before extension)
|
||||
|
||||
## 🖥️ Shell
|
||||
- ; — Run shell command (interactive)
|
||||
- : — Run shell command (block until done)
|
||||
|
||||
## 👀 Hidden Files
|
||||
- . — Toggle hidden
|
||||
|
||||
## 🧭 Quick Jumps
|
||||
- g h — Go to $HOME
|
||||
- g c — Go to ~/.config
|
||||
- g d — Go to ~/Downloads
|
||||
- g Space — Jump interactively
|
||||
- z — Zoxide jump
|
||||
- Z — FZF jump (file/dir)
|
||||
|
||||
## 🧾 Linemode (Metadata View)
|
||||
- m s — Size
|
||||
- m p — Permissions
|
||||
- m b — Birth time
|
||||
- m m — Modified time
|
||||
- m o — Owner
|
||||
- m n — None
|
||||
|
||||
## 🔤 Sorting
|
||||
- , m / , M — Sort by mtime (asc/desc)
|
||||
- , b / , B — Sort by btime (asc/desc)
|
||||
- , e / , E — Sort by extension (asc/desc)
|
||||
- , a / , A — Sort alphabetically (asc/desc)
|
||||
- , n / , N — Sort naturally (asc/desc)
|
||||
- , s / , S — Sort by size (asc/desc)
|
||||
- , r — Sort randomly
|
||||
|
||||
## 🗂️ Tabs
|
||||
- t — New tab (current dir)
|
||||
- 1..9 — Switch to tab 1..9
|
||||
- [ / ] — Previous / Next tab
|
||||
- { / } — Swap tab left / right
|
||||
|
||||
## 🧮 Tasks & Help
|
||||
- w — Show tasks (task manager)
|
||||
- ~ / F1 — Open help
|
||||
|
||||
## 🧩 Plugins (Prepend)
|
||||
- g i — LazyGit (plugin)
|
||||
- l — Smart enter (dir enter or open file)
|
||||
|
||||
## 🧰 Spot, Pick, Input, Confirm, Completion (Modes)
|
||||
- Spot mode: Esc/C-[/Ctrl+c/Tab to close; k/j/Up/Down navigate; h/l or Left/Right to swipe; c c copy cell; ~ / F1 for help
|
||||
- Pick mode: Esc/C-[/Ctrl+c to cancel; Enter to submit; k/j/Up/Down navigate; ~ / F1 help
|
||||
- Input mode: Esc/C-[ to escape; i/I/a/A enter insert/append (with BOL/EOL moves); visual selections (v, V, Ctrl-A/E); movement (h/l/Left/Right/C-b/C-f/b/B/w/W/e/E/Alt-b/Alt-f); delete/backspace/kill words; cut/copy/paste (d/D/c/C/x/y/p/P); undo/redo (u/C-r); ~ / F1 help
|
||||
- Confirm mode: Esc/C-[/Ctrl+c/n to cancel; Enter/y to submit; k/j/Up/Down navigate; ~ / F1 help
|
||||
- Completion mode: Ctrl+c cancel; Tab submit; Enter submit completion + input; Alt-k/j or Up/Down/C-p/C-n navigate; ~ / F1 help
|
||||
|
||||
BIN
config/demo.png
BIN
config/demo.png
Binary file not shown.
|
Before Width: | Height: | Size: 694 KiB |
1855
config/emoji.nix
1855
config/emoji.nix
File diff suppressed because it is too large
Load diff
|
|
@ -1,113 +0,0 @@
|
|||
{
|
||||
programs.fastfetch = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
display = {
|
||||
color = {
|
||||
keys = "35";
|
||||
output = "90";
|
||||
};
|
||||
};
|
||||
|
||||
logo = {
|
||||
source = ./nixos.png;
|
||||
type = "kitty-direct";
|
||||
height = 15;
|
||||
width = 30;
|
||||
padding = {
|
||||
top = 3;
|
||||
left = 3;
|
||||
};
|
||||
};
|
||||
|
||||
modules = [
|
||||
"break"
|
||||
{
|
||||
type = "custom";
|
||||
format = "┌──────────────────────Hardware──────────────────────┐";
|
||||
}
|
||||
{
|
||||
type = "cpu";
|
||||
key = "│ ";
|
||||
}
|
||||
{
|
||||
type = "gpu";
|
||||
key = "│ ";
|
||||
}
|
||||
{
|
||||
type = "memory";
|
||||
key = "│ ";
|
||||
}
|
||||
{
|
||||
type = "custom";
|
||||
format = "└────────────────────────────────────────────────────┘";
|
||||
}
|
||||
"break"
|
||||
{
|
||||
type = "custom";
|
||||
format = "┌──────────────────────Software──────────────────────┐";
|
||||
}
|
||||
{
|
||||
type = "custom";
|
||||
format = " OS -> ZaneyOS 2.2";
|
||||
}
|
||||
{
|
||||
type = "kernel";
|
||||
key = "│ ├ ";
|
||||
}
|
||||
{
|
||||
type = "packages";
|
||||
key = "│ ├ ";
|
||||
}
|
||||
{
|
||||
type = "shell";
|
||||
key = "└ └ ";
|
||||
}
|
||||
"break"
|
||||
{
|
||||
type = "wm";
|
||||
key = " WM";
|
||||
}
|
||||
{
|
||||
type = "wmtheme";
|
||||
key = "│ ├ ";
|
||||
}
|
||||
{
|
||||
type = "terminal";
|
||||
key = "└ └ ";
|
||||
}
|
||||
{
|
||||
type = "custom";
|
||||
format = "└────────────────────────────────────────────────────┘";
|
||||
}
|
||||
"break"
|
||||
{
|
||||
type = "custom";
|
||||
format = "┌────────────────────Uptime / Age────────────────────┐";
|
||||
}
|
||||
{
|
||||
type = "command";
|
||||
key = "│ ";
|
||||
text = #bash
|
||||
''
|
||||
birth_install=$(stat -c %W /)
|
||||
current=$(date +%s)
|
||||
delta=$((current - birth_install))
|
||||
delta_days=$((delta / 86400))
|
||||
echo $delta_days days
|
||||
'';
|
||||
}
|
||||
{
|
||||
type = "uptime";
|
||||
key = "│ ";
|
||||
}
|
||||
{
|
||||
type = "custom";
|
||||
format = "└────────────────────────────────────────────────────┘";
|
||||
}
|
||||
"break"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,217 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
username,
|
||||
host,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (import ../hosts/${host}/variables.nix)
|
||||
browser
|
||||
terminal
|
||||
extraMonitorSettings
|
||||
keyboardLayout
|
||||
;
|
||||
in
|
||||
with lib;
|
||||
{
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
systemd.enable = true;
|
||||
extraConfig =
|
||||
let
|
||||
modifier = "SUPER";
|
||||
in
|
||||
concatStrings [
|
||||
''
|
||||
env = NIXOS_OZONE_WL, 1
|
||||
env = NIXPKGS_ALLOW_UNFREE, 1
|
||||
env = XDG_CURRENT_DESKTOP, Hyprland
|
||||
env = XDG_SESSION_TYPE, wayland
|
||||
env = XDG_SESSION_DESKTOP, Hyprland
|
||||
env = GDK_BACKEND, wayland, x11
|
||||
env = CLUTTER_BACKEND, wayland
|
||||
env = QT_QPA_PLATFORM=wayland;xcb
|
||||
env = QT_WAYLAND_DISABLE_WINDOWDECORATION, 1
|
||||
env = QT_AUTO_SCREEN_SCALE_FACTOR, 1
|
||||
env = SDL_VIDEODRIVER, x11
|
||||
env = MOZ_ENABLE_WAYLAND, 1
|
||||
exec-once = dbus-update-activation-environment --systemd --all
|
||||
exec-once = systemctl --user import-environment QT_QPA_PLATFORMTHEME WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once = killall -q swww;sleep .5 && swww init
|
||||
exec-once = killall -q waybar;sleep .5 && waybar
|
||||
exec-once = killall -q swaync;sleep .5 && swaync
|
||||
exec-once = nm-applet --indicator
|
||||
exec-once = lxqt-policykit-agent
|
||||
exec-once = sleep 1.5 && swww img /home/${username}/Pictures/Wallpapers/beautifulmountainscape.jpg
|
||||
monitor=,preferred,auto,1
|
||||
${extraMonitorSettings}
|
||||
general {
|
||||
gaps_in = 6
|
||||
gaps_out = 8
|
||||
border_size = 2
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
col.active_border = rgb(${config.lib.stylix.colors.base08}) rgb(${config.lib.stylix.colors.base0C}) 45deg
|
||||
col.inactive_border = rgb(${config.lib.stylix.colors.base01})
|
||||
}
|
||||
input {
|
||||
kb_layout = ${keyboardLayout}
|
||||
kb_options = grp:alt_shift_toggle
|
||||
kb_options = caps:super
|
||||
follow_mouse = 1
|
||||
touchpad {
|
||||
natural_scroll = true
|
||||
disable_while_typing = true
|
||||
scroll_factor = 0.8
|
||||
}
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
accel_profile = flat
|
||||
}
|
||||
windowrule = noborder,^(wofi)$
|
||||
windowrule = center,^(wofi)$
|
||||
windowrule = float,^(steam)$
|
||||
windowrulev2 = float, class:(xdg-desktop-portal-gtk)
|
||||
windowrulev2 = float, class:^(nwg-look|qt5ct|qt6ct)$
|
||||
windowrulev2 = float, class:^(nm-applet|nm-connection-editor|blueman-manager)$
|
||||
windowrulev2 = float, class:^(file-roller|org.gnome.FileRoller)$ # archive manager
|
||||
windowrulev2 = float, class:([Tt]hunar), title:(File Operation Progress)
|
||||
windowrulev2 = float, class:([Tt]hunar), title:(Confirm to replace files)
|
||||
windowrulev2 = stayfocused, title:^()$,class:^(steam)$
|
||||
windowrulev2 = minsize 1 1, title:^()$,class:^(steam)$
|
||||
windowrulev2 = opacity 0.9 0.7, class:^(thunar)$
|
||||
# Window Rules For Size
|
||||
windowrule = size 1080 900, ^(steam)$
|
||||
windowrulev2 = size 70% 70%, class:^(gnome-system-monitor|org.gnome.SystemMonitor)$
|
||||
windowrulev2 = size 70% 70%, class:^(xdg-desktop-portal-gtk)$
|
||||
windowrulev2 = size 60% 70%, class:^(qt6ct)$
|
||||
windowrulev2 = size 60% 70%, class:^(file-roller|org.gnome.FileRoller)$
|
||||
gestures {
|
||||
workspace_swipe = true
|
||||
workspace_swipe_fingers = 3
|
||||
}
|
||||
misc {
|
||||
initial_workspace_tracking = 0
|
||||
mouse_move_enables_dpms = true
|
||||
key_press_enables_dpms = false
|
||||
}
|
||||
animations {
|
||||
enabled = yes
|
||||
bezier = wind, 0.05, 0.9, 0.1, 1.05
|
||||
bezier = winIn, 0.1, 1.1, 0.1, 1.1
|
||||
bezier = winOut, 0.3, -0.3, 0, 1
|
||||
bezier = liner, 1, 1, 1, 1
|
||||
animation = windows, 1, 6, wind, slide
|
||||
animation = windowsIn, 1, 6, winIn, slide
|
||||
animation = windowsOut, 1, 5, winOut, slide
|
||||
animation = windowsMove, 1, 5, wind, slide
|
||||
animation = border, 1, 1, liner
|
||||
animation = fade, 1, 10, default
|
||||
animation = workspaces, 1, 5, wind
|
||||
}
|
||||
decoration {
|
||||
rounding = 10
|
||||
shadow {
|
||||
enabled = true
|
||||
range = 4
|
||||
render_power = 3
|
||||
color = rgba(1a1a1aee)
|
||||
}
|
||||
blur {
|
||||
enabled = true
|
||||
size = 5
|
||||
passes = 3
|
||||
new_optimizations = on
|
||||
ignore_opacity = off
|
||||
}
|
||||
}
|
||||
plugin {
|
||||
hyprtrails {
|
||||
}
|
||||
}
|
||||
dwindle {
|
||||
pseudotile = true
|
||||
preserve_split = true
|
||||
}
|
||||
bind = ${modifier},Return,exec,${terminal}
|
||||
bind = ${modifier}SHIFT,Return,exec,rofi-launcher
|
||||
bind = ${modifier}SHIFT,W,exec,web-search
|
||||
bind = ${modifier}ALT,W,exec,wallsetter
|
||||
bind = ${modifier}SHIFT,N,exec,swaync-client -rs
|
||||
bind = ${modifier},W,exec,${browser}
|
||||
bind = ${modifier},E,exec,emopicker9000
|
||||
bind = ${modifier},S,exec,screenshootin
|
||||
bind = ${modifier},D,exec,discord
|
||||
bind = ${modifier},O,exec,obs
|
||||
bind = ${modifier},C,exec,hyprpicker -a
|
||||
bind = ${modifier},G,exec,gimp
|
||||
bind = ${modifier}SHIFT,G,exec,godot4
|
||||
bind = ${modifier},T,exec,thunar
|
||||
bind = ${modifier},M,exec,spotify
|
||||
bind = ${modifier},Q,killactive,
|
||||
bind = ${modifier},P,pseudo,
|
||||
bind = ${modifier}SHIFT,I,togglesplit,
|
||||
bind = ${modifier},F,fullscreen,
|
||||
bind = ${modifier}SHIFT,F,togglefloating,
|
||||
bind = ${modifier}SHIFT,C,exit,
|
||||
bind = ${modifier}SHIFT,left,movewindow,l
|
||||
bind = ${modifier}SHIFT,right,movewindow,r
|
||||
bind = ${modifier}SHIFT,up,movewindow,u
|
||||
bind = ${modifier}SHIFT,down,movewindow,d
|
||||
bind = ${modifier}SHIFT,h,movewindow,l
|
||||
bind = ${modifier}SHIFT,l,movewindow,r
|
||||
bind = ${modifier}SHIFT,k,movewindow,u
|
||||
bind = ${modifier}SHIFT,j,movewindow,d
|
||||
bind = ${modifier},left,movefocus,l
|
||||
bind = ${modifier},right,movefocus,r
|
||||
bind = ${modifier},up,movefocus,u
|
||||
bind = ${modifier},down,movefocus,d
|
||||
bind = ${modifier},h,movefocus,l
|
||||
bind = ${modifier},l,movefocus,r
|
||||
bind = ${modifier},k,movefocus,u
|
||||
bind = ${modifier},j,movefocus,d
|
||||
bind = ${modifier},1,workspace,1
|
||||
bind = ${modifier},2,workspace,2
|
||||
bind = ${modifier},3,workspace,3
|
||||
bind = ${modifier},4,workspace,4
|
||||
bind = ${modifier},5,workspace,5
|
||||
bind = ${modifier},6,workspace,6
|
||||
bind = ${modifier},7,workspace,7
|
||||
bind = ${modifier},8,workspace,8
|
||||
bind = ${modifier},9,workspace,9
|
||||
bind = ${modifier},0,workspace,10
|
||||
bind = ${modifier}SHIFT,SPACE,movetoworkspace,special
|
||||
bind = ${modifier},SPACE,togglespecialworkspace
|
||||
bind = ${modifier}SHIFT,1,movetoworkspace,1
|
||||
bind = ${modifier}SHIFT,2,movetoworkspace,2
|
||||
bind = ${modifier}SHIFT,3,movetoworkspace,3
|
||||
bind = ${modifier}SHIFT,4,movetoworkspace,4
|
||||
bind = ${modifier}SHIFT,5,movetoworkspace,5
|
||||
bind = ${modifier}SHIFT,6,movetoworkspace,6
|
||||
bind = ${modifier}SHIFT,7,movetoworkspace,7
|
||||
bind = ${modifier}SHIFT,8,movetoworkspace,8
|
||||
bind = ${modifier}SHIFT,9,movetoworkspace,9
|
||||
bind = ${modifier}SHIFT,0,movetoworkspace,10
|
||||
bind = ${modifier}CONTROL,right,workspace,e+1
|
||||
bind = ${modifier}CONTROL,left,workspace,e-1
|
||||
bind = ${modifier},mouse_down,workspace, e+1
|
||||
bind = ${modifier},mouse_up,workspace, e-1
|
||||
bindm = ${modifier},mouse:272,movewindow
|
||||
bindm = ${modifier},mouse:273,resizewindow
|
||||
bind = ALT,Tab,cyclenext
|
||||
bind = ALT,Tab,bringactivetotop
|
||||
bind = ,XF86AudioRaiseVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bind = ,XF86AudioLowerVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
binde = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
bind = ,XF86AudioPlay, exec, playerctl play-pause
|
||||
bind = ,XF86AudioPause, exec, playerctl play-pause
|
||||
bind = ,XF86AudioNext, exec, playerctl next
|
||||
bind = ,XF86AudioPrev, exec, playerctl previous
|
||||
bind = ,XF86MonBrightnessDown,exec,brightnessctl set 5%-
|
||||
bind = ,XF86MonBrightnessUp,exec,brightnessctl set +5%
|
||||
''
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -1,88 +0,0 @@
|
|||
{ pkgs, inputs, ... }:
|
||||
let
|
||||
finecmdline = pkgs.vimUtils.buildVimPlugin {
|
||||
name = "fine-cmdline";
|
||||
src = inputs.fine-cmdline;
|
||||
};
|
||||
in
|
||||
{
|
||||
programs = {
|
||||
neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
vimdiffAlias = true;
|
||||
withNodeJs = true;
|
||||
extraPackages = with pkgs; [
|
||||
lua-language-server
|
||||
gopls
|
||||
xclip
|
||||
wl-clipboard
|
||||
luajitPackages.lua-lsp
|
||||
nil
|
||||
rust-analyzer
|
||||
#nodePackages.bash-language-server
|
||||
yaml-language-server
|
||||
pyright
|
||||
marksman
|
||||
];
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
alpha-nvim
|
||||
auto-session
|
||||
bufferline-nvim
|
||||
dressing-nvim
|
||||
indent-blankline-nvim
|
||||
nui-nvim
|
||||
finecmdline
|
||||
nvim-treesitter.withAllGrammars
|
||||
lualine-nvim
|
||||
nvim-autopairs
|
||||
nvim-web-devicons
|
||||
nvim-cmp
|
||||
nvim-surround
|
||||
nvim-lspconfig
|
||||
cmp-nvim-lsp
|
||||
cmp-buffer
|
||||
luasnip
|
||||
cmp_luasnip
|
||||
friendly-snippets
|
||||
lspkind-nvim
|
||||
comment-nvim
|
||||
nvim-ts-context-commentstring
|
||||
plenary-nvim
|
||||
neodev-nvim
|
||||
luasnip
|
||||
telescope-nvim
|
||||
todo-comments-nvim
|
||||
nvim-tree-lua
|
||||
telescope-fzf-native-nvim
|
||||
vim-tmux-navigator
|
||||
];
|
||||
extraConfig = ''
|
||||
set noemoji
|
||||
nnoremap : <cmd>FineCmdline<CR>
|
||||
'';
|
||||
extraLuaConfig = ''
|
||||
${builtins.readFile ./nvim/options.lua}
|
||||
${builtins.readFile ./nvim/keymaps.lua}
|
||||
${builtins.readFile ./nvim/plugins/alpha.lua}
|
||||
${builtins.readFile ./nvim/plugins/autopairs.lua}
|
||||
${builtins.readFile ./nvim/plugins/auto-session.lua}
|
||||
${builtins.readFile ./nvim/plugins/comment.lua}
|
||||
${builtins.readFile ./nvim/plugins/cmp.lua}
|
||||
${builtins.readFile ./nvim/plugins/lsp.lua}
|
||||
${builtins.readFile ./nvim/plugins/nvim-tree.lua}
|
||||
${builtins.readFile ./nvim/plugins/telescope.lua}
|
||||
${builtins.readFile ./nvim/plugins/todo-comments.lua}
|
||||
${builtins.readFile ./nvim/plugins/treesitter.lua}
|
||||
${builtins.readFile ./nvim/plugins/fine-cmdline.lua}
|
||||
require("ibl").setup()
|
||||
require("bufferline").setup{}
|
||||
require("lualine").setup({
|
||||
icons_enabled = true,
|
||||
})
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
local keymap = vim.keymap
|
||||
-- use jk to exit insert mode
|
||||
keymap.set("i", "jk", "<ESC>", { desc = "Exit insert mode with jk" })
|
||||
-- clear search highlights
|
||||
keymap.set("n", "<leader>nh", ":nohl<CR>", { desc = "Clear search highlights" })
|
||||
-- window management
|
||||
keymap.set("n", "<leader>sv", "<C-w>v", { desc = "Split window vertically" }) -- split window vertically
|
||||
keymap.set("n", "<leader>sh", "<C-w>s", { desc = "Split window horizontally" }) -- split window horizontally
|
||||
keymap.set("n", "<leader>se", "<C-w>=", { desc = "Make splits equal size" }) -- make split windows equal width & height
|
||||
keymap.set("n", "<leader>sx", "<cmd>close<CR>", { desc = "Close current split" }) -- close current split window
|
||||
keymap.set("n", "<leader>to", "<cmd>tabnew<CR>", { desc = "Open new tab" }) -- open new tab
|
||||
keymap.set("n", "<leader>tx", "<cmd>tabclose<CR>", { desc = "Close current tab" }) -- close current tab
|
||||
keymap.set("n", "<leader>tn", "<cmd>tabn<CR>", { desc = "Go to next tab" }) -- go to next tab
|
||||
keymap.set("n", "<leader>tp", "<cmd>tabp<CR>", { desc = "Go to previous tab" }) -- go to previous tab
|
||||
keymap.set("n", "<leader>tf", "<cmd>tabnew %<CR>", { desc = "Open current buffer in new tab" }) -- move current buffer to new tab
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
local opt = vim.opt
|
||||
opt.number = true
|
||||
opt.relativenumber = true
|
||||
opt.tabstop = 2
|
||||
opt.shiftwidth = 2
|
||||
opt.expandtab = true
|
||||
opt.autoindent = true
|
||||
opt.wrap = false
|
||||
opt.ignorecase = true
|
||||
opt.smartcase = true
|
||||
opt.termguicolors = true
|
||||
opt.background = "dark"
|
||||
opt.signcolumn = "yes"
|
||||
opt.mouse = "a"
|
||||
opt.cursorline = true
|
||||
opt.backspace = "indent,eol,start"
|
||||
opt.clipboard:append("unnamedplus")
|
||||
opt.splitright = true
|
||||
opt.splitbelow = true
|
||||
opt.swapfile = false
|
||||
vim.g.mapleader = " "
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
local alpha = require("alpha")
|
||||
local dashboard = require("alpha.themes.dashboard")
|
||||
|
||||
-- Set header
|
||||
dashboard.section.header.val = {
|
||||
" ",
|
||||
" ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗ ",
|
||||
" ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║ ",
|
||||
" ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║ ",
|
||||
" ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║ ",
|
||||
" ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║ ",
|
||||
" ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ ",
|
||||
" ",
|
||||
}
|
||||
|
||||
-- Set menu
|
||||
dashboard.section.buttons.val = {
|
||||
dashboard.button("e", " > New File", "<cmd>ene<CR>"),
|
||||
dashboard.button("SPC fe", " > Toggle file explorer", "<cmd>NvimTreeToggle<CR>"),
|
||||
dashboard.button("SPC ff", " > Find File", "<cmd>Telescope find_files<CR>"),
|
||||
dashboard.button("SPC lg", " > Find Word", "<cmd>Telescope live_grep<CR>"),
|
||||
dashboard.button("SPC wr", " > Restore Session For Current Directory", "<cmd>SessionRestore<CR>"),
|
||||
dashboard.button("q", " > Quit NVIM", "<cmd>qa<CR>"),
|
||||
}
|
||||
|
||||
-- Send config to alpha
|
||||
alpha.setup(dashboard.opts)
|
||||
|
||||
-- Disable folding on alpha buffer
|
||||
vim.cmd([[autocmd FileType alpha setlocal nofoldenable]])
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
local auto_session = require("auto-session")
|
||||
|
||||
auto_session.setup({
|
||||
auto_restore_enabled = false,
|
||||
auto_session_suppress_dirs = { "~/", "~/Dev/", "~/Downloads", "~/Documents", "~/Desktop/" },
|
||||
})
|
||||
|
||||
local keymap = vim.keymap
|
||||
|
||||
keymap.set("n", "<leader>wr", "<cmd>SessionRestore<CR>", { desc = "Restore session for cwd" }) -- restore last workspace session for current directory
|
||||
keymap.set("n", "<leader>ws", "<cmd>SessionSave<CR>", { desc = "Save session for auto session root dir" }) -- save workspace session for current working directory
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
local autopairs = require("nvim-autopairs")
|
||||
|
||||
-- configure autopairs
|
||||
autopairs.setup({
|
||||
check_ts = true, -- enable treesitter
|
||||
ts_config = {
|
||||
lua = { "string" }, -- don't add pairs in lua string treesitter nodes
|
||||
javascript = { "template_string" }, -- don't add pairs in javscript template_string treesitter nodes
|
||||
java = false, -- don't check treesitter on java
|
||||
},
|
||||
})
|
||||
|
||||
-- import nvim-autopairs completion functionality
|
||||
local cmp_autopairs = require("nvim-autopairs.completion.cmp")
|
||||
|
||||
-- import nvim-cmp plugin (completions plugin)
|
||||
local cmp = require("cmp")
|
||||
|
||||
-- make autopairs and completion work together
|
||||
cmp.event:on("confirm_done", cmp_autopairs.on_confirm_done())
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
local cmp = require("cmp")
|
||||
local luasnip = require("luasnip")
|
||||
local lspkind = require("lspkind")
|
||||
|
||||
-- loads vscode style snippets from installed plugins (e.g. friendly-snippets)
|
||||
require("luasnip.loaders.from_vscode").lazy_load()
|
||||
|
||||
cmp.setup({
|
||||
completion = {
|
||||
completeopt = "menu,menuone,preview,noselect",
|
||||
},
|
||||
snippet = { -- configure how nvim-cmp interacts with snippet engine
|
||||
expand = function(args)
|
||||
luasnip.lsp_expand(args.body)
|
||||
end,
|
||||
},
|
||||
mapping = cmp.mapping.preset.insert({
|
||||
["<C-k>"] = cmp.mapping.select_prev_item(), -- previous suggestion
|
||||
["<C-j>"] = cmp.mapping.select_next_item(), -- next suggestion
|
||||
["<C-b>"] = cmp.mapping.scroll_docs(-4),
|
||||
["<C-f>"] = cmp.mapping.scroll_docs(4),
|
||||
["<C-Space>"] = cmp.mapping.complete(), -- show completion suggestions
|
||||
["<C-e>"] = cmp.mapping.abort(), -- close completion window
|
||||
["<CR>"] = cmp.mapping.confirm({ select = false }),
|
||||
}),
|
||||
-- sources for autocompletion
|
||||
sources = cmp.config.sources({
|
||||
{ name = "nvim_lsp" }, -- language servers
|
||||
{ name = "luasnip" }, -- snippets
|
||||
{ name = "buffer" }, -- text within current buffer
|
||||
{ name = "path" }, -- file system paths
|
||||
}),
|
||||
|
||||
-- configure lspkind for vs-code like pictograms in completion menu
|
||||
formatting = {
|
||||
format = lspkind.cmp_format({
|
||||
maxwidth = 50,
|
||||
ellipsis_char = "...",
|
||||
}),
|
||||
},
|
||||
})
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
local comment = require("Comment")
|
||||
|
||||
local ts_context_commentstring = require("ts_context_commentstring.integrations.comment_nvim")
|
||||
|
||||
-- enable comment
|
||||
comment.setup({
|
||||
-- for commenting tsx, jsx, svelte, html files
|
||||
pre_hook = ts_context_commentstring.create_pre_hook(),
|
||||
})
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
require('fine-cmdline').setup({
|
||||
cmdline = {
|
||||
enable_keymaps = true,
|
||||
smart_history = true,
|
||||
prompt = '> '
|
||||
},
|
||||
popup = {
|
||||
position = {
|
||||
row = '10%',
|
||||
col = '50%',
|
||||
},
|
||||
size = {
|
||||
width = '60%',
|
||||
},
|
||||
border = {
|
||||
style = 'rounded',
|
||||
},
|
||||
win_options = {
|
||||
winhighlight = 'Normal:Normal,FloatBorder:FloatBorder',
|
||||
},
|
||||
},
|
||||
hooks = {
|
||||
before_mount = function(input)
|
||||
-- code
|
||||
end,
|
||||
after_mount = function(input)
|
||||
-- code
|
||||
end,
|
||||
set_keymaps = function(imap, feedkeys)
|
||||
-- code
|
||||
end
|
||||
}
|
||||
})
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
local lspconfig = require("lspconfig")
|
||||
|
||||
require'lspconfig'.pyright.setup{}
|
||||
require'lspconfig'.nil_ls.setup{}
|
||||
require'lspconfig'.marksman.setup{}
|
||||
require'lspconfig'.rust_analyzer.setup{}
|
||||
require'lspconfig'.yamlls.setup{}
|
||||
require'lspconfig'.bashls.setup{}
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
local nvimtree = require("nvim-tree")
|
||||
|
||||
-- recommended settings from nvim-tree documentation
|
||||
vim.g.loaded_netrw = 1
|
||||
vim.g.loaded_netrwPlugin = 1
|
||||
|
||||
nvimtree.setup({
|
||||
view = {
|
||||
width = 35,
|
||||
relativenumber = true,
|
||||
},
|
||||
-- change folder arrow icons
|
||||
renderer = {
|
||||
indent_markers = {
|
||||
enable = true,
|
||||
},
|
||||
icons = {
|
||||
glyphs = {
|
||||
folder = {
|
||||
arrow_closed = "", -- arrow when folder is closed
|
||||
arrow_open = "", -- arrow when folder is open
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
-- disable window_picker for
|
||||
-- explorer to work well with
|
||||
-- window splits
|
||||
actions = {
|
||||
open_file = {
|
||||
window_picker = {
|
||||
enable = false,
|
||||
},
|
||||
},
|
||||
},
|
||||
filters = {
|
||||
custom = { ".DS_Store" },
|
||||
},
|
||||
git = {
|
||||
ignore = false,
|
||||
},
|
||||
})
|
||||
|
||||
-- set keymaps
|
||||
local keymap = vim.keymap -- for conciseness
|
||||
|
||||
keymap.set("n", "<leader>fe", "<cmd>NvimTreeToggle<CR>", { desc = "Toggle file explorer" }) -- toggle file explorer
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
require('telescope').setup({
|
||||
extensions = {
|
||||
fzf = {
|
||||
fuzzy = true, -- false will only do exact matching
|
||||
override_generic_sorter = true, -- override the generic sorter
|
||||
override_file_sorter = true, -- override the file sorter
|
||||
case_mode = "smart_case", -- or "ignore_case" or "respect_case"
|
||||
-- the default case_mode is "smart_case"
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
require('telescope').load_extension('fzf')
|
||||
|
||||
local builtin = require('telescope.builtin')
|
||||
vim.keymap.set('n', '<leader>ff', builtin.find_files, {})
|
||||
vim.keymap.set('n', '<leader>lg', builtin.live_grep, {})
|
||||
vim.keymap.set('n', '<leader>fb', builtin.buffers, {})
|
||||
vim.keymap.set('n', '<leader>fh', builtin.help_tags, {})
|
||||
vim.keymap.set("n", "<leader>ft", "<cmd>TodoTelescope<cr>", { desc = "Find todos" })
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
local todo_comments = require("todo-comments")
|
||||
|
||||
-- set keymaps
|
||||
local keymap = vim.keymap -- for conciseness
|
||||
|
||||
keymap.set("n", "]t", function()
|
||||
todo_comments.jump_next()
|
||||
end, { desc = "Next todo comment" })
|
||||
|
||||
keymap.set("n", "[t", function()
|
||||
todo_comments.jump_prev()
|
||||
end, { desc = "Previous todo comment" })
|
||||
|
||||
todo_comments.setup()
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
require('nvim-treesitter.configs').setup {
|
||||
ensure_installed = {},
|
||||
|
||||
auto_install = false,
|
||||
|
||||
highlight = { enable = true },
|
||||
|
||||
indent = { enable = true },
|
||||
}
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
home.file.".config/rofi/config-emoji.rasi".text = ''
|
||||
@import "~/.config/rofi/config-long.rasi"
|
||||
entry {
|
||||
width: 45%;
|
||||
placeholder: "🔎 Search Emoji's 👀";
|
||||
}
|
||||
'';
|
||||
}
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
home.file.".config/rofi/config-long.rasi".text = ''
|
||||
@import "~/.config/rofi/config.rasi"
|
||||
window {
|
||||
width: 50%;
|
||||
}
|
||||
entry {
|
||||
placeholder: "🔎 Search ";
|
||||
}
|
||||
listview {
|
||||
columns: 1;
|
||||
lines: 8;
|
||||
scrollbar: true;
|
||||
}
|
||||
'';
|
||||
}
|
||||
|
|
@ -1,214 +0,0 @@
|
|||
{ pkgs, config, ... }:
|
||||
|
||||
{
|
||||
programs = {
|
||||
rofi = {
|
||||
enable = true;
|
||||
package = pkgs.rofi-wayland;
|
||||
extraConfig = {
|
||||
modi = "drun,filebrowser,run";
|
||||
show-icons = true;
|
||||
icon-theme = "Papirus";
|
||||
location = 0;
|
||||
font = "JetBrainsMono Nerd Font Mono 12";
|
||||
drun-display-format = "{icon} {name}";
|
||||
display-drun = " Apps";
|
||||
display-run = " Run";
|
||||
display-filebrowser = " File";
|
||||
};
|
||||
theme =
|
||||
let
|
||||
inherit (config.lib.formats.rasi) mkLiteral;
|
||||
in
|
||||
{
|
||||
"*" = {
|
||||
bg = mkLiteral "#${config.stylix.base16Scheme.base00}";
|
||||
bg-alt = mkLiteral "#${config.stylix.base16Scheme.base09}";
|
||||
foreground = mkLiteral "#${config.stylix.base16Scheme.base01}";
|
||||
selected = mkLiteral "#${config.stylix.base16Scheme.base08}";
|
||||
active = mkLiteral "#${config.stylix.base16Scheme.base0B}";
|
||||
text-selected = mkLiteral "#${config.stylix.base16Scheme.base00}";
|
||||
text-color = mkLiteral "#${config.stylix.base16Scheme.base05}";
|
||||
border-color = mkLiteral "#${config.stylix.base16Scheme.base0F}";
|
||||
urgent = mkLiteral "#${config.stylix.base16Scheme.base0E}";
|
||||
};
|
||||
"window" = {
|
||||
width = mkLiteral "50%";
|
||||
transparency = "real";
|
||||
orientation = mkLiteral "vertical";
|
||||
cursor = mkLiteral "default";
|
||||
spacing = mkLiteral "0px";
|
||||
border = mkLiteral "2px";
|
||||
border-color = "@border-color";
|
||||
border-radius = mkLiteral "20px";
|
||||
background-color = mkLiteral "@bg";
|
||||
};
|
||||
"mainbox" = {
|
||||
padding = mkLiteral "15px";
|
||||
enabled = true;
|
||||
orientation = mkLiteral "vertical";
|
||||
children = map mkLiteral [
|
||||
"inputbar"
|
||||
"listbox"
|
||||
];
|
||||
background-color = mkLiteral "transparent";
|
||||
};
|
||||
"inputbar" = {
|
||||
enabled = true;
|
||||
padding = mkLiteral "10px 10px 200px 10px";
|
||||
margin = mkLiteral "10px";
|
||||
background-color = mkLiteral "transparent";
|
||||
border-radius = "25px";
|
||||
orientation = mkLiteral "horizontal";
|
||||
children = map mkLiteral [
|
||||
"entry"
|
||||
"dummy"
|
||||
"mode-switcher"
|
||||
];
|
||||
background-image = mkLiteral ''url("~/Pictures/Wallpapers/beautifulmountainscape.jpg", width)'';
|
||||
};
|
||||
"entry" = {
|
||||
enabled = true;
|
||||
expand = false;
|
||||
width = mkLiteral "20%";
|
||||
padding = mkLiteral "10px";
|
||||
border-radius = mkLiteral "12px";
|
||||
background-color = mkLiteral "@selected";
|
||||
text-color = mkLiteral "@text-selected";
|
||||
cursor = mkLiteral "text";
|
||||
placeholder = "🖥️ Search ";
|
||||
placeholder-color = mkLiteral "inherit";
|
||||
};
|
||||
"listbox" = {
|
||||
spacing = mkLiteral "10px";
|
||||
padding = mkLiteral "10px";
|
||||
background-color = mkLiteral "transparent";
|
||||
orientation = mkLiteral "vertical";
|
||||
children = map mkLiteral [
|
||||
"message"
|
||||
"listview"
|
||||
];
|
||||
};
|
||||
"listview" = {
|
||||
enabled = true;
|
||||
columns = 2;
|
||||
lines = 6;
|
||||
cycle = true;
|
||||
dynamic = true;
|
||||
scrollbar = false;
|
||||
layout = mkLiteral "vertical";
|
||||
reverse = false;
|
||||
fixed-height = false;
|
||||
fixed-columns = true;
|
||||
spacing = mkLiteral "10px";
|
||||
background-color = mkLiteral "transparent";
|
||||
border = mkLiteral "0px";
|
||||
};
|
||||
"dummy" = {
|
||||
expand = true;
|
||||
background-color = mkLiteral "transparent";
|
||||
};
|
||||
"mode-switcher" = {
|
||||
enabled = true;
|
||||
spacing = mkLiteral "10px";
|
||||
background-color = mkLiteral "transparent";
|
||||
};
|
||||
"button" = {
|
||||
width = mkLiteral "5%";
|
||||
padding = mkLiteral "12px";
|
||||
border-radius = mkLiteral "12px";
|
||||
background-color = mkLiteral "@text-selected";
|
||||
text-color = mkLiteral "@text-color";
|
||||
cursor = mkLiteral "pointer";
|
||||
};
|
||||
"button selected" = {
|
||||
background-color = mkLiteral "@selected";
|
||||
text-color = mkLiteral "@text-selected";
|
||||
};
|
||||
"scrollbar" = {
|
||||
width = mkLiteral "4px";
|
||||
border = 0;
|
||||
handle-color = mkLiteral "@border-color";
|
||||
handle-width = mkLiteral "8px";
|
||||
padding = 0;
|
||||
};
|
||||
"element" = {
|
||||
enabled = true;
|
||||
spacing = mkLiteral "10px";
|
||||
padding = mkLiteral "10px";
|
||||
border-radius = mkLiteral "12px";
|
||||
background-color = mkLiteral "transparent";
|
||||
cursor = mkLiteral "pointer";
|
||||
};
|
||||
"element normal.normal" = {
|
||||
background-color = mkLiteral "inherit";
|
||||
text-color = mkLiteral "inherit";
|
||||
};
|
||||
"element normal.urgent" = {
|
||||
background-color = mkLiteral "@urgent";
|
||||
text-color = mkLiteral "@foreground";
|
||||
};
|
||||
"element normal.active" = {
|
||||
background-color = mkLiteral "@active";
|
||||
text-color = mkLiteral "@foreground";
|
||||
};
|
||||
"element selected.normal" = {
|
||||
background-color = mkLiteral "@selected";
|
||||
text-color = mkLiteral "@text-selected";
|
||||
};
|
||||
"element selected.urgent" = {
|
||||
background-color = mkLiteral "@urgent";
|
||||
text-color = mkLiteral "@text-selected";
|
||||
};
|
||||
"element selected.active" = {
|
||||
background-color = mkLiteral "@urgent";
|
||||
text-color = mkLiteral "@text-selected";
|
||||
};
|
||||
"element alternate.normal" = {
|
||||
background-color = mkLiteral "transparent";
|
||||
text-color = mkLiteral "inherit";
|
||||
};
|
||||
"element alternate.urgent" = {
|
||||
background-color = mkLiteral "transparent";
|
||||
text-color = mkLiteral "inherit";
|
||||
};
|
||||
"element alternate.active" = {
|
||||
background-color = mkLiteral "transparent";
|
||||
text-color = mkLiteral "inherit";
|
||||
};
|
||||
"element-icon" = {
|
||||
background-color = mkLiteral "transparent";
|
||||
text-color = mkLiteral "inherit";
|
||||
size = mkLiteral "36px";
|
||||
cursor = mkLiteral "inherit";
|
||||
};
|
||||
"element-text" = {
|
||||
background-color = mkLiteral "transparent";
|
||||
font = "JetBrainsMono Nerd Font Mono 12";
|
||||
text-color = mkLiteral "inherit";
|
||||
cursor = mkLiteral "inherit";
|
||||
vertical-align = mkLiteral "0.5";
|
||||
horizontal-align = mkLiteral "0.0";
|
||||
};
|
||||
"message" = {
|
||||
background-color = mkLiteral "transparent";
|
||||
border = mkLiteral "0px";
|
||||
};
|
||||
"textbox" = {
|
||||
padding = mkLiteral "12px";
|
||||
border-radius = mkLiteral "10px";
|
||||
background-color = mkLiteral "@bg-alt";
|
||||
text-color = mkLiteral "@bg";
|
||||
vertical-align = mkLiteral "0.5";
|
||||
horizontal-align = mkLiteral "0.0";
|
||||
};
|
||||
"error-message" = {
|
||||
padding = mkLiteral "12px";
|
||||
border-radius = mkLiteral "20px";
|
||||
background-color = mkLiteral "@bg-alt";
|
||||
text-color = mkLiteral "@bg";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,312 +0,0 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
home.file.".config/swaync/config.json".text = ''
|
||||
{
|
||||
"$schema": "/etc/xdg/swaync/configSchema.json",
|
||||
"positionX": "right",
|
||||
"positionY": "top",
|
||||
"control-center-margin-top": 10,
|
||||
"control-center-margin-bottom": 10,
|
||||
"control-center-margin-right": 10,
|
||||
"control-center-margin-left": 10,
|
||||
"notification-icon-size": 64,
|
||||
"notification-body-image-height": 100,
|
||||
"notification-body-image-width": 200,
|
||||
"timeout": 10,
|
||||
"timeout-low": 5,
|
||||
"timeout-critical": 0,
|
||||
"fit-to-screen": false,
|
||||
"control-center-width": 500,
|
||||
"control-center-height": 1025,
|
||||
"notification-window-width": 500,
|
||||
"keyboard-shortcuts": true,
|
||||
"image-visibility": "when-available",
|
||||
"transition-time": 200,
|
||||
"hide-on-clear": false,
|
||||
"hide-on-action": true,
|
||||
"script-fail-notify": true,
|
||||
"widgets": [
|
||||
"title",
|
||||
"mpris",
|
||||
"volume",
|
||||
"backlight",
|
||||
"dnd",
|
||||
"notifications"
|
||||
],
|
||||
"widget-config": {
|
||||
"title": {
|
||||
"text": "Notification Center",
|
||||
"clear-all-button": true,
|
||||
"button-text": " Clear All"
|
||||
},
|
||||
"dnd": {
|
||||
"text": "Do Not Disturb"
|
||||
},
|
||||
"label": {
|
||||
"max-lines": 1,
|
||||
"text": "Notification Center"
|
||||
},
|
||||
"mpris": {
|
||||
"image-size": 96,
|
||||
"image-radius": 7
|
||||
},
|
||||
"volume": {
|
||||
"label": ""
|
||||
},
|
||||
"backlight": {
|
||||
"label": ""
|
||||
},
|
||||
}
|
||||
}
|
||||
'';
|
||||
home.file.".config/swaync/style.css".text = ''
|
||||
* {
|
||||
font-family: JetBrainsMono Nerd Font Mono;
|
||||
font-weight: bold;
|
||||
}
|
||||
.control-center .notification-row:focus,
|
||||
.control-center .notification-row:hover {
|
||||
opacity: 0.9;
|
||||
background: #${config.lib.stylix.colors.base00}
|
||||
}
|
||||
.notification-row {
|
||||
outline: none;
|
||||
margin: 10px;
|
||||
padding: 0;
|
||||
}
|
||||
.notification {
|
||||
background: transparent;
|
||||
padding: 0;
|
||||
margin: 0px;
|
||||
}
|
||||
.notification-content {
|
||||
background: #${config.lib.stylix.colors.base00};
|
||||
padding: 10px;
|
||||
border-radius: 5px;
|
||||
border: 2px solid #${config.lib.stylix.colors.base0D};
|
||||
margin: 0;
|
||||
}
|
||||
.notification-default-action {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.close-button {
|
||||
background: #${config.lib.stylix.colors.base08};
|
||||
color: #${config.lib.stylix.colors.base00};
|
||||
text-shadow: none;
|
||||
padding: 0;
|
||||
border-radius: 5px;
|
||||
margin-top: 5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.close-button:hover {
|
||||
box-shadow: none;
|
||||
background: #${config.lib.stylix.colors.base0D};
|
||||
transition: all .15s ease-in-out;
|
||||
border: none
|
||||
}
|
||||
.notification-action {
|
||||
border: 2px solid #${config.lib.stylix.colors.base0D};
|
||||
border-top: none;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.notification-default-action:hover,
|
||||
.notification-action:hover {
|
||||
color: #${config.lib.stylix.colors.base0B};
|
||||
background: #${config.lib.stylix.colors.base0B}
|
||||
}
|
||||
.notification-default-action {
|
||||
border-radius: 5px;
|
||||
margin: 0px;
|
||||
}
|
||||
.notification-default-action:not(:only-child) {
|
||||
border-bottom-left-radius: 7px;
|
||||
border-bottom-right-radius: 7px
|
||||
}
|
||||
.notification-action:first-child {
|
||||
border-bottom-left-radius: 10px;
|
||||
background: #${config.lib.stylix.colors.base00}
|
||||
}
|
||||
.notification-action:last-child {
|
||||
border-bottom-right-radius: 10px;
|
||||
background: #${config.lib.stylix.colors.base00}
|
||||
}
|
||||
.inline-reply {
|
||||
margin-top: 8px
|
||||
}
|
||||
.inline-reply-entry {
|
||||
background: #${config.lib.stylix.colors.base00};
|
||||
color: #${config.lib.stylix.colors.base05};
|
||||
caret-color: #${config.lib.stylix.colors.base05};
|
||||
border: 1px solid #${config.lib.stylix.colors.base09};
|
||||
border-radius: 5px
|
||||
}
|
||||
.inline-reply-button {
|
||||
margin-left: 4px;
|
||||
background: #${config.lib.stylix.colors.base00};
|
||||
border: 1px solid #${config.lib.stylix.colors.base09};
|
||||
border-radius: 5px;
|
||||
color: #${config.lib.stylix.colors.base05}
|
||||
}
|
||||
.inline-reply-button:disabled {
|
||||
background: initial;
|
||||
color: #${config.lib.stylix.colors.base03};
|
||||
border: 1px solid transparent
|
||||
}
|
||||
.inline-reply-button:hover {
|
||||
background: #${config.lib.stylix.colors.base00}
|
||||
}
|
||||
.body-image {
|
||||
margin-top: 6px;
|
||||
background-color: #${config.lib.stylix.colors.base05};
|
||||
border-radius: 5px
|
||||
}
|
||||
.summary {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
background: transparent;
|
||||
color: rgba(158, 206, 106, 1);
|
||||
text-shadow: none
|
||||
}
|
||||
.time {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
background: transparent;
|
||||
color: #${config.lib.stylix.colors.base05};
|
||||
text-shadow: none;
|
||||
margin-right: 18px
|
||||
}
|
||||
.body {
|
||||
font-size: 15px;
|
||||
font-weight: 400;
|
||||
background: transparent;
|
||||
color: #${config.lib.stylix.colors.base05};
|
||||
text-shadow: none
|
||||
}
|
||||
.control-center {
|
||||
background: #${config.lib.stylix.colors.base00};
|
||||
border: 2px solid #${config.lib.stylix.colors.base0C};
|
||||
border-radius: 5px;
|
||||
}
|
||||
.control-center-list {
|
||||
background: transparent
|
||||
}
|
||||
.control-center-list-placeholder {
|
||||
opacity: .5
|
||||
}
|
||||
.floating-notifications {
|
||||
background: transparent
|
||||
}
|
||||
.blank-window {
|
||||
background: alpha(black, 0)
|
||||
}
|
||||
.widget-title {
|
||||
color: #${config.lib.stylix.colors.base0B};
|
||||
background: #${config.lib.stylix.colors.base00};
|
||||
padding: 5px 10px;
|
||||
margin: 10px 10px 5px 10px;
|
||||
font-size: 1.5rem;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.widget-title>button {
|
||||
font-size: 1rem;
|
||||
color: #${config.lib.stylix.colors.base05};
|
||||
text-shadow: none;
|
||||
background: #${config.lib.stylix.colors.base00};
|
||||
box-shadow: none;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.widget-title>button:hover {
|
||||
background: #${config.lib.stylix.colors.base08};
|
||||
color: #${config.lib.stylix.colors.base00};
|
||||
}
|
||||
.widget-dnd {
|
||||
background: #${config.lib.stylix.colors.base00};
|
||||
padding: 5px 10px;
|
||||
margin: 10px 10px 5px 10px;
|
||||
border-radius: 5px;
|
||||
font-size: large;
|
||||
color: #${config.lib.stylix.colors.base0B};
|
||||
}
|
||||
.widget-dnd>switch {
|
||||
border-radius: 5px;
|
||||
/* border: 1px solid #${config.lib.stylix.colors.base0B}; */
|
||||
background: #${config.lib.stylix.colors.base0B};
|
||||
}
|
||||
.widget-dnd>switch:checked {
|
||||
background: #${config.lib.stylix.colors.base08};
|
||||
border: 1px solid #${config.lib.stylix.colors.base08};
|
||||
}
|
||||
.widget-dnd>switch slider {
|
||||
background: #${config.lib.stylix.colors.base00};
|
||||
border-radius: 5px
|
||||
}
|
||||
.widget-dnd>switch:checked slider {
|
||||
background: #${config.lib.stylix.colors.base00};
|
||||
border-radius: 5px
|
||||
}
|
||||
.widget-label {
|
||||
margin: 10px 10px 5px 10px;
|
||||
}
|
||||
.widget-label>label {
|
||||
font-size: 1rem;
|
||||
color: #${config.lib.stylix.colors.base05};
|
||||
}
|
||||
.widget-mpris {
|
||||
color: #${config.lib.stylix.colors.base05};
|
||||
padding: 5px 10px;
|
||||
margin: 10px 10px 5px 10px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.widget-mpris > box > button {
|
||||
border-radius: 5px;
|
||||
}
|
||||
.widget-mpris-player {
|
||||
padding: 5px 10px;
|
||||
margin: 10px
|
||||
}
|
||||
.widget-mpris-title {
|
||||
font-weight: 700;
|
||||
font-size: 1.25rem
|
||||
}
|
||||
.widget-mpris-subtitle {
|
||||
font-size: 1.1rem
|
||||
}
|
||||
.widget-menubar>box>.menu-button-bar>button {
|
||||
border: none;
|
||||
background: transparent
|
||||
}
|
||||
.topbar-buttons>button {
|
||||
border: none;
|
||||
background: transparent
|
||||
}
|
||||
.widget-volume {
|
||||
background: #${config.lib.stylix.colors.base01};
|
||||
padding: 5px;
|
||||
margin: 10px 10px 5px 10px;
|
||||
border-radius: 5px;
|
||||
font-size: x-large;
|
||||
color: #${config.lib.stylix.colors.base05};
|
||||
}
|
||||
.widget-volume>box>button {
|
||||
background: #${config.lib.stylix.colors.base0B};
|
||||
border: none
|
||||
}
|
||||
.per-app-volume {
|
||||
background-color: #${config.lib.stylix.colors.base00};
|
||||
padding: 4px 8px 8px;
|
||||
margin: 0 8px 8px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.widget-backlight {
|
||||
background: #${config.lib.stylix.colors.base01};
|
||||
padding: 5px;
|
||||
margin: 10px 10px 5px 10px;
|
||||
border-radius: 5px;
|
||||
font-size: x-large;
|
||||
color: #${config.lib.stylix.colors.base05}
|
||||
}
|
||||
'';
|
||||
}
|
||||
|
|
@ -1,277 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
host,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
betterTransition = "all 0.3s cubic-bezier(.55,-0.68,.48,1.682)";
|
||||
inherit (import ../hosts/${host}/variables.nix) clock24h;
|
||||
in
|
||||
with lib;
|
||||
{
|
||||
# Configure & Theme Waybar
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
package = pkgs.waybar;
|
||||
settings = [
|
||||
{
|
||||
layer = "top";
|
||||
position = "top";
|
||||
modules-center = [ "hyprland/workspaces" ];
|
||||
modules-left = [
|
||||
"custom/startmenu"
|
||||
"hyprland/window"
|
||||
"pulseaudio"
|
||||
"cpu"
|
||||
"memory"
|
||||
"idle_inhibitor"
|
||||
];
|
||||
modules-right = [
|
||||
"custom/hyprbindings"
|
||||
"custom/notification"
|
||||
"custom/exit"
|
||||
"battery"
|
||||
"tray"
|
||||
"clock"
|
||||
];
|
||||
|
||||
"hyprland/workspaces" = {
|
||||
format = "{name}";
|
||||
format-icons = {
|
||||
default = " ";
|
||||
active = " ";
|
||||
urgent = " ";
|
||||
};
|
||||
on-scroll-up = "hyprctl dispatch workspace e+1";
|
||||
on-scroll-down = "hyprctl dispatch workspace e-1";
|
||||
};
|
||||
"clock" = {
|
||||
format = if clock24h == true then '' {:L%H:%M}'' else '' {:L%I:%M %p}'';
|
||||
tooltip = true;
|
||||
tooltip-format = "<big>{:%A, %d.%B %Y }</big>\n<tt><small>{calendar}</small></tt>";
|
||||
};
|
||||
"hyprland/window" = {
|
||||
max-length = 22;
|
||||
separate-outputs = false;
|
||||
rewrite = {
|
||||
"" = " 🙈 No Windows? ";
|
||||
};
|
||||
};
|
||||
"memory" = {
|
||||
interval = 5;
|
||||
format = " {}%";
|
||||
tooltip = true;
|
||||
};
|
||||
"cpu" = {
|
||||
interval = 5;
|
||||
format = " {usage:2}%";
|
||||
tooltip = true;
|
||||
};
|
||||
"disk" = {
|
||||
format = " {free}";
|
||||
tooltip = true;
|
||||
};
|
||||
"network" = {
|
||||
format-icons = [
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
];
|
||||
format-ethernet = " {bandwidthDownOctets}";
|
||||
format-wifi = "{icon} {signalStrength}%";
|
||||
format-disconnected = "";
|
||||
tooltip = false;
|
||||
};
|
||||
"tray" = {
|
||||
spacing = 12;
|
||||
};
|
||||
"pulseaudio" = {
|
||||
format = "{icon} {volume}% {format_source}";
|
||||
format-bluetooth = "{volume}% {icon} {format_source}";
|
||||
format-bluetooth-muted = " {icon} {format_source}";
|
||||
format-muted = " {format_source}";
|
||||
format-source = " {volume}%";
|
||||
format-source-muted = "";
|
||||
format-icons = {
|
||||
headphone = "";
|
||||
hands-free = "";
|
||||
headset = "";
|
||||
phone = "";
|
||||
portable = "";
|
||||
car = "";
|
||||
default = [
|
||||
""
|
||||
""
|
||||
""
|
||||
];
|
||||
};
|
||||
on-click = "sleep 0.1 && pavucontrol";
|
||||
};
|
||||
"custom/exit" = {
|
||||
tooltip = false;
|
||||
format = "";
|
||||
on-click = "sleep 0.1 && wlogout";
|
||||
};
|
||||
"custom/startmenu" = {
|
||||
tooltip = false;
|
||||
format = "";
|
||||
# exec = "rofi -show drun";
|
||||
on-click = "sleep 0.1 && rofi-launcher";
|
||||
};
|
||||
"custom/hyprbindings" = {
|
||||
tooltip = false;
|
||||
format = "";
|
||||
on-click = "sleep 0.1 && list-hypr-bindings";
|
||||
};
|
||||
"idle_inhibitor" = {
|
||||
format = "{icon}";
|
||||
format-icons = {
|
||||
activated = "";
|
||||
deactivated = "";
|
||||
};
|
||||
tooltip = "true";
|
||||
};
|
||||
"custom/notification" = {
|
||||
tooltip = false;
|
||||
format = "{icon} {}";
|
||||
format-icons = {
|
||||
notification = "<span foreground='red'><sup></sup></span>";
|
||||
none = "";
|
||||
dnd-notification = "<span foreground='red'><sup></sup></span>";
|
||||
dnd-none = "";
|
||||
inhibited-notification = "<span foreground='red'><sup></sup></span>";
|
||||
inhibited-none = "";
|
||||
dnd-inhibited-notification = "<span foreground='red'><sup></sup></span>";
|
||||
dnd-inhibited-none = "";
|
||||
};
|
||||
return-type = "json";
|
||||
exec-if = "which swaync-client";
|
||||
exec = "swaync-client -swb";
|
||||
on-click = "sleep 0.1 && task-waybar";
|
||||
escape = true;
|
||||
};
|
||||
"battery" = {
|
||||
states = {
|
||||
warning = 30;
|
||||
critical = 15;
|
||||
};
|
||||
format = "{icon} {capacity}%";
|
||||
format-charging = " {capacity}%";
|
||||
format-plugged = " {capacity}%";
|
||||
format-icons = [
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
];
|
||||
on-click = "";
|
||||
tooltip = false;
|
||||
};
|
||||
}
|
||||
];
|
||||
style = concatStrings [
|
||||
''
|
||||
* {
|
||||
font-family: JetBrainsMono Nerd Font Mono;
|
||||
font-size: 16px;
|
||||
border-radius: 0px;
|
||||
border: none;
|
||||
min-height: 0px;
|
||||
}
|
||||
window#waybar {
|
||||
background: rgba(0,0,0,0);
|
||||
}
|
||||
#workspaces {
|
||||
color: #${config.lib.stylix.colors.base00};
|
||||
background: #${config.lib.stylix.colors.base01};
|
||||
margin: 4px 4px;
|
||||
padding: 5px 5px;
|
||||
border-radius: 16px;
|
||||
}
|
||||
#workspaces button {
|
||||
font-weight: bold;
|
||||
padding: 0px 5px;
|
||||
margin: 0px 3px;
|
||||
border-radius: 16px;
|
||||
color: #${config.lib.stylix.colors.base00};
|
||||
background: linear-gradient(45deg, #${config.lib.stylix.colors.base08}, #${config.lib.stylix.colors.base0D});
|
||||
opacity: 0.5;
|
||||
transition: ${betterTransition};
|
||||
}
|
||||
#workspaces button.active {
|
||||
font-weight: bold;
|
||||
padding: 0px 5px;
|
||||
margin: 0px 3px;
|
||||
border-radius: 16px;
|
||||
color: #${config.lib.stylix.colors.base00};
|
||||
background: linear-gradient(45deg, #${config.lib.stylix.colors.base08}, #${config.lib.stylix.colors.base0D});
|
||||
transition: ${betterTransition};
|
||||
opacity: 1.0;
|
||||
min-width: 40px;
|
||||
}
|
||||
#workspaces button:hover {
|
||||
font-weight: bold;
|
||||
border-radius: 16px;
|
||||
color: #${config.lib.stylix.colors.base00};
|
||||
background: linear-gradient(45deg, #${config.lib.stylix.colors.base08}, #${config.lib.stylix.colors.base0D});
|
||||
opacity: 0.8;
|
||||
transition: ${betterTransition};
|
||||
}
|
||||
tooltip {
|
||||
background: #${config.lib.stylix.colors.base00};
|
||||
border: 1px solid #${config.lib.stylix.colors.base08};
|
||||
border-radius: 12px;
|
||||
}
|
||||
tooltip label {
|
||||
color: #${config.lib.stylix.colors.base08};
|
||||
}
|
||||
#window, #pulseaudio, #cpu, #memory, #idle_inhibitor {
|
||||
font-weight: bold;
|
||||
margin: 4px 0px;
|
||||
margin-left: 7px;
|
||||
padding: 0px 18px;
|
||||
background: #${config.lib.stylix.colors.base04};
|
||||
color: #${config.lib.stylix.colors.base00};
|
||||
border-radius: 24px 10px 24px 10px;
|
||||
}
|
||||
#custom-startmenu {
|
||||
color: #${config.lib.stylix.colors.base0B};
|
||||
background: #${config.lib.stylix.colors.base02};
|
||||
font-size: 28px;
|
||||
margin: 0px;
|
||||
padding: 0px 30px 0px 15px;
|
||||
border-radius: 0px 0px 40px 0px;
|
||||
}
|
||||
#custom-hyprbindings, #network, #battery,
|
||||
#custom-notification, #tray, #custom-exit {
|
||||
font-weight: bold;
|
||||
background: #${config.lib.stylix.colors.base0F};
|
||||
color: #${config.lib.stylix.colors.base00};
|
||||
margin: 4px 0px;
|
||||
margin-right: 7px;
|
||||
border-radius: 10px 24px 10px 24px;
|
||||
padding: 0px 18px;
|
||||
}
|
||||
#clock {
|
||||
font-weight: bold;
|
||||
color: #0D0E15;
|
||||
background: linear-gradient(90deg, #${config.lib.stylix.colors.base0E}, #${config.lib.stylix.colors.base0C});
|
||||
margin: 0px;
|
||||
padding: 0px 15px 0px 30px;
|
||||
border-radius: 0px 0px 0px 40px;
|
||||
}
|
||||
''
|
||||
];
|
||||
};
|
||||
}
|
||||
695
flake.lock
generated
695
flake.lock
generated
|
|
@ -1,15 +1,80 @@
|
|||
{
|
||||
"nodes": {
|
||||
"alejandra": {
|
||||
"inputs": {
|
||||
"fenix": "fenix",
|
||||
"flakeCompat": "flakeCompat",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1777149230,
|
||||
"narHash": "sha256-pu6dVB6NrIj90rrqCgJ5pPlBzS76pW4WA6rE1rD1Gp8=",
|
||||
"owner": "kamadorueda",
|
||||
"repo": "alejandra",
|
||||
"rev": "8c4a4a572bee519b04e9bb9207e7d993f55ecb4f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "kamadorueda",
|
||||
"repo": "alejandra",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"antigravity-nix": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1776411505,
|
||||
"narHash": "sha256-7HILfdTOvWzAMmfS3lQV3MDmVrr2Epj8x4c9F3mzOSE=",
|
||||
"owner": "jacopone",
|
||||
"repo": "antigravity-nix",
|
||||
"rev": "9f31d28882185d30c0e3082fbc52dab1cd4e879f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "jacopone",
|
||||
"repo": "antigravity-nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"awww": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"rust-overlay": "rust-overlay"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1777136912,
|
||||
"narHash": "sha256-owyQdC2vi0kYC119fzyVQp0J4G0t1n4xXUwryhlBbqA=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "f66e12a76dbc4c669b2f1375f78bce49f5b19d66",
|
||||
"revCount": 1363,
|
||||
"type": "git",
|
||||
"url": "https://codeberg.org/LGFae/awww"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://codeberg.org/LGFae/awww"
|
||||
}
|
||||
},
|
||||
"base16": {
|
||||
"inputs": {
|
||||
"fromYaml": "fromYaml"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1732200724,
|
||||
"narHash": "sha256-+R1BH5wHhfnycySb7Sy5KbYEaTJZWm1h+LW1OtyhiTs=",
|
||||
"lastModified": 1755819240,
|
||||
"narHash": "sha256-qcMhnL7aGAuFuutH4rq9fvAhCpJWVHLcHVZLtPctPlo=",
|
||||
"owner": "SenchoPens",
|
||||
"repo": "base16.nix",
|
||||
"rev": "153d52373b0fb2d343592871009a286ec8837aec",
|
||||
"rev": "75ed5e5e3fce37df22e49125181fa37899c3ccd6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -21,27 +86,28 @@
|
|||
"base16-fish": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1622559957,
|
||||
"narHash": "sha256-PebymhVYbL8trDVVXxCvZgc0S5VxI7I1Hv4RMSquTpA=",
|
||||
"lastModified": 1765809053,
|
||||
"narHash": "sha256-XCUQLoLfBJ8saWms2HCIj4NEN+xNsWBlU1NrEPcQG4s=",
|
||||
"owner": "tomyun",
|
||||
"repo": "base16-fish",
|
||||
"rev": "2f6dd973a9075dabccd26f1cded09508180bf5fe",
|
||||
"rev": "86cbea4dca62e08fb7fd83a70e96472f92574782",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tomyun",
|
||||
"repo": "base16-fish",
|
||||
"rev": "86cbea4dca62e08fb7fd83a70e96472f92574782",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"base16-helix": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1736852337,
|
||||
"narHash": "sha256-esD42YdgLlEh7koBrSqcT7p2fsMctPAcGl/+2sYJa2o=",
|
||||
"lastModified": 1776754714,
|
||||
"narHash": "sha256-E3OAK27smtATTmX45uoTSRsVD+Y+ZiVVfgM/tjpbtYg=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "base16-helix",
|
||||
"rev": "03860521c40b0b9c04818f2218d9cc9efc21e7a5",
|
||||
"rev": "4d508123037e7851ad36ebf7d9c48b0e9e1eb581",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -67,30 +133,36 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"fine-cmdline": {
|
||||
"flake": false,
|
||||
"fenix": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"alejandra",
|
||||
"nixpkgs"
|
||||
],
|
||||
"rust-analyzer-src": "rust-analyzer-src"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1721082103,
|
||||
"narHash": "sha256-SMmOzDhkRBBPCuXXZFUxog6YWRQ2tdlJuJGjYlyNTgk=",
|
||||
"owner": "VonHeikemen",
|
||||
"repo": "fine-cmdline.nvim",
|
||||
"rev": "aec9efebf6f4606a5204d49ffa3ce2eeb7e08a3e",
|
||||
"lastModified": 1768113825,
|
||||
"narHash": "sha256-f09fAifGPEuRrz1DFY910jexq0DaBuQBbq7WcxQIUgs=",
|
||||
"owner": "nix-community",
|
||||
"repo": "fenix",
|
||||
"rev": "55106e04d905c6a7726d0f6be77ed39a99f66a61",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "VonHeikemen",
|
||||
"repo": "fine-cmdline.nvim",
|
||||
"owner": "nix-community",
|
||||
"repo": "fenix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"firefox-gnome-theme": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1736899990,
|
||||
"narHash": "sha256-S79Hqn2EtSxU4kp99t8tRschSifWD4p/51++0xNWUxw=",
|
||||
"lastModified": 1776136500,
|
||||
"narHash": "sha256-r0gN2brVWA351zwMV0Flmlcd6SGMvYqFbvC3DfKFM8Y=",
|
||||
"owner": "rafaelmardojai",
|
||||
"repo": "firefox-gnome-theme",
|
||||
"rev": "91ca1f82d717b02ceb03a3f423cbe8082ebbb26d",
|
||||
"rev": "0f8ba203d475587f477e7ae12661bd8459e225b7",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -102,11 +174,11 @@
|
|||
"flake-compat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1733328505,
|
||||
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
|
||||
"lastModified": 1761588595,
|
||||
"narHash": "sha256-XKUZz9zewJNUj46b4AJdiRZJAvSZ0Dqj2BNfXvFlJC4=",
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
|
||||
"rev": "f387cd2afec9419c8ee37694406ca490c3f34ee5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -115,12 +187,88 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-compat_2": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1751685974,
|
||||
"narHash": "sha256-NKw96t+BgHIYzHUjkTK95FqYRVKB8DHpVhefWSz/kTw=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "549f2762aebeff29a2e5ece7a7dc0f955281a1d1",
|
||||
"revCount": 92,
|
||||
"type": "git",
|
||||
"url": "https://git.lix.systems/lix-project/flake-compat.git"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://git.lix.systems/lix-project/flake-compat.git"
|
||||
}
|
||||
},
|
||||
"flake-parts": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
"nixvim",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1777988971,
|
||||
"narHash": "sha256-qIoWPDs+0/8JecyYgE3gpKQxW/4bLW/gp45vow9ioCQ=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "0678d8986be1661af6bb555f3489f2fdfc31f6ff",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-parts_2": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
"nvf",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1769996383,
|
||||
"narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "57928607ea566b5db3ad13af0e57e921e6b12381",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-parts_3": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
"stylix",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1775087534,
|
||||
"narHash": "sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "3107b77cd68437b9a76194f0f7f9c55f2329ca5b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-utils": {
|
||||
"inputs": {
|
||||
"systems": [
|
||||
"stylix",
|
||||
"systems"
|
||||
]
|
||||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1731533236,
|
||||
|
|
@ -136,6 +284,22 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flakeCompat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1767039857,
|
||||
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"fromYaml": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
|
@ -152,68 +316,20 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"git-hooks": {
|
||||
"inputs": {
|
||||
"flake-compat": [
|
||||
"stylix",
|
||||
"flake-compat"
|
||||
],
|
||||
"gitignore": "gitignore",
|
||||
"nixpkgs": [
|
||||
"stylix",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1735882644,
|
||||
"narHash": "sha256-3FZAG+pGt3OElQjesCAWeMkQ7C/nB1oTHLRQ8ceP110=",
|
||||
"owner": "cachix",
|
||||
"repo": "git-hooks.nix",
|
||||
"rev": "a5a961387e75ae44cc20f0a57ae463da5e959656",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "cachix",
|
||||
"repo": "git-hooks.nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"gitignore": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"stylix",
|
||||
"git-hooks",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1709087332,
|
||||
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "gitignore.nix",
|
||||
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "gitignore.nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"gnome-shell": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1732369855,
|
||||
"narHash": "sha256-JhUWbcYPjHO3Xs3x9/Z9RuqXbcp5yhPluGjwsdE2GMg=",
|
||||
"lastModified": 1767737596,
|
||||
"narHash": "sha256-eFujfIUQDgWnSJBablOuG+32hCai192yRdrNHTv0a+s=",
|
||||
"owner": "GNOME",
|
||||
"repo": "gnome-shell",
|
||||
"rev": "dadd58f630eeea41d645ee225a63f719390829dc",
|
||||
"rev": "ef02db02bf0ff342734d525b5767814770d85b49",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "GNOME",
|
||||
"ref": "47.2",
|
||||
"repo": "gnome-shell",
|
||||
"rev": "ef02db02bf0ff342734d525b5767814770d85b49",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
|
|
@ -224,11 +340,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1738175173,
|
||||
"narHash": "sha256-qxGRKzRu+3Ide/pmOFXgWfHUk39lBL5dXpiaCY84O5Y=",
|
||||
"lastModified": 1778503501,
|
||||
"narHash": "sha256-08L/X4/do7nET4rzidJ76eV/1r+mB7DchVpdPypsghc=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "c4650fb9c0c4c8f7e1a43e6d72378246a4b50f3b",
|
||||
"rev": "85ba629c79449badf4338117c27f0ee92b4b9f1a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -241,16 +357,16 @@
|
|||
"home-manager_2": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"stylix",
|
||||
"zen-browser",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1736785676,
|
||||
"narHash": "sha256-TY0jUwR3EW0fnS0X5wXMAVy6h4Z7Y6a3m+Yq++C9AyE=",
|
||||
"lastModified": 1777594677,
|
||||
"narHash": "sha256-h90sHwoRJLRvaTpZroTvU2JRHDFj0czUafM8eqLe1RI=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "fc52a210b60f2f52c74eac41a8647c1573d2071d",
|
||||
"rev": "899c08a15beae5da51a5cecd6b2b994777a948da",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -259,13 +375,66 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"mnw": {
|
||||
"locked": {
|
||||
"lastModified": 1777828893,
|
||||
"narHash": "sha256-gVWVnmyNr74BVKfhMMZDWkhx2699dhmZ2g0W8TTHtkk=",
|
||||
"owner": "Gerg-L",
|
||||
"repo": "mnw",
|
||||
"rev": "c1c0b544bfabe6669b5a6a0383ccb475fe60258b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "Gerg-L",
|
||||
"repo": "mnw",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"ndg": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nvf",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1776882296,
|
||||
"narHash": "sha256-DWZozXwMsgvUqfVlL1mQ8dOxW7GJ/8CdyaDN+1niZRg=",
|
||||
"owner": "feel-co",
|
||||
"repo": "ndg",
|
||||
"rev": "ab7d78d4884b3a34968cf9fa3d16c0c1246d5c6e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "feel-co",
|
||||
"ref": "refs/tags/v2.6.0",
|
||||
"repo": "ndg",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix-flatpak": {
|
||||
"locked": {
|
||||
"lastModified": 1767983141,
|
||||
"narHash": "sha256-7ZCulYUD9RmJIDULTRkGLSW1faMpDlPKcbWJLYHoXcs=",
|
||||
"owner": "gmodena",
|
||||
"repo": "nix-flatpak",
|
||||
"rev": "440818969ac2cbd77bfe025e884d0aa528991374",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "gmodena",
|
||||
"ref": "latest",
|
||||
"repo": "nix-flatpak",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1737885589,
|
||||
"narHash": "sha256-Zf0hSrtzaM1DEz8//+Xs51k/wdSajticVrATqDrfQjg=",
|
||||
"lastModified": 1777954456,
|
||||
"narHash": "sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9+hrDTkDU=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "852ff1d9e153d8875a83602e03fdef8a63f0ecf8",
|
||||
"rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -277,11 +446,27 @@
|
|||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1736798957,
|
||||
"narHash": "sha256-qwpCtZhSsSNQtK4xYGzMiyEDhkNzOCz/Vfu4oL2ETsQ=",
|
||||
"lastModified": 1774386573,
|
||||
"narHash": "sha256-4hAV26quOxdC6iyG7kYaZcM3VOskcPUrdCQd/nx8obc=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "46db2e09e1d3f113a13c0d7b81e2f221c63b8ce9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"lastModified": 1777268161,
|
||||
"narHash": "sha256-bxrdOn8SCOv8tN4JbTF/TXq7kjo9ag4M+C8yzzIRYbE=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "9abb87b552b7f55ac8916b6fc9e5cb486656a2f3",
|
||||
"rev": "1c3fe55ad329cbcb28471bb30f05c9827f724c76",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -291,12 +476,171 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixvim": {
|
||||
"inputs": {
|
||||
"flake-parts": "flake-parts",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"systems": "systems_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1778510615,
|
||||
"narHash": "sha256-cMNCx8mQTJnVkA6kt3B3ArGpCOOniYn644hH0mJHSsw=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixvim",
|
||||
"rev": "fa8cd368d27cf9541f086485884928315abdcc8c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "nixvim",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"noctalia": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"noctalia-qs": "noctalia-qs"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1778464608,
|
||||
"narHash": "sha256-tZRvyaKVP0DJ9DSFrr6K/l3X74Orfirk3Jjo7+br4Qs=",
|
||||
"owner": "noctalia-dev",
|
||||
"repo": "noctalia-shell",
|
||||
"rev": "761869a561548874fe7e293b157fd7841576b367",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "noctalia-dev",
|
||||
"repo": "noctalia-shell",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"noctalia-qs": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"noctalia",
|
||||
"nixpkgs"
|
||||
],
|
||||
"systems": "systems_3",
|
||||
"treefmt-nix": "treefmt-nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1778377995,
|
||||
"narHash": "sha256-uUzHDHqQF1rdVNiTa05L0mML3/d7fpbAShjCRWxbrBQ=",
|
||||
"owner": "noctalia-dev",
|
||||
"repo": "noctalia-qs",
|
||||
"rev": "d8327a723eed6dd9aebe8e0b162126f390e827df",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "noctalia-dev",
|
||||
"repo": "noctalia-qs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nur": {
|
||||
"inputs": {
|
||||
"flake-parts": [
|
||||
"stylix",
|
||||
"flake-parts"
|
||||
],
|
||||
"nixpkgs": [
|
||||
"stylix",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1777598946,
|
||||
"narHash": "sha256-X239dAGaU1+gfDj8jKH8GzlqKMcxaVfXOio+uzBOkeE=",
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"rev": "5d55af01c0f86be583931fe99207fc56c14134b3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nvf": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat_2",
|
||||
"flake-parts": "flake-parts_2",
|
||||
"mnw": "mnw",
|
||||
"ndg": "ndg",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"systems": "systems_4"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1778408907,
|
||||
"narHash": "sha256-QXjdRz5fssxAWDrtfBYxvjMtTqJzQAbnAmX3u22xCck=",
|
||||
"owner": "notashelf",
|
||||
"repo": "nvf",
|
||||
"rev": "e86a92e4b29b499e5f1285b737b7612115103da9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "notashelf",
|
||||
"repo": "nvf",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"fine-cmdline": "fine-cmdline",
|
||||
"alejandra": "alejandra",
|
||||
"antigravity-nix": "antigravity-nix",
|
||||
"awww": "awww",
|
||||
"home-manager": "home-manager",
|
||||
"nix-flatpak": "nix-flatpak",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"stylix": "stylix"
|
||||
"nixvim": "nixvim",
|
||||
"noctalia": "noctalia",
|
||||
"nvf": "nvf",
|
||||
"stylix": "stylix",
|
||||
"zen-browser": "zen-browser"
|
||||
}
|
||||
},
|
||||
"rust-analyzer-src": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1768083390,
|
||||
"narHash": "sha256-TGWPJq2mXwxfAe83iZ18DIqXC4sOSj7RkW9b59h6Ox4=",
|
||||
"owner": "rust-lang",
|
||||
"repo": "rust-analyzer",
|
||||
"rev": "e42e8ff582ba12a88b6845525d08b6428e6d0fb9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "rust-lang",
|
||||
"ref": "nightly",
|
||||
"repo": "rust-analyzer",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"rust-overlay": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"awww",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1764038373,
|
||||
"narHash": "sha256-M6w2wNBRelcavoDAyFL2iO4NeWknD40ASkH1S3C0YGM=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "ab3536fe850211a96673c6ffb2cb88aab8071cc9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"stylix": {
|
||||
|
|
@ -306,28 +650,27 @@
|
|||
"base16-helix": "base16-helix",
|
||||
"base16-vim": "base16-vim",
|
||||
"firefox-gnome-theme": "firefox-gnome-theme",
|
||||
"flake-compat": "flake-compat",
|
||||
"flake-utils": "flake-utils",
|
||||
"git-hooks": "git-hooks",
|
||||
"flake-parts": "flake-parts_3",
|
||||
"gnome-shell": "gnome-shell",
|
||||
"home-manager": "home-manager_2",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"systems": "systems",
|
||||
"tinted-foot": "tinted-foot",
|
||||
"nixpkgs": "nixpkgs_3",
|
||||
"nur": "nur",
|
||||
"systems": "systems_5",
|
||||
"tinted-kitty": "tinted-kitty",
|
||||
"tinted-schemes": "tinted-schemes",
|
||||
"tinted-tmux": "tinted-tmux",
|
||||
"tinted-zed": "tinted-zed"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1738025638,
|
||||
"narHash": "sha256-nU3JpvIeEmcDHzQK4OTD1KXSoL/GOff6j9kuSO4X8eM=",
|
||||
"lastModified": 1778104276,
|
||||
"narHash": "sha256-/DSSnU0LLmOTG/OCgGwYpxP6+5YvxRx2g/GhI4x6aCU=",
|
||||
"owner": "danth",
|
||||
"repo": "stylix",
|
||||
"rev": "55418e8fc8d4696af619176a22cefcfac56ad2ef",
|
||||
"rev": "18ed8d270231e067fe2739998479ed5d7c659c2c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "danth",
|
||||
"ref": "master",
|
||||
"repo": "stylix",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
@ -347,48 +690,106 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"tinted-foot": {
|
||||
"flake": false,
|
||||
"systems_2": {
|
||||
"locked": {
|
||||
"lastModified": 1726913040,
|
||||
"narHash": "sha256-+eDZPkw7efMNUf3/Pv0EmsidqdwNJ1TaOum6k7lngDQ=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "tinted-foot",
|
||||
"rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4",
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tinted-theming",
|
||||
"repo": "tinted-foot",
|
||||
"rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems_3": {
|
||||
"locked": {
|
||||
"lastModified": 1689347949,
|
||||
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default-linux",
|
||||
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default-linux",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems_4": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems_5": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"tinted-kitty": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1716423189,
|
||||
"narHash": "sha256-2xF3sH7UIwegn+2gKzMpFi3pk5DlIlM18+vj17Uf82U=",
|
||||
"lastModified": 1735730497,
|
||||
"narHash": "sha256-4KtB+FiUzIeK/4aHCKce3V9HwRvYaxX+F1edUrfgzb8=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "tinted-kitty",
|
||||
"rev": "eb39e141db14baef052893285df9f266df041ff8",
|
||||
"rev": "de6f888497f2c6b2279361bfc790f164bfd0f3fa",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tinted-theming",
|
||||
"repo": "tinted-kitty",
|
||||
"rev": "eb39e141db14baef052893285df9f266df041ff8",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"tinted-schemes": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1777041405,
|
||||
"narHash": "sha256-BAGZ7ObFV/9Z61OJZun7ifPyhkuHqNuW1QIhQ8LuzCo=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "schemes",
|
||||
"rev": "5f868b3a338b6904c47f3833b9c411be641983a8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tinted-theming",
|
||||
"repo": "schemes",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"tinted-tmux": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1735737224,
|
||||
"narHash": "sha256-FO2hRBkZsjlIRqzNHCPc/52yxg11kHGA8MEtSun9RwE=",
|
||||
"lastModified": 1777169200,
|
||||
"narHash": "sha256-h7dDbIzP5hDr9v97w9PL6jdAgXawmj6krcH+959rqpU=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "tinted-tmux",
|
||||
"rev": "aead506a9930c717ebf81cc83a2126e9ca08fa64",
|
||||
"rev": "f798c2dce44ef815bb6b8f05a82135c7942d35ac",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -400,11 +801,11 @@
|
|||
"tinted-zed": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1725758778,
|
||||
"narHash": "sha256-8P1b6mJWyYcu36WRlSVbuj575QWIFZALZMTg5ID/sM4=",
|
||||
"lastModified": 1777463218,
|
||||
"narHash": "sha256-Bhkozqtq3BKLqWTlmKm8uAptfX4aRGI8QX3eEL54Vpc=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "base16-zed",
|
||||
"rev": "122c9e5c0e6f27211361a04fae92df97940eccf9",
|
||||
"rev": "5768d08ed2e7944a26a958868cdb073cb8856dae",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -412,6 +813,50 @@
|
|||
"repo": "base16-zed",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"treefmt-nix": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"noctalia",
|
||||
"noctalia-qs",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1775636079,
|
||||
"narHash": "sha256-pc20NRoMdiar8oPQceQT47UUZMBTiMdUuWrYu2obUP0=",
|
||||
"owner": "numtide",
|
||||
"repo": "treefmt-nix",
|
||||
"rev": "790751ff7fd3801feeaf96d7dc416a8d581265ba",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "treefmt-nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"zen-browser": {
|
||||
"inputs": {
|
||||
"home-manager": "home-manager_2",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1778377655,
|
||||
"narHash": "sha256-wHsd+tesB3FtwUZbGjU/sWMZhw0m0yYBSXufMDVyQmc=",
|
||||
"owner": "0xc000022070",
|
||||
"repo": "zen-browser-flake",
|
||||
"rev": "101d6731d7b163ef4f6fab8c6eea7da4ddb52ec3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "0xc000022070",
|
||||
"ref": "beta",
|
||||
"repo": "zen-browser-flake",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
|
|
|
|||
112
flake.nix
112
flake.nix
|
|
@ -2,49 +2,85 @@
|
|||
description = "ZaneyOS";
|
||||
|
||||
inputs = {
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/master";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
home-manager.url = "github:nix-community/home-manager/master";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
stylix.url = "github:danth/stylix";
|
||||
fine-cmdline = {
|
||||
url = "github:VonHeikemen/fine-cmdline.nvim";
|
||||
flake = false;
|
||||
nvf.url = "github:notashelf/nvf";
|
||||
stylix.url = "github:danth/stylix/master";
|
||||
nix-flatpak.url = "github:gmodena/nix-flatpak?ref=latest";
|
||||
|
||||
noctalia = {
|
||||
url = "github:noctalia-dev/noctalia-shell";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
# Checking nixvim to see if it's better
|
||||
nixvim = {
|
||||
url = "github:nix-community/nixvim";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
# Google Antigravity (IDE)
|
||||
antigravity-nix = {
|
||||
url = "github:jacopone/antigravity-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
zen-browser = {
|
||||
url = "github:0xc000022070/zen-browser-flake/beta";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
alejandra = {
|
||||
url = "github:kamadorueda/alejandra";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
awww = {
|
||||
url = "git+https://codeberg.org/LGFae/awww";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs =
|
||||
{ nixpkgs, home-manager, ... }@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
host = "nixstation";
|
||||
username = "zaney";
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
"${host}" = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inherit system;
|
||||
inherit inputs;
|
||||
inherit username;
|
||||
inherit host;
|
||||
};
|
||||
modules = [
|
||||
./hosts/${host}/config.nix
|
||||
inputs.stylix.nixosModules.stylix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.extraSpecialArgs = {
|
||||
inherit username;
|
||||
inherit inputs;
|
||||
inherit host;
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.backupFileExtension = "backup";
|
||||
home-manager.users.${username} = import ./hosts/${host}/home.nix;
|
||||
}
|
||||
];
|
||||
outputs = {
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
nixvim,
|
||||
nix-flatpak,
|
||||
alejandra,
|
||||
...
|
||||
} @ inputs: let
|
||||
system = "x86_64-linux";
|
||||
host = "zaneyos-24-vm";
|
||||
profile = "vm";
|
||||
username = "dwilliams";
|
||||
|
||||
# Deduplicate nixosConfigurations while preserving the top-level 'profile'
|
||||
mkNixosConfig = gpuProfile:
|
||||
nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
inherit username;
|
||||
inherit host;
|
||||
inherit profile; # keep using the let-bound profile for modules/scripts
|
||||
};
|
||||
modules = [
|
||||
./modules/core/overlays.nix
|
||||
./profiles/${gpuProfile}
|
||||
nix-flatpak.nixosModules.nix-flatpak
|
||||
];
|
||||
};
|
||||
in {
|
||||
nixosConfigurations = {
|
||||
amd = mkNixosConfig "amd";
|
||||
nvidia = mkNixosConfig "nvidia";
|
||||
nvidia-laptop = mkNixosConfig "nvidia-laptop";
|
||||
amd-nvidia-hybrid = mkNixosConfig "amd-nvidia-hybrid";
|
||||
intel = mkNixosConfig "intel";
|
||||
vm = mkNixosConfig "vm";
|
||||
};
|
||||
|
||||
formatter.x86_64-linux = inputs.alejandra.packages.x86_64-linux.default;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,480 +0,0 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
host,
|
||||
username,
|
||||
options,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (import ./variables.nix) keyboardLayout consoleKeyMap;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./hardware.nix
|
||||
./users.nix
|
||||
../../modules/amd-drivers.nix
|
||||
../../modules/nvidia-drivers.nix
|
||||
../../modules/nvidia-prime-drivers.nix
|
||||
../../modules/intel-drivers.nix
|
||||
../../modules/vm-guest-services.nix
|
||||
../../modules/local-hardware-clock.nix
|
||||
];
|
||||
|
||||
boot = {
|
||||
# Kernel
|
||||
kernelPackages = pkgs.linuxPackages_zen;
|
||||
# This is for OBS Virtual Cam Support
|
||||
kernelModules = [ "v4l2loopback" ];
|
||||
extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
|
||||
# Needed For Some Steam Games
|
||||
kernel.sysctl = {
|
||||
"vm.max_map_count" = 2147483642;
|
||||
};
|
||||
# Bootloader.
|
||||
loader.systemd-boot.enable = true;
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
# Make /tmp a tmpfs
|
||||
tmp = {
|
||||
useTmpfs = false;
|
||||
tmpfsSize = "30%";
|
||||
};
|
||||
# Appimage Support
|
||||
binfmt.registrations.appimage = {
|
||||
wrapInterpreterInShell = false;
|
||||
interpreter = "${pkgs.appimage-run}/bin/appimage-run";
|
||||
recognitionType = "magic";
|
||||
offset = 0;
|
||||
mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff'';
|
||||
magicOrExtension = ''\x7fELF....AI\x02'';
|
||||
};
|
||||
plymouth.enable = true;
|
||||
};
|
||||
|
||||
# Styling Options
|
||||
stylix = {
|
||||
enable = true;
|
||||
image = ../../config/wallpapers/beautifulmountainscape.jpg;
|
||||
# base16Scheme = {
|
||||
# base00 = "232136";
|
||||
# base01 = "2a273f";
|
||||
# base02 = "393552";
|
||||
# base03 = "6e6a86";
|
||||
# base04 = "908caa";
|
||||
# base05 = "e0def4";
|
||||
# base06 = "e0def4";
|
||||
# base07 = "56526e";
|
||||
# base08 = "eb6f92";
|
||||
# base09 = "f6c177";
|
||||
# base0A = "ea9a97";
|
||||
# base0B = "3e8fb0";
|
||||
# base0C = "9ccfd8";
|
||||
# base0D = "c4a7e7";
|
||||
# base0E = "f6c177";
|
||||
# base0F = "56526e";
|
||||
# };
|
||||
polarity = "dark";
|
||||
opacity.terminal = 0.8;
|
||||
cursor.package = pkgs.bibata-cursors;
|
||||
cursor.name = "Bibata-Modern-Ice";
|
||||
cursor.size = 24;
|
||||
fonts = {
|
||||
monospace = {
|
||||
package = pkgs.nerd-fonts.jetbrains-mono;
|
||||
name = "JetBrainsMono Nerd Font Mono";
|
||||
};
|
||||
sansSerif = {
|
||||
package = pkgs.montserrat;
|
||||
name = "Montserrat";
|
||||
};
|
||||
serif = {
|
||||
package = pkgs.montserrat;
|
||||
name = "Montserrat";
|
||||
};
|
||||
sizes = {
|
||||
applications = 12;
|
||||
terminal = 15;
|
||||
desktop = 11;
|
||||
popups = 12;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Extra Module Options
|
||||
drivers.amdgpu.enable = true;
|
||||
drivers.nvidia.enable = false;
|
||||
drivers.nvidia-prime = {
|
||||
enable = false;
|
||||
intelBusID = "";
|
||||
nvidiaBusID = "";
|
||||
};
|
||||
drivers.intel.enable = false;
|
||||
vm.guest-services.enable = false;
|
||||
local.hardware-clock.enable = false;
|
||||
|
||||
# Enable networking
|
||||
networking.networkmanager.enable = true;
|
||||
networking.hostName = host;
|
||||
networking.timeServers = options.networking.timeServers.default ++ [ "pool.ntp.org" ];
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "America/Chicago";
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
i18n.extraLocaleSettings = {
|
||||
LC_ADDRESS = "en_US.UTF-8";
|
||||
LC_IDENTIFICATION = "en_US.UTF-8";
|
||||
LC_MEASUREMENT = "en_US.UTF-8";
|
||||
LC_MONETARY = "en_US.UTF-8";
|
||||
LC_NAME = "en_US.UTF-8";
|
||||
LC_NUMERIC = "en_US.UTF-8";
|
||||
LC_PAPER = "en_US.UTF-8";
|
||||
LC_TELEPHONE = "en_US.UTF-8";
|
||||
LC_TIME = "en_US.UTF-8";
|
||||
};
|
||||
|
||||
programs = {
|
||||
firefox.enable = false;
|
||||
starship = {
|
||||
enable = true;
|
||||
settings = {
|
||||
add_newline = false;
|
||||
buf = {
|
||||
symbol = " ";
|
||||
};
|
||||
c = {
|
||||
symbol = " ";
|
||||
};
|
||||
directory = {
|
||||
read_only = " ";
|
||||
};
|
||||
docker_context = {
|
||||
symbol = " ";
|
||||
};
|
||||
fossil_branch = {
|
||||
symbol = " ";
|
||||
};
|
||||
git_branch = {
|
||||
symbol = " ";
|
||||
};
|
||||
golang = {
|
||||
symbol = " ";
|
||||
};
|
||||
hg_branch = {
|
||||
symbol = " ";
|
||||
};
|
||||
hostname = {
|
||||
ssh_symbol = " ";
|
||||
};
|
||||
lua = {
|
||||
symbol = " ";
|
||||
};
|
||||
memory_usage = {
|
||||
symbol = " ";
|
||||
};
|
||||
meson = {
|
||||
symbol = " ";
|
||||
};
|
||||
nim = {
|
||||
symbol = " ";
|
||||
};
|
||||
nix_shell = {
|
||||
symbol = " ";
|
||||
};
|
||||
nodejs = {
|
||||
symbol = " ";
|
||||
};
|
||||
ocaml = {
|
||||
symbol = " ";
|
||||
};
|
||||
package = {
|
||||
symbol = " ";
|
||||
};
|
||||
python = {
|
||||
symbol = " ";
|
||||
};
|
||||
rust = {
|
||||
symbol = " ";
|
||||
};
|
||||
swift = {
|
||||
symbol = " ";
|
||||
};
|
||||
zig = {
|
||||
symbol = " ";
|
||||
};
|
||||
};
|
||||
};
|
||||
dconf.enable = true;
|
||||
seahorse.enable = true;
|
||||
fuse.userAllowOther = true;
|
||||
mtr.enable = true;
|
||||
gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
virt-manager.enable = true;
|
||||
steam = {
|
||||
enable = true;
|
||||
gamescopeSession.enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
dedicatedServer.openFirewall = true;
|
||||
};
|
||||
thunar = {
|
||||
enable = true;
|
||||
plugins = with pkgs.xfce; [
|
||||
thunar-archive-plugin
|
||||
thunar-volman
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
users = {
|
||||
mutableUsers = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
wget
|
||||
killall
|
||||
docker-compose
|
||||
eza
|
||||
git
|
||||
cmatrix
|
||||
lolcat
|
||||
htop
|
||||
brave
|
||||
libvirt
|
||||
lxqt.lxqt-policykit
|
||||
lm_sensors
|
||||
unzip
|
||||
unrar
|
||||
libnotify
|
||||
v4l-utils
|
||||
ydotool
|
||||
duf
|
||||
ncdu
|
||||
wl-clipboard
|
||||
pciutils
|
||||
ffmpeg
|
||||
socat
|
||||
cowsay
|
||||
ripgrep
|
||||
lshw
|
||||
bat
|
||||
pkg-config
|
||||
meson
|
||||
hyprpicker
|
||||
ninja
|
||||
brightnessctl
|
||||
virt-viewer
|
||||
swappy
|
||||
appimage-run
|
||||
networkmanagerapplet
|
||||
yad
|
||||
inxi
|
||||
playerctl
|
||||
nh
|
||||
nixfmt-rfc-style
|
||||
discord
|
||||
libvirt
|
||||
swww
|
||||
grim
|
||||
slurp
|
||||
file-roller
|
||||
swaynotificationcenter
|
||||
imv
|
||||
mpv
|
||||
gimp
|
||||
pavucontrol
|
||||
tree
|
||||
spotify
|
||||
neovide
|
||||
greetd.tuigreet
|
||||
];
|
||||
|
||||
fonts = {
|
||||
packages = with pkgs; [
|
||||
noto-fonts-emoji
|
||||
noto-fonts-cjk-sans
|
||||
font-awesome
|
||||
symbola
|
||||
material-icons
|
||||
];
|
||||
};
|
||||
|
||||
environment.variables = {
|
||||
ZANEYOS_VERSION = "2.2";
|
||||
ZANEYOS = "true";
|
||||
};
|
||||
|
||||
# Extra Portal Configuration
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
wlr.enable = true;
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
pkgs.xdg-desktop-portal
|
||||
];
|
||||
configPackages = [
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
pkgs.xdg-desktop-portal-hyprland
|
||||
pkgs.xdg-desktop-portal
|
||||
];
|
||||
};
|
||||
|
||||
# Services to start
|
||||
services = {
|
||||
xserver = {
|
||||
enable = false;
|
||||
xkb = {
|
||||
layout = "${keyboardLayout}";
|
||||
variant = "";
|
||||
};
|
||||
};
|
||||
greetd = {
|
||||
enable = true;
|
||||
vt = 3;
|
||||
settings = {
|
||||
default_session = {
|
||||
# Wayland Desktop Manager is installed only for user ryan via home-manager!
|
||||
user = username;
|
||||
# .wayland-session is a script generated by home-manager, which links to the current wayland compositor(sway/hyprland or others).
|
||||
# with such a vendor-no-locking script, we can switch to another wayland compositor without modifying greetd's config here.
|
||||
# command = "$HOME/.wayland-session"; # start a wayland session directly without a login manager
|
||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland"; # start Hyprland with a TUI login manager
|
||||
};
|
||||
};
|
||||
};
|
||||
smartd = {
|
||||
enable = false;
|
||||
autodetect = true;
|
||||
};
|
||||
libinput.enable = true;
|
||||
fstrim.enable = true;
|
||||
gvfs.enable = true;
|
||||
openssh.enable = true;
|
||||
flatpak.enable = false;
|
||||
printing = {
|
||||
enable = true;
|
||||
drivers = [
|
||||
# pkgs.hplipWithPlugin
|
||||
];
|
||||
};
|
||||
gnome.gnome-keyring.enable = true;
|
||||
avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
ipp-usb.enable = true;
|
||||
syncthing = {
|
||||
enable = false;
|
||||
user = "${username}";
|
||||
dataDir = "/home/${username}";
|
||||
configDir = "/home/${username}/.config/syncthing";
|
||||
};
|
||||
pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
rpcbind.enable = false;
|
||||
nfs.server.enable = false;
|
||||
};
|
||||
systemd.services.flatpak-repo = {
|
||||
path = [ pkgs.flatpak ];
|
||||
script = ''
|
||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
'';
|
||||
};
|
||||
hardware.sane = {
|
||||
enable = true;
|
||||
extraBackends = [ pkgs.sane-airscan ];
|
||||
disabledDefaultBackends = [ "escl" ];
|
||||
};
|
||||
|
||||
# Extra Logitech Support
|
||||
hardware.logitech.wireless.enable = false;
|
||||
hardware.logitech.wireless.enableGraphical = false;
|
||||
|
||||
# Bluetooth Support
|
||||
hardware.bluetooth.enable = true;
|
||||
hardware.bluetooth.powerOnBoot = true;
|
||||
services.blueman.enable = true;
|
||||
|
||||
# Enable sound with pipewire.
|
||||
services.pulseaudio.enable = false;
|
||||
|
||||
# Security / Polkit
|
||||
security.rtkit.enable = true;
|
||||
security.polkit.enable = true;
|
||||
security.polkit.extraConfig = ''
|
||||
polkit.addRule(function(action, subject) {
|
||||
if (
|
||||
subject.isInGroup("users")
|
||||
&& (
|
||||
action.id == "org.freedesktop.login1.reboot" ||
|
||||
action.id == "org.freedesktop.login1.reboot-multiple-sessions" ||
|
||||
action.id == "org.freedesktop.login1.power-off" ||
|
||||
action.id == "org.freedesktop.login1.power-off-multiple-sessions"
|
||||
)
|
||||
)
|
||||
{
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
})
|
||||
'';
|
||||
security.pam.services.swaylock = {
|
||||
text = ''
|
||||
auth include login
|
||||
'';
|
||||
};
|
||||
|
||||
# Optimization settings and garbage collection automation
|
||||
nix = {
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
substituters = [ "https://hyprland.cachix.org" ];
|
||||
trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ];
|
||||
};
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
};
|
||||
|
||||
# Virtualization / Containers
|
||||
virtualisation.libvirtd.enable = true;
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
# OpenGL
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
console.keyMap = "${consoleKeyMap}";
|
||||
|
||||
# Open ports in the firewall.
|
||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
# networking.firewall.enable = false;
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
# this value at the release version of the first install of this system.
|
||||
# Before changing this value read the documentation for this option
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "23.11"; # Did you read the comment?
|
||||
}
|
||||
6
hosts/default/default.nix
Normal file
6
hosts/default/default.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
./hardware.nix
|
||||
./host-packages.nix
|
||||
];
|
||||
}
|
||||
|
|
@ -1,37 +1,45 @@
|
|||
# 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")
|
||||
];
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "nvme" "usbhid" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = ["kvm-intel"];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/c537152e-ea4f-4bb7-b453-088612e0024a";
|
||||
fsType = "ext4";
|
||||
};
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/dd005850-6230-40c4-9d70-8c8cf443658d";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/DA7B-269C";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
};
|
||||
boot.initrd.luks.devices."luks-b7565781-148e-4c94-9c76-36c84dd93dc8".device = "/dev/disk/by-uuid/b7565781-148e-4c94-9c76-36c84dd93dc8";
|
||||
|
||||
swapDevices = [ ];
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/C2A6-DF56";
|
||||
fsType = "vfat";
|
||||
options = ["fmask=0077" "dmask=0077"];
|
||||
};
|
||||
|
||||
swapDevices = [];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.enp7s0.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.docker0.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.eno2.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.wlo1.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
|
|
|||
|
|
@ -1,246 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
username,
|
||||
host,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (import ./variables.nix) gitUsername gitEmail;
|
||||
in
|
||||
{
|
||||
# Home Manager Settings
|
||||
home.username = "${username}";
|
||||
home.homeDirectory = "/home/${username}";
|
||||
home.stateVersion = "23.11";
|
||||
|
||||
# Import Program Configurations
|
||||
imports = [
|
||||
../../config/emoji.nix
|
||||
../../config/fastfetch
|
||||
../../config/hyprland.nix
|
||||
../../config/neovim.nix
|
||||
../../config/rofi/rofi.nix
|
||||
../../config/rofi/config-emoji.nix
|
||||
../../config/rofi/config-long.nix
|
||||
../../config/swaync.nix
|
||||
../../config/waybar.nix
|
||||
../../config/wlogout.nix
|
||||
../../config/fastfetch
|
||||
];
|
||||
|
||||
# Place Files Inside Home Directory
|
||||
home.file."Pictures/Wallpapers" = {
|
||||
source = ../../config/wallpapers;
|
||||
recursive = true;
|
||||
};
|
||||
home.file.".config/wlogout/icons" = {
|
||||
source = ../../config/wlogout;
|
||||
recursive = true;
|
||||
};
|
||||
home.file.".face.icon".source = ../../config/face.jpg;
|
||||
home.file.".config/face.jpg".source = ../../config/face.jpg;
|
||||
home.file.".config/swappy/config".text = ''
|
||||
[Default]
|
||||
save_dir=/home/${username}/Pictures/Screenshots
|
||||
save_filename_format=swappy-%Y%m%d-%H%M%S.png
|
||||
show_panel=false
|
||||
line_size=5
|
||||
text_size=20
|
||||
text_font=Ubuntu
|
||||
paint_mode=brush
|
||||
early_exit=true
|
||||
fill_shape=false
|
||||
'';
|
||||
|
||||
# Install & Configure Git
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "${gitUsername}";
|
||||
userEmail = "${gitEmail}";
|
||||
};
|
||||
|
||||
# Create XDG Dirs
|
||||
xdg = {
|
||||
userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
};
|
||||
};
|
||||
|
||||
dconf.settings = {
|
||||
"org/virt-manager/virt-manager/connections" = {
|
||||
autoconnect = [ "qemu:///system" ];
|
||||
uris = [ "qemu:///system" ];
|
||||
};
|
||||
};
|
||||
|
||||
# Styling Options
|
||||
stylix.targets.waybar.enable = false;
|
||||
stylix.targets.rofi.enable = false;
|
||||
stylix.targets.hyprland.enable = false;
|
||||
gtk = {
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
};
|
||||
gtk3.extraConfig = {
|
||||
gtk-application-prefer-dark-theme = 1;
|
||||
};
|
||||
gtk4.extraConfig = {
|
||||
gtk-application-prefer-dark-theme = 1;
|
||||
};
|
||||
};
|
||||
qt = {
|
||||
enable = true;
|
||||
style.name = "adwaita-dark";
|
||||
platformTheme.name = "gtk3";
|
||||
};
|
||||
|
||||
|
||||
# Scripts
|
||||
home.packages = [
|
||||
(import ../../scripts/emopicker9000.nix { inherit pkgs; })
|
||||
(import ../../scripts/task-waybar.nix { inherit pkgs; })
|
||||
(import ../../scripts/squirtle.nix { inherit pkgs; })
|
||||
(import ../../scripts/nvidia-offload.nix { inherit pkgs; })
|
||||
(import ../../scripts/wallsetter.nix {
|
||||
inherit pkgs;
|
||||
inherit username;
|
||||
})
|
||||
(import ../../scripts/web-search.nix { inherit pkgs; })
|
||||
(import ../../scripts/rofi-launcher.nix { inherit pkgs; })
|
||||
(import ../../scripts/screenshootin.nix { inherit pkgs; })
|
||||
(import ../../scripts/list-hypr-bindings.nix {
|
||||
inherit pkgs;
|
||||
inherit host;
|
||||
})
|
||||
];
|
||||
|
||||
services = {
|
||||
hypridle = {
|
||||
enable = true;
|
||||
settings = {
|
||||
general = {
|
||||
after_sleep_cmd = "hyprctl dispatch dpms on";
|
||||
ignore_dbus_inhibit = false;
|
||||
lock_cmd = "hyprlock";
|
||||
};
|
||||
listener = [
|
||||
{
|
||||
timeout = 900;
|
||||
on-timeout = "hyprlock";
|
||||
}
|
||||
{
|
||||
timeout = 1200;
|
||||
on-timeout = "hyprctl dispatch dpms off";
|
||||
on-resume = "hyprctl dispatch dpms on";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
gh.enable = true;
|
||||
btop = {
|
||||
enable = true;
|
||||
settings = {
|
||||
vim_keys = true;
|
||||
};
|
||||
};
|
||||
kitty = {
|
||||
enable = true;
|
||||
package = pkgs.kitty;
|
||||
settings = {
|
||||
scrollback_lines = 2000;
|
||||
wheel_scroll_min_lines = 1;
|
||||
window_padding_width = 4;
|
||||
confirm_os_window_close = 0;
|
||||
};
|
||||
extraConfig = ''
|
||||
tab_bar_style fade
|
||||
tab_fade 1
|
||||
active_tab_font_style bold
|
||||
inactive_tab_font_style bold
|
||||
'';
|
||||
};
|
||||
starship = {
|
||||
enable = true;
|
||||
package = pkgs.starship;
|
||||
};
|
||||
bash = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
profileExtra = ''
|
||||
#if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" = 1 ]; then
|
||||
# exec Hyprland
|
||||
#fi
|
||||
'';
|
||||
initExtra = ''
|
||||
fastfetch
|
||||
if [ -f $HOME/.bashrc-personal ]; then
|
||||
source $HOME/.bashrc-personal
|
||||
fi
|
||||
'';
|
||||
shellAliases = {
|
||||
sv = "sudo nvim";
|
||||
fr = "nh os switch --hostname ${host} /home/${username}/zaneyos";
|
||||
fu = "nh os switch --hostname ${host} --update /home/${username}/zaneyos";
|
||||
zu = "sh <(curl -L https://gitlab.com/Zaney/zaneyos/-/raw/main/install-zaneyos.sh)";
|
||||
ncg = "nix-collect-garbage --delete-old && sudo nix-collect-garbage -d && sudo /run/current-system/bin/switch-to-configuration boot";
|
||||
v = "nvim";
|
||||
cat = "bat";
|
||||
ls = "eza --icons";
|
||||
ll = "eza -lh --icons --grid --group-directories-first";
|
||||
la = "eza -lah --icons --grid --group-directories-first";
|
||||
".." = "cd ..";
|
||||
};
|
||||
};
|
||||
home-manager.enable = true;
|
||||
hyprlock = {
|
||||
enable = true;
|
||||
settings = {
|
||||
general = {
|
||||
disable_loading_bar = true;
|
||||
grace = 10;
|
||||
hide_cursor = true;
|
||||
no_fade_in = false;
|
||||
};
|
||||
background = [
|
||||
{
|
||||
path = "/home/${username}/Pictures/Wallpapers/zaney-wallpaper.jpg";
|
||||
blur_passes = 3;
|
||||
blur_size = 8;
|
||||
}
|
||||
];
|
||||
image = [
|
||||
{
|
||||
path = "/home/${username}/.config/face.jpg";
|
||||
size = 150;
|
||||
border_size = 4;
|
||||
border_color = "rgb(0C96F9)";
|
||||
rounding = -1; # Negative means circle
|
||||
position = "0, 200";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
}
|
||||
];
|
||||
input-field = [
|
||||
{
|
||||
size = "200, 50";
|
||||
position = "0, -80";
|
||||
monitor = "";
|
||||
dots_center = true;
|
||||
fade_on_empty = false;
|
||||
font_color = "rgb(CFE6F4)";
|
||||
inner_color = "rgb(657DC2)";
|
||||
outer_color = "rgb(0D0E15)";
|
||||
outline_thickness = 5;
|
||||
placeholder_text = "Password...";
|
||||
shadow_passes = 2;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
28
hosts/default/host-packages.nix
Normal file
28
hosts/default/host-packages.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{configs, pkgs, ...}: {
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Add local pacakaged here
|
||||
];
|
||||
# Add host specific flatpaks here
|
||||
services = {
|
||||
flatpak = {
|
||||
packages = [
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
services.auto-cpufreq.enable = false;
|
||||
services.auto-cpufreq.settings = {
|
||||
battery = {
|
||||
governor = "powersave";
|
||||
turbo = "never";
|
||||
};
|
||||
charger = {
|
||||
governor = "performance";
|
||||
turbo = "auto";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
username,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (import ./variables.nix) gitUsername;
|
||||
in
|
||||
{
|
||||
users.users = {
|
||||
"${username}" = {
|
||||
homeMode = "755";
|
||||
isNormalUser = true;
|
||||
description = "${gitUsername}";
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"libvirtd"
|
||||
"scanner"
|
||||
"lp"
|
||||
"docker"
|
||||
];
|
||||
shell = pkgs.bash;
|
||||
ignoreShellProgramCheck = true;
|
||||
packages = with pkgs; [
|
||||
];
|
||||
};
|
||||
# "newuser" = {
|
||||
# homeMode = "755";
|
||||
# isNormalUser = true;
|
||||
# description = "New user account";
|
||||
# extraGroups = [ "networkmanager" "wheel" "libvirtd" ];
|
||||
# shell = pkgs.bash;
|
||||
# ignoreShellProgramCheck = true;
|
||||
# packages = with pkgs; [];
|
||||
# };
|
||||
};
|
||||
}
|
||||
|
|
@ -1,17 +1,148 @@
|
|||
{
|
||||
# Git Configuration ( For Pulling Software Repos )
|
||||
gitUsername = "Tyler Kelley";
|
||||
gitEmail = "tylerzanekelley@gmail.com";
|
||||
gitUsername = "Don Williams";
|
||||
gitEmail = "don.e.williams@gmail.com";
|
||||
|
||||
# Set Displau Manager
|
||||
# `tui` for Text login
|
||||
# `sddm` for graphical GUI (default)
|
||||
# SDDM background is set with stylixImage
|
||||
displayManager = "tui";
|
||||
|
||||
# Emable/disable bundled applications
|
||||
tmuxEnable = false;
|
||||
alacrittyEnable = false;
|
||||
weztermEnable = false;
|
||||
ghosttyEnable = false;
|
||||
vscodeEnable = false;
|
||||
antigravityEnable = false; # Google port of vscodium
|
||||
# Note: This is evil-helix with VIM keybindings by default
|
||||
helixEnable = false;
|
||||
#To install: Enable here, zcli rebuild, then run zcli doom install
|
||||
doomEmacsEnable = false;
|
||||
|
||||
# Python development tools are included by default
|
||||
|
||||
# Hyprland Settings
|
||||
extraMonitorSettings = "";
|
||||
# Examples:
|
||||
# extraMonitorSettings = "monitor = Virtual-1,1920x1080@60,auto,1";
|
||||
# extraMonitorSettings = "monitor = HDMI-A-1,1920x1080@60,auto,1";
|
||||
# You can configure multiple monitors.
|
||||
# Inside the quotes, create a new line for each monitor.
|
||||
extraMonitorSettings = "
|
||||
monitor = Virtual-1,1920x1080@60,auto,1
|
||||
";
|
||||
|
||||
# Waybar Settings
|
||||
# Bar/Shell Settings
|
||||
# Choose between noctalia or waybar
|
||||
barChoice = "noctalia";
|
||||
|
||||
# Waybar Settings (used when barChoice = "waybar")
|
||||
clock24h = false;
|
||||
|
||||
# Program Options
|
||||
browser = "brave"; # Set Default Browser (google-chrome-stable for google-chrome)
|
||||
# Set Default Browser (google-chrome-stable for google-chrome)
|
||||
# This does NOT install your browser
|
||||
# You need to install it by adding it to the `packages.nix`
|
||||
# or as a flatpak
|
||||
browser = "brave";
|
||||
|
||||
# Host-level default applications (picked up by Home Manager xdg.mimeApps)
|
||||
# Uncomment and adjust the .desktop IDs to set per-host defaults.
|
||||
# mimeDefaultApps = {
|
||||
# # PDFs
|
||||
# "application/pdf" = ["okular.desktop"];
|
||||
# "application/x-pdf" = ["okular.desktop"];
|
||||
# # Web browser
|
||||
# "x-scheme-handler/http" = ["google-chrome.desktop"]; # or brave-browser.desktop, firefox.desktop
|
||||
# "x-scheme-handler/https" = ["google-chrome.desktop"];
|
||||
# "text/html" = ["google-chrome.desktop"];
|
||||
# # Files
|
||||
# "inode/directory" = ["thunar.desktop"]; # file manager
|
||||
# "text/plain" = ["nvim.desktop"]; # or code.desktop
|
||||
# };
|
||||
|
||||
# Available Options:
|
||||
# Kitty, ghostty, wezterm, aalacrity
|
||||
# Note: kitty, wezterm, alacritty have to be enabled in `variables.nix`
|
||||
# Setting it here does not enable it. Kitty is installed by default
|
||||
terminal = "kitty"; # Set Default System Terminal
|
||||
|
||||
keyboardLayout = "us";
|
||||
keyboardVariant = "";
|
||||
consoleKeyMap = "us";
|
||||
|
||||
# For hybrid support (Intel/NVIDIA Prime or AMD/NVIDIA)
|
||||
intelID = "PCI:1:0:0";
|
||||
amdgpuID = "PCI:5:0:0";
|
||||
nvidiaID = "PCI:0:2:0";
|
||||
|
||||
# Enable NFS
|
||||
enableNFS = true;
|
||||
|
||||
# Enable Printing Support
|
||||
printEnable = false;
|
||||
|
||||
# Enable Thunar GUI File Manager
|
||||
# Yazi is alternate File Manager
|
||||
thunarEnable = true;
|
||||
|
||||
# Themes, waybar and animation.
|
||||
# Only uncomment your selection
|
||||
# The others much be commented out.
|
||||
|
||||
# Set Stylix Image
|
||||
# This will set your color palette
|
||||
# Default background
|
||||
# Add new images to ~/zaneyos/wallpapers
|
||||
#stylixImage = ../../wallpapers/mountainscapedark.jpg;
|
||||
#stylixImage = ../../wallpapers/AnimeGirlNightSky.jpg;
|
||||
#stylixImage = ../../wallpapers/Anime-Purple-eyes.png;
|
||||
stylixImage = ../../wallpapers/Rainnight.jpg;
|
||||
#stylixImage = ../../wallpapers/zaney-wallpaper.jpg;
|
||||
#stylixImage = ../../wallpapers/nix-wallpaper-stripes-logo.png;
|
||||
#stylixImage = ../../wallpapers/beautifulmountainscape.jpg;
|
||||
|
||||
# Set Waybar
|
||||
# Available Options:
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-curved.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs-2.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-simple.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-dwm.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-dwm-2.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-nekodyke.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jerry.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-TheBlackDon.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-tony.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubsos-v1.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-mecha.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jak-catppuccin.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jak-ml4w-modern.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jak-oglo-simple.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jwt-catppuccin.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jwt-transparent.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jwt-ultradark.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-pctrade-catppuccin.nix;
|
||||
waybarChoice = ../../modules/home/waybar/waybar-mangowc-jak-catppuccin.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-old-ddubsos.nix;
|
||||
|
||||
# Set Animation style
|
||||
# Available options are:
|
||||
#animChoice = ../../modules/home/hyprland/animations-def.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-end4.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-end4-slide.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-end-slide.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-dynamic.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-moving.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-hyde-optimized.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-mahaveer-me-1.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-mahaveer-me-2.nix;
|
||||
animChoice = ../../modules/home/hyprland/animations-ml4w-classic.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-ml4w-fast.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-ml4w-high.nix;
|
||||
|
||||
# Set network hostId if required (needed for zfs)
|
||||
# Otherwise leave as-is
|
||||
hostId = "5ab03f50";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,481 +0,0 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
host,
|
||||
username,
|
||||
options,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (import ./variables.nix) keyboardLayout consoleKeyMap;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./hardware.nix
|
||||
./users.nix
|
||||
../../modules/amd-drivers.nix
|
||||
../../modules/apple-silicon-support
|
||||
../../modules/nvidia-drivers.nix
|
||||
../../modules/nvidia-prime-drivers.nix
|
||||
../../modules/intel-drivers.nix
|
||||
../../modules/vm-guest-services.nix
|
||||
../../modules/local-hardware-clock.nix
|
||||
];
|
||||
|
||||
boot = {
|
||||
# Kernel
|
||||
kernelPackages = lib.mkDefault pkgs.linuxPackages_zen;
|
||||
# This is for OBS Virtual Cam Support
|
||||
kernelModules = [ "v4l2loopback" ];
|
||||
extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
|
||||
# Needed For Some Steam Games
|
||||
kernel.sysctl = {
|
||||
"vm.max_map_count" = 2147483642;
|
||||
};
|
||||
# Bootloader.
|
||||
loader.systemd-boot.enable = true;
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
# Make /tmp a tmpfs
|
||||
tmp = {
|
||||
useTmpfs = false;
|
||||
tmpfsSize = "30%";
|
||||
};
|
||||
# Appimage Support
|
||||
binfmt.registrations.appimage = {
|
||||
wrapInterpreterInShell = false;
|
||||
interpreter = "${pkgs.appimage-run}/bin/appimage-run";
|
||||
recognitionType = "magic";
|
||||
offset = 0;
|
||||
mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff'';
|
||||
magicOrExtension = ''\x7fELF....AI\x02'';
|
||||
};
|
||||
plymouth.enable = true;
|
||||
};
|
||||
|
||||
# Styling Options
|
||||
stylix = {
|
||||
enable = true;
|
||||
image = ../../config/wallpapers/beautifulmountainscape.jpg;
|
||||
# base16Scheme = {
|
||||
# base00 = "232136";
|
||||
# base01 = "2a273f";
|
||||
# base02 = "393552";
|
||||
# base03 = "6e6a86";
|
||||
# base04 = "908caa";
|
||||
# base05 = "e0def4";
|
||||
# base06 = "e0def4";
|
||||
# base07 = "56526e";
|
||||
# base08 = "eb6f92";
|
||||
# base09 = "f6c177";
|
||||
# base0A = "ea9a97";
|
||||
# base0B = "3e8fb0";
|
||||
# base0C = "9ccfd8";
|
||||
# base0D = "c4a7e7";
|
||||
# base0E = "f6c177";
|
||||
# base0F = "56526e";
|
||||
# };
|
||||
polarity = "dark";
|
||||
opacity.terminal = 0.8;
|
||||
cursor.package = pkgs.bibata-cursors;
|
||||
cursor.name = "Bibata-Modern-Ice";
|
||||
cursor.size = 24;
|
||||
fonts = {
|
||||
monospace = {
|
||||
package = pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; };
|
||||
name = "JetBrainsMono Nerd Font Mono";
|
||||
};
|
||||
sansSerif = {
|
||||
package = pkgs.montserrat;
|
||||
name = "Montserrat";
|
||||
};
|
||||
serif = {
|
||||
package = pkgs.montserrat;
|
||||
name = "Montserrat";
|
||||
};
|
||||
sizes = {
|
||||
applications = 12;
|
||||
terminal = 15;
|
||||
desktop = 11;
|
||||
popups = 12;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Extra Module Options
|
||||
drivers.amdgpu.enable = false;
|
||||
drivers.nvidia.enable = false;
|
||||
drivers.nvidia-prime = {
|
||||
enable = false;
|
||||
intelBusID = "";
|
||||
nvidiaBusID = "";
|
||||
};
|
||||
drivers.intel.enable = false;
|
||||
vm.guest-services.enable = false;
|
||||
local.hardware-clock.enable = false;
|
||||
# Apple Hardware
|
||||
hardware.asahi.useExperimentalGPUDriver = true;
|
||||
hardware.asahi.peripheralFirmwareDirectory = ../../modules/firmware;
|
||||
|
||||
# Enable networking
|
||||
networking.wireless.iwd = {
|
||||
enable = true;
|
||||
settings.General.EnableNetworkConfiguration = true;
|
||||
};
|
||||
networking.hostName = host;
|
||||
networking.timeServers = options.networking.timeServers.default ++ [ "pool.ntp.org" ];
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "America/Chicago";
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
i18n.extraLocaleSettings = {
|
||||
LC_ADDRESS = "en_US.UTF-8";
|
||||
LC_IDENTIFICATION = "en_US.UTF-8";
|
||||
LC_MEASUREMENT = "en_US.UTF-8";
|
||||
LC_MONETARY = "en_US.UTF-8";
|
||||
LC_NAME = "en_US.UTF-8";
|
||||
LC_NUMERIC = "en_US.UTF-8";
|
||||
LC_PAPER = "en_US.UTF-8";
|
||||
LC_TELEPHONE = "en_US.UTF-8";
|
||||
LC_TIME = "en_US.UTF-8";
|
||||
};
|
||||
|
||||
programs = {
|
||||
firefox.enable = false;
|
||||
starship = {
|
||||
enable = true;
|
||||
settings = {
|
||||
add_newline = false;
|
||||
buf = {
|
||||
symbol = " ";
|
||||
};
|
||||
c = {
|
||||
symbol = " ";
|
||||
};
|
||||
directory = {
|
||||
read_only = " ";
|
||||
};
|
||||
docker_context = {
|
||||
symbol = " ";
|
||||
};
|
||||
fossil_branch = {
|
||||
symbol = " ";
|
||||
};
|
||||
git_branch = {
|
||||
symbol = " ";
|
||||
};
|
||||
golang = {
|
||||
symbol = " ";
|
||||
};
|
||||
hg_branch = {
|
||||
symbol = " ";
|
||||
};
|
||||
hostname = {
|
||||
ssh_symbol = " ";
|
||||
};
|
||||
lua = {
|
||||
symbol = " ";
|
||||
};
|
||||
memory_usage = {
|
||||
symbol = " ";
|
||||
};
|
||||
meson = {
|
||||
symbol = " ";
|
||||
};
|
||||
nim = {
|
||||
symbol = " ";
|
||||
};
|
||||
nix_shell = {
|
||||
symbol = " ";
|
||||
};
|
||||
nodejs = {
|
||||
symbol = " ";
|
||||
};
|
||||
ocaml = {
|
||||
symbol = " ";
|
||||
};
|
||||
package = {
|
||||
symbol = " ";
|
||||
};
|
||||
python = {
|
||||
symbol = " ";
|
||||
};
|
||||
rust = {
|
||||
symbol = " ";
|
||||
};
|
||||
swift = {
|
||||
symbol = " ";
|
||||
};
|
||||
zig = {
|
||||
symbol = " ";
|
||||
};
|
||||
};
|
||||
};
|
||||
dconf.enable = true;
|
||||
seahorse.enable = true;
|
||||
fuse.userAllowOther = true;
|
||||
mtr.enable = true;
|
||||
gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
virt-manager.enable = true;
|
||||
thunar = {
|
||||
enable = true;
|
||||
plugins = with pkgs.xfce; [
|
||||
thunar-archive-plugin
|
||||
thunar-volman
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
users = {
|
||||
mutableUsers = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
wget
|
||||
killall
|
||||
eza
|
||||
git
|
||||
cmatrix
|
||||
lolcat
|
||||
htop
|
||||
brave
|
||||
libvirt
|
||||
lxqt.lxqt-policykit
|
||||
lm_sensors
|
||||
unzip
|
||||
unrar
|
||||
libnotify
|
||||
v4l-utils
|
||||
ydotool
|
||||
duf
|
||||
ncdu
|
||||
wl-clipboard
|
||||
pciutils
|
||||
ffmpeg
|
||||
socat
|
||||
cowsay
|
||||
ripgrep
|
||||
lshw
|
||||
bat
|
||||
pkg-config
|
||||
meson
|
||||
hyprpicker
|
||||
ninja
|
||||
brightnessctl
|
||||
virt-viewer
|
||||
swappy
|
||||
appimage-run
|
||||
yad
|
||||
inxi
|
||||
playerctl
|
||||
nh
|
||||
nixfmt-rfc-style
|
||||
libvirt
|
||||
swww
|
||||
grim
|
||||
slurp
|
||||
file-roller
|
||||
swaynotificationcenter
|
||||
imv
|
||||
mpv
|
||||
gimp
|
||||
pavucontrol
|
||||
tree
|
||||
neovide
|
||||
greetd.tuigreet
|
||||
];
|
||||
|
||||
fonts = {
|
||||
packages = with pkgs; [
|
||||
noto-fonts-emoji
|
||||
noto-fonts-cjk
|
||||
font-awesome
|
||||
symbola
|
||||
material-icons
|
||||
];
|
||||
};
|
||||
|
||||
environment.variables = {
|
||||
ZANEYOS_VERSION = "2.2";
|
||||
ZANEYOS = "true";
|
||||
};
|
||||
|
||||
# Extra Portal Configuration
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
wlr.enable = true;
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
pkgs.xdg-desktop-portal
|
||||
];
|
||||
configPackages = [
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
pkgs.xdg-desktop-portal-hyprland
|
||||
pkgs.xdg-desktop-portal
|
||||
];
|
||||
};
|
||||
|
||||
# Services to start
|
||||
services = {
|
||||
xserver = {
|
||||
enable = false;
|
||||
xkb = {
|
||||
layout = "${keyboardLayout}";
|
||||
variant = "";
|
||||
};
|
||||
};
|
||||
greetd = {
|
||||
enable = true;
|
||||
vt = 3;
|
||||
settings = {
|
||||
default_session = {
|
||||
# Wayland Desktop Manager is installed only for user ryan via home-manager!
|
||||
user = username;
|
||||
# .wayland-session is a script generated by home-manager, which links to the current wayland compositor(sway/hyprland or others).
|
||||
# with such a vendor-no-locking script, we can switch to another wayland compositor without modifying greetd's config here.
|
||||
# command = "$HOME/.wayland-session"; # start a wayland session directly without a login manager
|
||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland"; # start Hyprland with a TUI login manager
|
||||
};
|
||||
};
|
||||
};
|
||||
smartd = {
|
||||
enable = false;
|
||||
autodetect = true;
|
||||
};
|
||||
libinput.enable = true;
|
||||
fstrim.enable = true;
|
||||
gvfs.enable = true;
|
||||
openssh.enable = true;
|
||||
flatpak.enable = false;
|
||||
printing = {
|
||||
enable = true;
|
||||
drivers = [
|
||||
# pkgs.hplipWithPlugin
|
||||
];
|
||||
};
|
||||
gnome.gnome-keyring.enable = true;
|
||||
avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
ipp-usb.enable = true;
|
||||
syncthing = {
|
||||
enable = false;
|
||||
user = "${username}";
|
||||
dataDir = "/home/${username}";
|
||||
configDir = "/home/${username}/.config/syncthing";
|
||||
};
|
||||
pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
rpcbind.enable = false;
|
||||
nfs.server.enable = false;
|
||||
};
|
||||
systemd.services.flatpak-repo = {
|
||||
path = [ pkgs.flatpak ];
|
||||
script = ''
|
||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
'';
|
||||
};
|
||||
hardware.sane = {
|
||||
enable = true;
|
||||
extraBackends = [ pkgs.sane-airscan ];
|
||||
disabledDefaultBackends = [ "escl" ];
|
||||
};
|
||||
|
||||
# Extra Logitech Support
|
||||
hardware.logitech.wireless.enable = false;
|
||||
hardware.logitech.wireless.enableGraphical = false;
|
||||
|
||||
# Bluetooth Support
|
||||
hardware.bluetooth.enable = true;
|
||||
hardware.bluetooth.powerOnBoot = true;
|
||||
services.blueman.enable = true;
|
||||
hardware.pulseaudio.enable = false;
|
||||
|
||||
# Security / Polkit
|
||||
security.rtkit.enable = true;
|
||||
security.polkit.enable = true;
|
||||
security.polkit.extraConfig = ''
|
||||
polkit.addRule(function(action, subject) {
|
||||
if (
|
||||
subject.isInGroup("users")
|
||||
&& (
|
||||
action.id == "org.freedesktop.login1.reboot" ||
|
||||
action.id == "org.freedesktop.login1.reboot-multiple-sessions" ||
|
||||
action.id == "org.freedesktop.login1.power-off" ||
|
||||
action.id == "org.freedesktop.login1.power-off-multiple-sessions"
|
||||
)
|
||||
)
|
||||
{
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
})
|
||||
'';
|
||||
security.pam.services.swaylock = {
|
||||
text = ''
|
||||
auth include login
|
||||
'';
|
||||
};
|
||||
|
||||
# Optimization settings and garbage collection automation
|
||||
nix = {
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
substituters = [ "https://hyprland.cachix.org" ];
|
||||
trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ];
|
||||
};
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
};
|
||||
|
||||
# Virtualization / Containers
|
||||
virtualisation.libvirtd.enable = true;
|
||||
virtualisation.podman = {
|
||||
enable = true;
|
||||
dockerCompat = true;
|
||||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
|
||||
# OpenGL
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
enable32Bit = false;
|
||||
};
|
||||
|
||||
console.keyMap = "${consoleKeyMap}";
|
||||
|
||||
# Open ports in the firewall.
|
||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
# networking.firewall.enable = false;
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
# this value at the release version of the first install of this system.
|
||||
# Before changing this value read the documentation for this option
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "23.11"; # Did you read the comment?
|
||||
}
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
# 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 = [ "usb_storage" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/7b6ca8e3-c599-4d4b-802b-a4b20d865f69";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/FDE1-1C12";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.enu1u2u1c2.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.wlan0.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
||||
}
|
||||
|
|
@ -1,244 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
username,
|
||||
host,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (import ./variables.nix) gitUsername gitEmail;
|
||||
in
|
||||
{
|
||||
# Home Manager Settings
|
||||
home.username = "${username}";
|
||||
home.homeDirectory = "/home/${username}";
|
||||
home.stateVersion = "23.11";
|
||||
|
||||
# Import Program Configurations
|
||||
imports = [
|
||||
../../config/emoji.nix
|
||||
../../config/hyprland.nix
|
||||
../../config/neovim.nix
|
||||
../../config/rofi/rofi.nix
|
||||
../../config/rofi/config-emoji.nix
|
||||
../../config/rofi/config-long.nix
|
||||
../../config/swaync.nix
|
||||
../../config/waybar.nix
|
||||
../../config/wlogout.nix
|
||||
../../config/fastfetch
|
||||
];
|
||||
|
||||
# Place Files Inside Home Directory
|
||||
home.file."Pictures/Wallpapers" = {
|
||||
source = ../../config/wallpapers;
|
||||
recursive = true;
|
||||
};
|
||||
home.file.".config/wlogout/icons" = {
|
||||
source = ../../config/wlogout;
|
||||
recursive = true;
|
||||
};
|
||||
home.file.".face.icon".source = ../../config/face.jpg;
|
||||
home.file.".config/face.jpg".source = ../../config/face.jpg;
|
||||
home.file.".config/swappy/config".text = ''
|
||||
[Default]
|
||||
save_dir=/home/${username}/Pictures/Screenshots
|
||||
save_filename_format=swappy-%Y%m%d-%H%M%S.png
|
||||
show_panel=false
|
||||
line_size=5
|
||||
text_size=20
|
||||
text_font=Ubuntu
|
||||
paint_mode=brush
|
||||
early_exit=true
|
||||
fill_shape=false
|
||||
'';
|
||||
|
||||
# Install & Configure Git
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "${gitUsername}";
|
||||
userEmail = "${gitEmail}";
|
||||
};
|
||||
|
||||
# Create XDG Dirs
|
||||
xdg = {
|
||||
userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
};
|
||||
};
|
||||
|
||||
dconf.settings = {
|
||||
"org/virt-manager/virt-manager/connections" = {
|
||||
autoconnect = [ "qemu:///system" ];
|
||||
uris = [ "qemu:///system" ];
|
||||
};
|
||||
};
|
||||
|
||||
# Styling Options
|
||||
stylix.targets.waybar.enable = false;
|
||||
stylix.targets.rofi.enable = false;
|
||||
stylix.targets.hyprland.enable = false;
|
||||
gtk = {
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
};
|
||||
gtk3.extraConfig = {
|
||||
gtk-application-prefer-dark-theme = 1;
|
||||
};
|
||||
gtk4.extraConfig = {
|
||||
gtk-application-prefer-dark-theme = 1;
|
||||
};
|
||||
};
|
||||
qt = {
|
||||
enable = true;
|
||||
style.name = "adwaita-dark";
|
||||
platformTheme.name = "gtk3";
|
||||
};
|
||||
|
||||
|
||||
# Scripts
|
||||
home.packages = [
|
||||
(import ../../scripts/emopicker9000.nix { inherit pkgs; })
|
||||
(import ../../scripts/task-waybar.nix { inherit pkgs; })
|
||||
(import ../../scripts/squirtle.nix { inherit pkgs; })
|
||||
(import ../../scripts/nvidia-offload.nix { inherit pkgs; })
|
||||
(import ../../scripts/wallsetter.nix {
|
||||
inherit pkgs;
|
||||
inherit username;
|
||||
})
|
||||
(import ../../scripts/web-search.nix { inherit pkgs; })
|
||||
(import ../../scripts/rofi-launcher.nix { inherit pkgs; })
|
||||
(import ../../scripts/screenshootin.nix { inherit pkgs; })
|
||||
(import ../../scripts/list-hypr-bindings.nix {
|
||||
inherit pkgs;
|
||||
inherit host;
|
||||
})
|
||||
];
|
||||
|
||||
services = {
|
||||
hypridle = {
|
||||
settings = {
|
||||
general = {
|
||||
after_sleep_cmd = "hyprctl dispatch dpms on";
|
||||
ignore_dbus_inhibit = false;
|
||||
lock_cmd = "hyprlock";
|
||||
};
|
||||
listener = [
|
||||
{
|
||||
timeout = 900;
|
||||
on-timeout = "hyprlock";
|
||||
}
|
||||
{
|
||||
timeout = 1200;
|
||||
on-timeout = "hyprctl dispatch dpms off";
|
||||
on-resume = "hyprctl dispatch dpms on";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
gh.enable = true;
|
||||
btop = {
|
||||
enable = true;
|
||||
settings = {
|
||||
vim_keys = true;
|
||||
};
|
||||
};
|
||||
kitty = {
|
||||
enable = true;
|
||||
package = pkgs.kitty;
|
||||
settings = {
|
||||
scrollback_lines = 2000;
|
||||
wheel_scroll_min_lines = 1;
|
||||
window_padding_width = 4;
|
||||
confirm_os_window_close = 0;
|
||||
};
|
||||
extraConfig = ''
|
||||
tab_bar_style fade
|
||||
tab_fade 1
|
||||
active_tab_font_style bold
|
||||
inactive_tab_font_style bold
|
||||
'';
|
||||
};
|
||||
starship = {
|
||||
enable = true;
|
||||
package = pkgs.starship;
|
||||
};
|
||||
bash = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
profileExtra = ''
|
||||
#if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" = 1 ]; then
|
||||
# exec Hyprland
|
||||
#fi
|
||||
'';
|
||||
initExtra = ''
|
||||
fastfetch
|
||||
if [ -f $HOME/.bashrc-personal ]; then
|
||||
source $HOME/.bashrc-personal
|
||||
fi
|
||||
'';
|
||||
shellAliases = {
|
||||
sv = "sudo nvim";
|
||||
fr = "nh os switch --hostname ${host} /home/${username}/zaneyos";
|
||||
fu = "nh os switch --hostname ${host} --update /home/${username}/zaneyos";
|
||||
zu = "sh <(curl -L https://gitlab.com/Zaney/zaneyos/-/raw/main/install-zaneyos.sh)";
|
||||
ncg = "nix-collect-garbage --delete-old && sudo nix-collect-garbage -d && sudo /run/current-system/bin/switch-to-configuration boot";
|
||||
v = "nvim";
|
||||
cat = "bat";
|
||||
ls = "eza --icons";
|
||||
ll = "eza -lh --icons --grid --group-directories-first";
|
||||
la = "eza -lah --icons --grid --group-directories-first";
|
||||
".." = "cd ..";
|
||||
};
|
||||
};
|
||||
home-manager.enable = true;
|
||||
hyprlock = {
|
||||
enable = true;
|
||||
settings = {
|
||||
general = {
|
||||
disable_loading_bar = true;
|
||||
grace = 10;
|
||||
hide_cursor = true;
|
||||
no_fade_in = false;
|
||||
};
|
||||
background = [
|
||||
{
|
||||
path = "/home/${username}/Pictures/Wallpapers/zaney-wallpaper.jpg";
|
||||
blur_passes = 3;
|
||||
blur_size = 8;
|
||||
}
|
||||
];
|
||||
image = [
|
||||
{
|
||||
path = "/home/${username}/.config/face.jpg";
|
||||
size = 150;
|
||||
border_size = 4;
|
||||
border_color = "rgb(0C96F9)";
|
||||
rounding = -1; # Negative means circle
|
||||
position = "0, 200";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
}
|
||||
];
|
||||
input-field = [
|
||||
{
|
||||
size = "200, 50";
|
||||
position = "0, -80";
|
||||
monitor = "";
|
||||
dots_center = true;
|
||||
fade_on_empty = false;
|
||||
font_color = "rgb(CFE6F4)";
|
||||
inner_color = "rgb(657DC2)";
|
||||
outer_color = "rgb(0D0E15)";
|
||||
outline_thickness = 5;
|
||||
placeholder_text = "Password...";
|
||||
shadow_passes = 2;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
username,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (import ./variables.nix) gitUsername;
|
||||
in
|
||||
{
|
||||
users.users = {
|
||||
"${username}" = {
|
||||
homeMode = "755";
|
||||
isNormalUser = true;
|
||||
description = "${gitUsername}";
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"libvirtd"
|
||||
"scanner"
|
||||
"lp"
|
||||
];
|
||||
shell = pkgs.bash;
|
||||
ignoreShellProgramCheck = true;
|
||||
packages = with pkgs; [
|
||||
webcord
|
||||
zeroad
|
||||
];
|
||||
};
|
||||
# "newuser" = {
|
||||
# homeMode = "755";
|
||||
# isNormalUser = true;
|
||||
# description = "New user account";
|
||||
# extraGroups = [ "networkmanager" "wheel" "libvirtd" ];
|
||||
# shell = pkgs.bash;
|
||||
# ignoreShellProgramCheck = true;
|
||||
# packages = with pkgs; [];
|
||||
# };
|
||||
};
|
||||
}
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
{
|
||||
# Git Configuration ( For Pulling Software Repos )
|
||||
gitUsername = "Tyler Kelley";
|
||||
gitEmail = "tylerzanekelley@gmail.com";
|
||||
|
||||
# Hyprland Settings
|
||||
extraMonitorSettings = "
|
||||
monitor=eDP-1,2560x1600@60,0x0,1.25
|
||||
";
|
||||
|
||||
# Waybar Settings
|
||||
clock24h = false;
|
||||
|
||||
# Program Options
|
||||
browser = "brave"; # Set Default Browser (google-chrome-stable for google-chrome)
|
||||
terminal = "kitty"; # Set Default System Terminal
|
||||
keyboardLayout = "us";
|
||||
consoleKeyMap = "us";
|
||||
}
|
||||
|
|
@ -1,480 +0,0 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
host,
|
||||
username,
|
||||
options,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (import ./variables.nix) keyboardLayout consoleKeyMap;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./hardware.nix
|
||||
./users.nix
|
||||
../../modules/amd-drivers.nix
|
||||
../../modules/nvidia-drivers.nix
|
||||
../../modules/nvidia-prime-drivers.nix
|
||||
../../modules/intel-drivers.nix
|
||||
../../modules/vm-guest-services.nix
|
||||
../../modules/local-hardware-clock.nix
|
||||
];
|
||||
|
||||
boot = {
|
||||
# Kernel
|
||||
kernelPackages = pkgs.linuxPackages_zen;
|
||||
# This is for OBS Virtual Cam Support
|
||||
kernelModules = [ "v4l2loopback" ];
|
||||
extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
|
||||
# Needed For Some Steam Games
|
||||
kernel.sysctl = {
|
||||
"vm.max_map_count" = 2147483642;
|
||||
};
|
||||
# Bootloader.
|
||||
loader.systemd-boot.enable = true;
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
# Make /tmp a tmpfs
|
||||
tmp = {
|
||||
useTmpfs = false;
|
||||
tmpfsSize = "30%";
|
||||
};
|
||||
# Appimage Support
|
||||
binfmt.registrations.appimage = {
|
||||
wrapInterpreterInShell = false;
|
||||
interpreter = "${pkgs.appimage-run}/bin/appimage-run";
|
||||
recognitionType = "magic";
|
||||
offset = 0;
|
||||
mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff'';
|
||||
magicOrExtension = ''\x7fELF....AI\x02'';
|
||||
};
|
||||
plymouth.enable = true;
|
||||
};
|
||||
|
||||
# Styling Options
|
||||
stylix = {
|
||||
enable = true;
|
||||
image = ../../config/wallpapers/beautifulmountainscape.jpg;
|
||||
# base16Scheme = {
|
||||
# base00 = "232136";
|
||||
# base01 = "2a273f";
|
||||
# base02 = "393552";
|
||||
# base03 = "6e6a86";
|
||||
# base04 = "908caa";
|
||||
# base05 = "e0def4";
|
||||
# base06 = "e0def4";
|
||||
# base07 = "56526e";
|
||||
# base08 = "eb6f92";
|
||||
# base09 = "f6c177";
|
||||
# base0A = "ea9a97";
|
||||
# base0B = "3e8fb0";
|
||||
# base0C = "9ccfd8";
|
||||
# base0D = "c4a7e7";
|
||||
# base0E = "f6c177";
|
||||
# base0F = "56526e";
|
||||
# };
|
||||
polarity = "dark";
|
||||
opacity.terminal = 0.8;
|
||||
cursor.package = pkgs.bibata-cursors;
|
||||
cursor.name = "Bibata-Modern-Ice";
|
||||
cursor.size = 24;
|
||||
fonts = {
|
||||
monospace = {
|
||||
package = pkgs.nerd-fonts.jetbrains-mono;
|
||||
name = "JetBrainsMono Nerd Font Mono";
|
||||
};
|
||||
sansSerif = {
|
||||
package = pkgs.montserrat;
|
||||
name = "Montserrat";
|
||||
};
|
||||
serif = {
|
||||
package = pkgs.montserrat;
|
||||
name = "Montserrat";
|
||||
};
|
||||
sizes = {
|
||||
applications = 12;
|
||||
terminal = 15;
|
||||
desktop = 11;
|
||||
popups = 12;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Extra Module Options
|
||||
drivers.amdgpu.enable = false;
|
||||
drivers.nvidia.enable = false;
|
||||
drivers.nvidia-prime = {
|
||||
enable = false;
|
||||
intelBusID = "";
|
||||
nvidiaBusID = "";
|
||||
};
|
||||
drivers.intel.enable = false;
|
||||
vm.guest-services.enable = false;
|
||||
local.hardware-clock.enable = false;
|
||||
|
||||
# Enable networking
|
||||
networking.networkmanager.enable = true;
|
||||
networking.hostName = host;
|
||||
networking.timeServers = options.networking.timeServers.default ++ [ "pool.ntp.org" ];
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "America/Chicago";
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
i18n.extraLocaleSettings = {
|
||||
LC_ADDRESS = "en_US.UTF-8";
|
||||
LC_IDENTIFICATION = "en_US.UTF-8";
|
||||
LC_MEASUREMENT = "en_US.UTF-8";
|
||||
LC_MONETARY = "en_US.UTF-8";
|
||||
LC_NAME = "en_US.UTF-8";
|
||||
LC_NUMERIC = "en_US.UTF-8";
|
||||
LC_PAPER = "en_US.UTF-8";
|
||||
LC_TELEPHONE = "en_US.UTF-8";
|
||||
LC_TIME = "en_US.UTF-8";
|
||||
};
|
||||
|
||||
programs = {
|
||||
firefox.enable = false;
|
||||
starship = {
|
||||
enable = true;
|
||||
settings = {
|
||||
add_newline = false;
|
||||
buf = {
|
||||
symbol = " ";
|
||||
};
|
||||
c = {
|
||||
symbol = " ";
|
||||
};
|
||||
directory = {
|
||||
read_only = " ";
|
||||
};
|
||||
docker_context = {
|
||||
symbol = " ";
|
||||
};
|
||||
fossil_branch = {
|
||||
symbol = " ";
|
||||
};
|
||||
git_branch = {
|
||||
symbol = " ";
|
||||
};
|
||||
golang = {
|
||||
symbol = " ";
|
||||
};
|
||||
hg_branch = {
|
||||
symbol = " ";
|
||||
};
|
||||
hostname = {
|
||||
ssh_symbol = " ";
|
||||
};
|
||||
lua = {
|
||||
symbol = " ";
|
||||
};
|
||||
memory_usage = {
|
||||
symbol = " ";
|
||||
};
|
||||
meson = {
|
||||
symbol = " ";
|
||||
};
|
||||
nim = {
|
||||
symbol = " ";
|
||||
};
|
||||
nix_shell = {
|
||||
symbol = " ";
|
||||
};
|
||||
nodejs = {
|
||||
symbol = " ";
|
||||
};
|
||||
ocaml = {
|
||||
symbol = " ";
|
||||
};
|
||||
package = {
|
||||
symbol = " ";
|
||||
};
|
||||
python = {
|
||||
symbol = " ";
|
||||
};
|
||||
rust = {
|
||||
symbol = " ";
|
||||
};
|
||||
swift = {
|
||||
symbol = " ";
|
||||
};
|
||||
zig = {
|
||||
symbol = " ";
|
||||
};
|
||||
};
|
||||
};
|
||||
dconf.enable = true;
|
||||
seahorse.enable = true;
|
||||
fuse.userAllowOther = true;
|
||||
mtr.enable = true;
|
||||
gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
virt-manager.enable = true;
|
||||
steam = {
|
||||
enable = true;
|
||||
gamescopeSession.enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
dedicatedServer.openFirewall = true;
|
||||
};
|
||||
thunar = {
|
||||
enable = true;
|
||||
plugins = with pkgs.xfce; [
|
||||
thunar-archive-plugin
|
||||
thunar-volman
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
users = {
|
||||
mutableUsers = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
wget
|
||||
killall
|
||||
docker-compose
|
||||
eza
|
||||
git
|
||||
cmatrix
|
||||
lolcat
|
||||
htop
|
||||
brave
|
||||
libvirt
|
||||
lxqt.lxqt-policykit
|
||||
lm_sensors
|
||||
unzip
|
||||
unrar
|
||||
libnotify
|
||||
v4l-utils
|
||||
ydotool
|
||||
duf
|
||||
ncdu
|
||||
wl-clipboard
|
||||
pciutils
|
||||
ffmpeg
|
||||
socat
|
||||
cowsay
|
||||
ripgrep
|
||||
lshw
|
||||
bat
|
||||
pkg-config
|
||||
meson
|
||||
hyprpicker
|
||||
ninja
|
||||
brightnessctl
|
||||
virt-viewer
|
||||
swappy
|
||||
appimage-run
|
||||
networkmanagerapplet
|
||||
yad
|
||||
inxi
|
||||
playerctl
|
||||
nh
|
||||
nixfmt-rfc-style
|
||||
discord
|
||||
libvirt
|
||||
swww
|
||||
grim
|
||||
slurp
|
||||
file-roller
|
||||
swaynotificationcenter
|
||||
imv
|
||||
mpv
|
||||
gimp
|
||||
pavucontrol
|
||||
tree
|
||||
spotify
|
||||
neovide
|
||||
greetd.tuigreet
|
||||
];
|
||||
|
||||
fonts = {
|
||||
packages = with pkgs; [
|
||||
noto-fonts-emoji
|
||||
noto-fonts-cjk-sans
|
||||
font-awesome
|
||||
symbola
|
||||
material-icons
|
||||
];
|
||||
};
|
||||
|
||||
environment.variables = {
|
||||
ZANEYOS_VERSION = "2.2";
|
||||
ZANEYOS = "true";
|
||||
};
|
||||
|
||||
# Extra Portal Configuration
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
wlr.enable = true;
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
pkgs.xdg-desktop-portal
|
||||
];
|
||||
configPackages = [
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
pkgs.xdg-desktop-portal-hyprland
|
||||
pkgs.xdg-desktop-portal
|
||||
];
|
||||
};
|
||||
|
||||
# Services to start
|
||||
services = {
|
||||
xserver = {
|
||||
enable = false;
|
||||
xkb = {
|
||||
layout = "${keyboardLayout}";
|
||||
variant = "";
|
||||
};
|
||||
};
|
||||
greetd = {
|
||||
enable = true;
|
||||
vt = 3;
|
||||
settings = {
|
||||
default_session = {
|
||||
# Wayland Desktop Manager is installed only for user ryan via home-manager!
|
||||
user = username;
|
||||
# .wayland-session is a script generated by home-manager, which links to the current wayland compositor(sway/hyprland or others).
|
||||
# with such a vendor-no-locking script, we can switch to another wayland compositor without modifying greetd's config here.
|
||||
# command = "$HOME/.wayland-session"; # start a wayland session directly without a login manager
|
||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland"; # start Hyprland with a TUI login manager
|
||||
};
|
||||
};
|
||||
};
|
||||
smartd = {
|
||||
enable = false;
|
||||
autodetect = true;
|
||||
};
|
||||
libinput.enable = true;
|
||||
fstrim.enable = true;
|
||||
gvfs.enable = true;
|
||||
openssh.enable = true;
|
||||
flatpak.enable = false;
|
||||
printing = {
|
||||
enable = true;
|
||||
drivers = [
|
||||
# pkgs.hplipWithPlugin
|
||||
];
|
||||
};
|
||||
gnome.gnome-keyring.enable = true;
|
||||
avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
ipp-usb.enable = true;
|
||||
syncthing = {
|
||||
enable = false;
|
||||
user = "${username}";
|
||||
dataDir = "/home/${username}";
|
||||
configDir = "/home/${username}/.config/syncthing";
|
||||
};
|
||||
pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
rpcbind.enable = false;
|
||||
nfs.server.enable = false;
|
||||
};
|
||||
systemd.services.flatpak-repo = {
|
||||
path = [ pkgs.flatpak ];
|
||||
script = ''
|
||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
'';
|
||||
};
|
||||
hardware.sane = {
|
||||
enable = true;
|
||||
extraBackends = [ pkgs.sane-airscan ];
|
||||
disabledDefaultBackends = [ "escl" ];
|
||||
};
|
||||
|
||||
# Extra Logitech Support
|
||||
hardware.logitech.wireless.enable = false;
|
||||
hardware.logitech.wireless.enableGraphical = false;
|
||||
|
||||
# Bluetooth Support
|
||||
hardware.bluetooth.enable = true;
|
||||
hardware.bluetooth.powerOnBoot = true;
|
||||
services.blueman.enable = true;
|
||||
|
||||
# Enable sound with pipewire.
|
||||
services.pulseaudio.enable = false;
|
||||
|
||||
# Security / Polkit
|
||||
security.rtkit.enable = true;
|
||||
security.polkit.enable = true;
|
||||
security.polkit.extraConfig = ''
|
||||
polkit.addRule(function(action, subject) {
|
||||
if (
|
||||
subject.isInGroup("users")
|
||||
&& (
|
||||
action.id == "org.freedesktop.login1.reboot" ||
|
||||
action.id == "org.freedesktop.login1.reboot-multiple-sessions" ||
|
||||
action.id == "org.freedesktop.login1.power-off" ||
|
||||
action.id == "org.freedesktop.login1.power-off-multiple-sessions"
|
||||
)
|
||||
)
|
||||
{
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
})
|
||||
'';
|
||||
security.pam.services.swaylock = {
|
||||
text = ''
|
||||
auth include login
|
||||
'';
|
||||
};
|
||||
|
||||
# Optimization settings and garbage collection automation
|
||||
nix = {
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
substituters = [ "https://hyprland.cachix.org" ];
|
||||
trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ];
|
||||
};
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
};
|
||||
|
||||
# Virtualization / Containers
|
||||
virtualisation.libvirtd.enable = true;
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
# OpenGL
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
console.keyMap = "${consoleKeyMap}";
|
||||
|
||||
# Open ports in the firewall.
|
||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
# networking.firewall.enable = false;
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
# this value at the release version of the first install of this system.
|
||||
# Before changing this value read the documentation for this option
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "23.11"; # Did you read the comment?
|
||||
}
|
||||
|
|
@ -1,46 +0,0 @@
|
|||
# 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" "ehci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/8bac633b-c4e6-44bc-83b3-97b5472594e8";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices."luks-8941ac93-f043-46d1-b128-37d5e846303f".device = "/dev/disk/by-uuid/8941ac93-f043-46d1-b128-37d5e846303f";
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/BC0C-F843";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
|
||||
fileSystems."/home/zaney/BFD" =
|
||||
{ device = "/dev/disk/by-uuid/5A30E2CC30E2AE67";
|
||||
fsType = "ntfs";
|
||||
options = [ "defaults" "umask=000" "dmask=027" "fmask=137" "uid=1000" "gid=1000" "windows_names" ];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.enp5s0.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
|
|
@ -1,224 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
username,
|
||||
host,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (import ./variables.nix) gitUsername gitEmail;
|
||||
in
|
||||
{
|
||||
# Home Manager Settings
|
||||
home.username = "${username}";
|
||||
home.homeDirectory = "/home/${username}";
|
||||
home.stateVersion = "23.11";
|
||||
|
||||
# Import Program Configurations
|
||||
imports = [
|
||||
../../config/emoji.nix
|
||||
../../config/fastfetch
|
||||
../../config/hyprland.nix
|
||||
../../config/neovim.nix
|
||||
../../config/rofi/rofi.nix
|
||||
../../config/rofi/config-emoji.nix
|
||||
../../config/rofi/config-long.nix
|
||||
../../config/swaync.nix
|
||||
../../config/waybar.nix
|
||||
../../config/wlogout.nix
|
||||
../../config/fastfetch
|
||||
];
|
||||
|
||||
# Place Files Inside Home Directory
|
||||
home.file."Pictures/Wallpapers" = {
|
||||
source = ../../config/wallpapers;
|
||||
recursive = true;
|
||||
};
|
||||
home.file.".config/wlogout/icons" = {
|
||||
source = ../../config/wlogout;
|
||||
recursive = true;
|
||||
};
|
||||
home.file.".face.icon".source = ../../config/face.jpg;
|
||||
home.file.".config/face.jpg".source = ../../config/face.jpg;
|
||||
home.file.".config/swappy/config".text = ''
|
||||
[Default]
|
||||
save_dir=/home/${username}/Pictures/Screenshots
|
||||
save_filename_format=swappy-%Y%m%d-%H%M%S.png
|
||||
show_panel=false
|
||||
line_size=5
|
||||
text_size=20
|
||||
text_font=Ubuntu
|
||||
paint_mode=brush
|
||||
early_exit=true
|
||||
fill_shape=false
|
||||
'';
|
||||
|
||||
# Install & Configure Git
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "${gitUsername}";
|
||||
userEmail = "${gitEmail}";
|
||||
};
|
||||
|
||||
# Create XDG Dirs
|
||||
xdg = {
|
||||
userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
};
|
||||
};
|
||||
|
||||
dconf.settings = {
|
||||
"org/virt-manager/virt-manager/connections" = {
|
||||
autoconnect = [ "qemu:///system" ];
|
||||
uris = [ "qemu:///system" ];
|
||||
};
|
||||
};
|
||||
|
||||
# Styling Options
|
||||
stylix.targets.waybar.enable = false;
|
||||
stylix.targets.rofi.enable = false;
|
||||
stylix.targets.hyprland.enable = false;
|
||||
gtk = {
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
};
|
||||
gtk3.extraConfig = {
|
||||
gtk-application-prefer-dark-theme = 1;
|
||||
};
|
||||
gtk4.extraConfig = {
|
||||
gtk-application-prefer-dark-theme = 1;
|
||||
};
|
||||
};
|
||||
qt = {
|
||||
enable = true;
|
||||
style.name = "adwaita-dark";
|
||||
platformTheme.name = "gtk3";
|
||||
};
|
||||
|
||||
|
||||
# Scripts
|
||||
home.packages = [
|
||||
(import ../../scripts/emopicker9000.nix { inherit pkgs; })
|
||||
(import ../../scripts/task-waybar.nix { inherit pkgs; })
|
||||
(import ../../scripts/squirtle.nix { inherit pkgs; })
|
||||
(import ../../scripts/nvidia-offload.nix { inherit pkgs; })
|
||||
(import ../../scripts/wallsetter.nix {
|
||||
inherit pkgs;
|
||||
inherit username;
|
||||
})
|
||||
(import ../../scripts/web-search.nix { inherit pkgs; })
|
||||
(import ../../scripts/rofi-launcher.nix { inherit pkgs; })
|
||||
(import ../../scripts/screenshootin.nix { inherit pkgs; })
|
||||
(import ../../scripts/list-hypr-bindings.nix {
|
||||
inherit pkgs;
|
||||
inherit host;
|
||||
})
|
||||
];
|
||||
|
||||
services = {
|
||||
hypridle = {
|
||||
enable = true;
|
||||
settings = {
|
||||
general = {
|
||||
after_sleep_cmd = "hyprctl dispatch dpms on";
|
||||
ignore_dbus_inhibit = false;
|
||||
lock_cmd = "hyprlock";
|
||||
};
|
||||
listener = [
|
||||
{
|
||||
timeout = 900;
|
||||
on-timeout = "hyprlock";
|
||||
}
|
||||
{
|
||||
timeout = 1200;
|
||||
on-timeout = "hyprctl dispatch dpms off";
|
||||
on-resume = "hyprctl dispatch dpms on";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
gh.enable = true;
|
||||
btop = {
|
||||
enable = true;
|
||||
settings = {
|
||||
vim_keys = true;
|
||||
};
|
||||
};
|
||||
kitty = {
|
||||
enable = true;
|
||||
package = pkgs.kitty;
|
||||
settings = {
|
||||
scrollback_lines = 2000;
|
||||
wheel_scroll_min_lines = 1;
|
||||
window_padding_width = 4;
|
||||
confirm_os_window_close = 0;
|
||||
};
|
||||
extraConfig = ''
|
||||
tab_bar_style fade
|
||||
tab_fade 1
|
||||
active_tab_font_style bold
|
||||
inactive_tab_font_style bold
|
||||
'';
|
||||
};
|
||||
starship = {
|
||||
enable = true;
|
||||
package = pkgs.starship;
|
||||
};
|
||||
bash = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
profileExtra = ''
|
||||
#if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" = 1 ]; then
|
||||
# exec Hyprland
|
||||
#fi
|
||||
'';
|
||||
initExtra = ''
|
||||
fastfetch
|
||||
if [ -f $HOME/.bashrc-personal ]; then
|
||||
source $HOME/.bashrc-personal
|
||||
fi
|
||||
'';
|
||||
shellAliases = {
|
||||
sv = "sudo nvim";
|
||||
fr = "nh os switch --hostname ${host} /home/${username}/zaneyos";
|
||||
fu = "nh os switch --hostname ${host} --update /home/${username}/zaneyos";
|
||||
zu = "sh <(curl -L https://gitlab.com/Zaney/zaneyos/-/raw/main/install-zaneyos.sh)";
|
||||
ncg = "nix-collect-garbage --delete-old && sudo nix-collect-garbage -d && sudo /run/current-system/bin/switch-to-configuration boot";
|
||||
v = "nvim";
|
||||
cat = "bat";
|
||||
ls = "eza --icons";
|
||||
ll = "eza -lh --icons --grid --group-directories-first";
|
||||
la = "eza -lah --icons --grid --group-directories-first";
|
||||
".." = "cd ..";
|
||||
};
|
||||
};
|
||||
home-manager.enable = true;
|
||||
hyprlock = {
|
||||
enable = true;
|
||||
settings = {
|
||||
general = {
|
||||
disable_loading_bar = true;
|
||||
grace = 10;
|
||||
hide_cursor = true;
|
||||
no_fade_in = false;
|
||||
};
|
||||
image = [
|
||||
{
|
||||
path = "/home/${username}/.config/face.jpg";
|
||||
size = 150;
|
||||
border_size = 4;
|
||||
border_color = "rgb(0C96F9)";
|
||||
rounding = -1; # Negative means circle
|
||||
position = "0, 200";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
username,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (import ./variables.nix) gitUsername;
|
||||
in
|
||||
{
|
||||
users.users = {
|
||||
"${username}" = {
|
||||
homeMode = "755";
|
||||
isNormalUser = true;
|
||||
description = "${gitUsername}";
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"libvirtd"
|
||||
"scanner"
|
||||
"lp"
|
||||
"docker"
|
||||
];
|
||||
shell = pkgs.bash;
|
||||
ignoreShellProgramCheck = true;
|
||||
packages = with pkgs; [
|
||||
];
|
||||
};
|
||||
# "newuser" = {
|
||||
# homeMode = "755";
|
||||
# isNormalUser = true;
|
||||
# description = "New user account";
|
||||
# extraGroups = [ "networkmanager" "wheel" "libvirtd" ];
|
||||
# shell = pkgs.bash;
|
||||
# ignoreShellProgramCheck = true;
|
||||
# packages = with pkgs; [];
|
||||
# };
|
||||
};
|
||||
}
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
{
|
||||
# Git Configuration ( For Pulling Software Repos )
|
||||
gitUsername = "Tyler Kelley";
|
||||
gitEmail = "tylerzanekelley@gmail.com";
|
||||
|
||||
# Hyprland Settings
|
||||
extraMonitorSettings = "";
|
||||
|
||||
# Waybar Settings
|
||||
clock24h = false;
|
||||
|
||||
# Program Options
|
||||
browser = "brave"; # Set Default Browser (google-chrome-stable for google-chrome)
|
||||
terminal = "kitty"; # Set Default System Terminal
|
||||
keyboardLayout = "us";
|
||||
consoleKeyMap = "us";
|
||||
}
|
||||
6
hosts/zaneyos-24-vm/default.nix
Normal file
6
hosts/zaneyos-24-vm/default.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
./hardware.nix
|
||||
./host-packages.nix
|
||||
];
|
||||
}
|
||||
47
hosts/zaneyos-24-vm/hardware.nix
Normal file
47
hosts/zaneyos-24-vm/hardware.nix
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
# 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 + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = ["kvm-intel"];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/e5fc1006-4d0b-41db-8c43-22b3cb8110c6";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/9287-3738";
|
||||
fsType = "vfat";
|
||||
options = ["fmask=0077" "dmask=0077"];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/nas" = {
|
||||
device = "192.168.40.11:/volume1/DiskStation54TB";
|
||||
fsType = "nfs";
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{device = "/dev/disk/by-uuid/a6e9dd8b-6767-44f4-84fa-30d02d90d087";}
|
||||
];
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.docker0.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.ens18.useDHCP = lib.mkDefault true;
|
||||
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue