docs: flake input follows nixpkgs

This commit is contained in:
Malix - Alix Brunet 2026-06-01 11:49:49 +02:00
parent b28e08a81f
commit 485fe1c88d
No known key found for this signature in database
7 changed files with 33 additions and 7 deletions

View file

@ -11,7 +11,10 @@ To create an initial SD card image for installation:
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:nixos/nixos-hardware";
nixos-hardware = {
url = "github:nixos/nixos-hardware";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, nixos-hardware }: rec {
nixosConfigurations.m1 = nixpkgs.lib.nixosSystem {
@ -81,7 +84,10 @@ flake:
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:nixos/nixos-hardware";
nixos-hardware = {
url = "github:nixos/nixos-hardware";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { nixpkgs, nixos-hardware, ... }: {
nixosConfigurations.m1 = nixpkgs.lib.nixosSystem {