diff options
author | Janne Heß <janne@hess.ooo> | 2024-03-27 17:33:27 +0100 |
---|---|---|
committer | Valentin Gagarin <valentin.gagarin@tweag.io> | 2024-03-28 09:28:12 +0100 |
commit | bc77c7a9730833c7668c92288c6af950e7270cb5 (patch) | |
tree | 63a416edaa93c9899044ca886aaf6976474946ed /doc/packages | |
parent | 3a1b8df5dcf930de90b45694dd3ee5d142344123 (diff) |
treewide: Mark Nix blocks in markdown as Nix
This should help us with highlighting and future formatting.
Diffstat (limited to 'doc/packages')
-rw-r--r-- | doc/packages/darwin-builder.section.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/packages/darwin-builder.section.md b/doc/packages/darwin-builder.section.md index 3a547de53705..7225e630d5cc 100644 --- a/doc/packages/darwin-builder.section.md +++ b/doc/packages/darwin-builder.section.md @@ -81,7 +81,7 @@ $ sudo launchctl kickstart -k system/org.nixos.nix-daemon ## Example flake usage {#sec-darwin-builder-example-flake} -``` +```nix { inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-22.11-darwin"; @@ -153,7 +153,7 @@ you may use it to build a modified remote builder with additional storage or mem To do this, you just need to set the `virtualisation.darwin-builder.*` parameters as in the example below and rebuild. -``` +```nix darwin-builder = nixpkgs.lib.nixosSystem { system = linuxSystem; modules = [ |