better visual seperation between flake/non-flake version

This commit is contained in:
Jörg Thalheim
2024-07-29 16:17:38 +02:00
committed by Mic92
parent 65c03ecf96
commit c037ec2eeb

View File

@@ -37,8 +37,9 @@ Still in its early stages, [NixOS Facter] is intended to do what I've described
A user can generate a JSON-based hardware report using a (eventually static) Go program: `nixos-facter -o facter.json`. From there, they can include this report in their NixOS config and make use of our [NixOS modules](https://github.com/numtide/nixos-facter-modules) as follows:
=== "**flake.nix**"
```nix
# flake.nix
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
@@ -58,7 +59,11 @@ A user can generate a JSON-based hardware report using a (eventually static) Go
};
};
}
```
=== "**without flakes**"
```nix
# configuration.nix
{
imports = [