better visual seperation between flake/non-flake version
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user