Commit Graph

456 Commits

Author SHA1 Message Date
kev
3d77080e71
docs: add host-custom-binary-cache-with-s3.md (#140)
* fix: correct a typo

* docs: add host-custom-binary-cache-with-s3.md

* docs(zh): add host-custom-binary-cache-with-s3.md

* feat(config.ts): enable routing

* patch: reordering

* fix: fix inconsistent typos

* fix: use nix run nixpkgs#pwgen as per suggestion

* fix: use MinIO as per suggestion

* feat: add background

* patch: rework nix-cache-info creation

* patch: clarify nix-cache-write.json usage

* fix: comment console output line as per suggestion

* fix: apply minior fixes

* fix: improve clarify as per suggestion

* feat: add prerequisites

* refactor: rework zh version

* fix: fix inconsistent quotations

* feat: add step to create aws-credentials

* style: add spaces between English and Chinese Characters

---------

Co-authored-by: kev <31861128+yqlbu@users.noreply.github.com>
Co-authored-by: Ryan Yin <xiaoyin_c@qq.com>
2024-04-07 21:32:48 +08:00
Ryan Yin
445abd38be chore: update content about nix cache servers 2024-04-07 20:44:51 +08:00
Tim Siegel
177871a1c7
introduction/index.md: fix word choice for clarity (#142)
A "slippery experience" is not a common phrase, and brings to mind something challenging, hard to grasp, or likely to lose control of at any moment. A "smooth experience" is a common phrase, meaning no rough edges, encountering no snags or friction or unexpected pitfalls.
2024-04-07 09:31:40 +08:00
Ryan Yin
d7fb878559 feat: download packages via a proxy 2024-03-27 23:25:16 +08:00
Ryan Yin
29f6473dad feat: migrate content about china's networking to nixos-cn 2024-03-26 23:37:41 +08:00
Mikko Lukas Räsänen
28616c8502
Fixed a single typo (#133)
Corrected "Cconclusion" to "Conclusion"
2024-03-24 00:42:32 +08:00
Ryan Yin
5410d170a3
refactor: divide nixos-with-flakes-enabled into several sections to make it easier to read and find (#132) 2024-03-22 18:49:04 +08:00
Ryan Yin
cb4941ee44
feat: one more section about flake's 'self' (#131) 2024-03-22 15:00:46 +08:00
Ryan Yin
ca15ac1cc8 feat: Flakes Tutorials - update links 2024-03-19 18:28:45 +08:00
Ryan Yin
98f99ae40d feat: Flakes Tutorials - update links 2024-03-19 18:23:09 +08:00
Sacabambaspis
490be22f0a
fix typo (#129) 2024-03-17 21:34:00 +08:00
Ryan Yin
d710962095
fix(Chinese): line breaks (#128) 2024-03-17 12:17:50 +08:00
kev
249fe0d6b2
fix: correct a typo (#127) 2024-03-17 12:17:03 +08:00
Ryan Yin
87a650439e
chore: automatically collapse all lines(max width = 100) (#126) 2024-03-16 19:29:05 +08:00
Ryan Yin
9e6982f10b
chore: format code via prettier (#125) 2024-03-16 18:07:01 +08:00
Ryan Yin
a9f4bb9233
fix: fix typos (#123) 2024-03-16 17:18:28 +08:00
Ryan Yin
487860b43a polish: features of this book 2024-03-16 17:13:57 +08:00
Ryan Yin
55d42d1e48
feat: add pre-commit-hooks for spell checking, markdown linting, etc. (#122) 2024-03-16 17:11:37 +08:00
Ryan Yin
46062cb884 feat: add links for testing 2024-03-16 15:33:35 +08:00
Ryan Yin
7b4545c3f6 feat: add link - flakes intro in nix.dev 2024-03-16 13:52:35 +08:00
Ryan Yin
c6075ef55f fix: links - packaging 101 2024-03-16 13:13:01 +08:00
Ryan Yin
62dd85f473 fix: the nix language 2024-03-16 13:09:13 +08:00
Ryan Yin
6d986d75c4 polish: use inherit 2024-03-16 12:56:21 +08:00
Ryan Yin
dfc73a8667 fix: borken link 2024-03-16 12:53:30 +08:00
Ryan Yin
0c21b86e9a fix: markup 2024-03-16 12:48:44 +08:00
Ryan Yin
ef9932531e feat: docs about cache servers 2024-03-16 12:44:49 +08:00
Ryan Yin
a15b7c738d feat: docs for _module.args 2024-03-16 12:39:05 +08:00
Ryan Yin
0091296234 fix: typo 2024-03-16 12:32:55 +08:00
Ryan Yin
e6c856af4a docs: features of this book - contains source links in each section 2024-03-16 12:32:09 +08:00
Ryan Yin
32b31a6485
feat: lazy evaluation (#121) 2024-03-16 12:19:54 +08:00
Ryan Yin
48a392d190 docs(Chinese): installation 2024-03-16 11:17:43 +08:00
Ryan Yin
010d232325
docs: cache mirror & proxy server - china (#120) 2024-03-16 11:13:06 +08:00
Ryan Yin
f96986b986
Merge pull request #119 from ryan4yin/remote-deployment-ssh-known-hosts
feat:  remote-deployment - about ssh known_hosts
2024-03-15 14:57:35 +08:00
Ryan Yin
1fbdfecf25 feat: remote-deployment - about ssh known_hosts 2024-03-15 14:40:10 +08:00
ThatOtherAndrew
ef1a217fdf
Fix ordered list numerals 2024-03-13 20:32:47 +00:00
silent7wang
42523fd5ca Fix typo 2024-03-11 16:33:51 +08:00
Thibault Molleman
bcaf59cae1
Mention mach-nix is unmaintainted (dev-environments.md) 2024-03-10 13:06:42 +01:00
Fabian Affolter
0abd69d904
Fix typo 2024-03-09 15:30:36 +01:00
Ryan Yin
87e071a8a5 fix: links 2024-03-08 22:10:08 +08:00
Ryan Yin
50548feb00 fix: license 2024-03-08 15:03:56 +08:00
Ryan Yin
8cf2d8594a feat: lib.optionals 2024-03-08 14:30:56 +08:00
Ryan Yin
95e7833e71 fix: optional imports 2024-03-08 14:28:05 +08:00
Ryan Yin
f3145b8143 fix: typo 2024-03-08 14:20:16 +08:00
Ryan Yin
cff6c24370 feat: debug 2024-03-08 14:12:01 +08:00
Ryan Yin
9326ad86ba fix: garbage collection 2024-03-08 14:02:25 +08:00
Ryan Yin
f2a424f2ae chore: style 2024-03-08 13:01:21 +08:00
Ryan Yin
0cfe8896d7 fix: wording 2024-03-08 11:40:19 +08:00
Ryan Yin
11bec60a29
Merge pull request #103 from ryan4yin/conditional-imports
feat: conditional imports
2024-03-08 11:34:32 +08:00
Ryan Yin
945e0bbb1e feat: conditional imports 2024-03-08 11:31:13 +08:00
Ryan Yin
be0143dcdb fix: add missing ripgrep to nix shell 2024-03-05 21:21:27 +08:00
dantefromhell
78a9323c85
Add missing ripgrep to nix shell 2024-03-05 12:57:53 +00:00
Ryan Yin
d674b6e8d7 fix: typo 2024-03-05 14:40:27 +08:00
Ryan Yin
9e9e34ff7f feat: Why some packages are installed 2024-03-05 14:36:14 +08:00
Ryan Yin
29104db102 feat: noggle.dev 2024-03-05 11:36:03 +08:00
Ryan Yin
652c174d7d fix(security): sudo password in remote deployment 2024-03-04 18:39:30 +08:00
Ryan Yin
df0a7055f1 fix: borken link 2024-03-03 13:49:54 +08:00
Ryan Yin
72ce40bcc2 feat(Chinese): nixos-cn 2024-03-03 13:46:51 +08:00
Ryan Yin
47b905a5c4 feat(Chinese): the nix language 2024-03-03 13:42:43 +08:00
Ryan Yin
6532ce678b fix: style 2024-03-02 22:54:27 +08:00
Ryan Yin
7404098ea1 feat: replace pkgs.foo with a package that is actually available 2024-03-02 22:18:14 +08:00
Ryan Yin
76427ef446 feat(Chinese): nix lang 2024-03-02 18:21:47 +08:00
Ryan Yin
46e951c134 fix(Chinese): broken link 2024-03-01 09:24:36 +08:00
Ryan Yin
c65db98b97 feat: nixos modules vs home manager 2024-02-29 13:28:36 +08:00
Ryan Yin
c76ee51c20 feat(Chinese): home manager 2024-02-29 13:01:16 +08:00
Ryan Yin
3043383965 feat: add giscus 2024-02-27 10:00:42 +08:00
Ryan Yin
c2eddcb097 feat: nix the language 2024-02-26 13:15:46 +08:00
Ryan Yin
c1f26cb9d1 feat: nix the language 2024-02-26 13:15:02 +08:00
Ryan Yin
a47fadd07a feat: nix the language 2024-02-26 12:21:27 +08:00
Ryan Yin
407b2af6e4 chore: polish 2024-02-26 12:15:08 +08:00
Ryan Yin
859e06e9e1 feat: add a tour of nix 2024-02-26 12:14:22 +08:00
David Chocholatý
234c4efcf1
fix: Update 'nix repl' commands to use '--file' when importing 'nixpkgs'
Nix already produces a warning that future versions will require using
 '--file' parameter to import files. This commit future-proofs the book
 for when the '--file' parameter is mandatory.
2024-02-25 18:34:34 +01:00
David Chocholatý
1bfd41c769
fix: Fix typos in Nix function names 2024-02-25 09:51:21 +01:00
Ryan Yin
796fe918fe fix: update examples 2024-02-25 15:44:41 +08:00
David Chocholatý
59e1ce4e1d
fix: Fix typo of setting the default priority to 100 instead of 1000 2024-02-25 08:37:56 +01:00
David Chocholatý
708accec5a
fix: Fix typo 2024-02-25 00:32:31 +01:00
David Chocholatý
21fde1977c
fix: Improve wording 2024-02-24 21:36:46 +01:00
Ryan Yin
8beb2b0b6f feat(Chinese): add video - 金枪鱼之夜:Nix - 从构建系统到配置管理 2024-02-22 00:37:09 +08:00
Ryan Yin
e671e45e86 feat: add Eelco Dolstra's thesis - The Purely Functional Software Deployment Model 2024-02-22 00:25:33 +08:00
Ryan Yin
55203b6485 feat: add Summer of Nix 2024-02-22 00:20:06 +08:00
Ryan Yin
a55827d7dc feat: nix-daemon's proxies 2024-02-17 13:24:00 +08:00
Ryan Yin
b77fa261a6 feat: add note for NIX_PATH & nix-channel 2024-02-17 12:53:24 +08:00
Ryan Yin
db717d9113 feat: nix-daemon's proxies 2024-02-17 03:35:46 +08:00
Ryan Yin
a1766125aa feat: set proxy for nix-daemon only 2024-02-16 10:25:11 +08:00
Ryan Yin
14226a2c29 feat: git lfs as a flake input 2024-02-15 21:16:55 +08:00
Tengku Izdihar
d72021d82e
Update inputs.md 2024-02-15 19:06:26 +07:00
Ryan Yin
17a3f49e30 feat: & 2024-02-15 16:28:24 +08:00
Ryan Yin
9abb024ae4 fix: style 2024-02-15 16:20:04 +08:00
Ryan Yin
fe6e315c9a fix: style 2024-02-15 16:16:19 +08:00
Ryan Yin
1feb088490 fix: style 2024-02-15 16:13:53 +08:00
Ryan Yin
e08ebaccbb fix: style 2024-02-15 16:10:05 +08:00
Ryan Yin
da12af9d53
Merge pull request #86 from ryan4yin/refactor-nixos-with-flakes-enabled
refactor: nixos with flakes enabled
2024-02-15 16:05:34 +08:00
Ryan Yin
fbb873da54 refactor: nixos-with-flakes-enabled 2024-02-15 16:02:29 +08:00
SeerLite
5b5cb4cde6 fix: typo in introduction-to-flakes
do -> does
2024-02-15 02:11:15 -03:00
Kourtni Marshall
e3c79adfb4 Fixes typo: substituers -> substituters 2024-02-14 20:58:26 +00:00
Ryan Yin
8c923eccbf fix: home-manager related stuff 2024-02-14 15:30:55 +08:00
sdelrio
9509a2ab47 fix: typo in modularize-the-configuration 2024-02-13 21:15:34 +01:00
Ryan Yin
1cca60c94c feat: NUR 2024-02-12 18:01:41 +08:00
Ryan Yin
1f15925652 fix: wrong overlay path 2024-02-12 17:48:19 +08:00
Ryan Yin
977dfcb8ae fix: wrong overlay path 2024-02-12 17:47:54 +08:00
Ryan Yin
63b050230c feat: overlays 2024-02-12 17:45:14 +08:00