From fcc95ff8172cc68a0d2d52aa1e8ef2120d2904ec Mon Sep 17 00:00:00 2001 From: Janne Heß Date: Wed, 27 Mar 2024 19:10:27 +0100 Subject: treewide: Fix all Nix ASTs in all markdown files This allows for correct highlighting and maybe future automatic formatting. The AST was verified to work with nixfmt only. --- nixos/doc/manual/development/etc-overlay.section.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'nixos/doc/manual/development/etc-overlay.section.md') diff --git a/nixos/doc/manual/development/etc-overlay.section.md b/nixos/doc/manual/development/etc-overlay.section.md index e6f6d8d4ca1ef..d8588f508a26c 100644 --- a/nixos/doc/manual/development/etc-overlay.section.md +++ b/nixos/doc/manual/development/etc-overlay.section.md @@ -9,7 +9,9 @@ Instead of using a custom perl script to activate `/etc`, you activate it via an overlay filesystem: ```nix -system.etc.overlay.enable = true; +{ + system.etc.overlay.enable = true; +} ``` Using an overlay has two benefits: @@ -22,7 +24,9 @@ upper layer). However, you can also mount `/etc` immutably (i.e. read-only) by setting: ```nix -system.etc.overlay.mutable = false; +{ + system.etc.overlay.mutable = false; +} ``` The overlay is atomically replaced during system switch. However, files that -- cgit 1.4.1