• Stars
    star
    1,248
  • Rank 36,164 (Top 0.8 %)
  • Language
    Nix
  • License
    MIT License
  • Created 11 months ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🛠️ ❤️ Want to know NixOS & Flakes in detail? Looking for a beginner-friendly tutorial? Then you've come to the right place! 想要学习使用 NixOS 与 Flakes 吗?在寻找一份新手友好的教程?那你可来对地方了!

NixOS & Flakes Book 🛠️ ❤️

Want to know NixOS & Flakes in detail? Looking for a beginner-friendly tutorial? Then you've come to the right place!

An unofficial and opinionated NixOS & Flakes 📖 for beginners: https://nixos-and-flakes.thiscute.world/

中文版: https://nixos-and-flakes.thiscute.world/zh/

If you're using macOS, ryan4yin/nix-darwin-kickstarter may be a good starting point for you, you can learn how to use Nix with this book and take nix-darwin-kickstarter as a start point to build your own Nix configuration.

Feedback and Discussion

Want to discuss the content of this book? Have any questions? Please feel free to open an issue or join the discussion on GitHub Discussions.

Introduction to Flakes

The flakes experimental feature is a major development for Nix, it introduces a policy for managing dependencies between Nix expressions, it improves reproducibility, composability and usability in the Nix ecosystem. Although it's still an experimental feature, flakes have been widely used by the Nix community.1

Flakes is one of the most significant changes the nix project has ever seen.2

A Word of Caution about Flakes

The benefits of Flakes are evident, and the entire NixOS community has embraced it wholeheartedly. Currently, more than half of the users utilize Flakes3, providing assurance that Flakes will not be deprecated.

⚠️ However, it's important to note that Flakes is still an experimental feature. Some issues persist, and there is a possibility of introducing breaking changes during the stabilization process. The extent of these breaking changes remains uncertain.

Overall, I strongly recommend everyone to use Flakes, especially since this book revolves around NixOS and Flakes. However, it's crucial to be prepared for potential problems that may arise due to forthcoming breaking changes.

Contribution

A real community, however, exists only when its members interact in a meaningful way that deepens their understanding of each other and leads to learning.

If you find something which doesn't make sense, or something doesn't seem right, please make a pull request and please add valid and well-reasoned explanations about your changes or comments.

Before adding a pull request, please see the contributing guidelines.

Thank you to all the people who already contributed to this project!

References

License

MIT

Footnotes

  1. Flakes - NixOS Wiki

  2. Flakes are such an obviously good thing

  3. Draft: 1 year roadmap - NixOS Foundation

More Repositories

1

nix-config

❄️ my nix config for both desktops(NixOS+macOS) and homelab servers(NixOS).
Nix
424
star
2

knowledge

(Chinese Only)Everything I know: DevOps & CloudNative, Linux, Embedded, Homelab, Music, Blockchain, AI, etc...
Jupyter Notebook
382
star
3

nix-darwin-kickstarter

macOS as Code! A beginner-friendly nix-darwin + home-manager + flakes startup configuration. 一份易于理解的 nix-darwin 初始配置模板,专为新手制作.
Nix
211
star
4

video2chars

Convert video to ascii art animation.
Python
196
star
5

nixos-rk3588

Minimal NixOS running on RK3588/RK3588s based SBC(Orange Pi 5 Plus, Orange Pi 5, Rock 5A)
Nix
71
star
6

nixos-licheepi4a

NixOS Running on LicheePi 4A(RISC-V)
Nix
26
star
7

pulumi-proxmox

A Pulumi Provider which adds support for Proxmox solutions.
Go
24
star
8

wallpapers

My Wallpapers
Nushell
22
star
9

thiscute.world

Ryan4Yin's Space
HTML
15
star
10

guitar-synthesizer

使用 Python/Julia/Matlab 合成吉他音色
Python
6
star
11

pulumi-libvirt

A Pulumi provider that lets you provision servers on a libvirt host via pulumi.
Go
5
star
12

learn-stm32f103c8t6

C
5
star
13

video2ascii-rs

yet another video2chars in rust
Rust
5
star
14

learn-8051-asm

学习玩耍 8051 汇编
Assembly
4
star
15

waline-comments-backup

comments backup for thiscute.world
Python
2
star
16

video2ascii-c

yet another video2ascii written in c
C
1
star
17

Video2ASCII.jl

convert video to ascii art animation
Julia
1
star
18

uptime.ryan4yin.space

Uptime Monitor and Status Page for Ryan4yin's Websites
1
star
19

learn-container

Learn Linux Container
Rust
1
star
20

nur-packages

Ryan Yin's Nix User Repository
Nix
1
star