mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-10-04 06:11:13 +01:00
Merge pull request #2812 from toastal/nix-docs-flake-follows-input
docs: add more depth to Flake input
This commit is contained in:
+8
-1
@@ -386,7 +386,14 @@ like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = "github:StevenBlack/hosts";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
|
||||
hosts = {
|
||||
url = "github:StevenBlack/hosts"; # or a fork/mirror
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
|
||||
Reference in New Issue
Block a user