mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-07-01 02:36:52 +00:00
Merge pull request #2812 from toastal/nix-docs-flake-follows-input
docs: add more depth to Flake input
This commit is contained in:
@@ -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