mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-04 06:53:30 +01:00
docs: flake input fallback to default branch
This commit is contained in:
2 files changed
+3
-3
No files matched your search
@@ -32,7 +32,7 @@ the following:
|
|||||||
```nix
|
```nix
|
||||||
{
|
{
|
||||||
description = "NixOS configuration with flakes";
|
description = "NixOS configuration with flakes";
|
||||||
inputs.nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
inputs.nixos-hardware.url = "github:NixOS/nixos-hardware";
|
||||||
|
|
||||||
outputs = { self, nixpkgs, nixos-hardware }: {
|
outputs = { self, nixpkgs, nixos-hardware }: {
|
||||||
# replace <your-hostname> with your actual hostname
|
# replace <your-hostname> with your actual hostname
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ To create an initial SD card image for installation:
|
|||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
nixos-hardware.url = "github:nixos/nixos-hardware/master";
|
nixos-hardware.url = "github:nixos/nixos-hardware";
|
||||||
};
|
};
|
||||||
outputs = { self, nixpkgs, nixos-hardware }: rec {
|
outputs = { self, nixpkgs, nixos-hardware }: rec {
|
||||||
nixosConfigurations.m1 = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.m1 = nixpkgs.lib.nixosSystem {
|
||||||
@@ -81,7 +81,7 @@ flake:
|
|||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
nixos-hardware.url = "github:nixos/nixos-hardware/master";
|
nixos-hardware.url = "github:nixos/nixos-hardware";
|
||||||
};
|
};
|
||||||
outputs = { nixpkgs, nixos-hardware, ... }: {
|
outputs = { nixpkgs, nixos-hardware, ... }: {
|
||||||
nixosConfigurations.m1 = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.m1 = nixpkgs.lib.nixosSystem {
|
||||||
|
|||||||
Reference in new issue
Block a user