feat: highlight code blocks

This commit is contained in:
Ryan Yin 2023-07-08 13:34:48 +08:00
parent faa3709a24
commit ec66f696c7
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ Flakes provide improved reproducibility and a more organized package structure,
However, as Flakes is still an experimental feature, it is not enabled by default. To enable Flakes, you need to modify the `/etc/nixos/configuration.nix` file as follows:
```nix{15}
```nix{15,18-19}
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running 'nixos-help').

View File

@ -6,7 +6,7 @@
但是目前 Nix Flakes 作为一个实验性的功能,仍未被默认启用。所以我们需要手动启用它,修改 `/etc/nixos/configuration.nix` 文件,在函数块中启用 flakes 与 nix-command 功能:
```nix{15}
```nix{15,18-19}
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).