From a8c42e5de8318431677464f0391ddca6236fbc89 Mon Sep 17 00:00:00 2001 From: Bit Borealis Date: Wed, 27 Mar 2024 15:13:09 -0400 Subject: [PATCH] add hardware-info for board --- flake.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flake.nix b/flake.nix index 0adb578..124c8dc 100644 --- a/flake.nix +++ b/flake.nix @@ -3,6 +3,7 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + inputs.nixos-hardware.url = "github:nixos/nixos-hardware"; nixos-generators = { url = "github:nix-community/nixos-generators"; @@ -39,6 +40,10 @@ disko.nixosModules.disko ]; + systems.hosts.magrathea.modules = with inputs; [ + nixos-hardware.nixosModules.starfive-visionfive-2 + ] + templates.shim.description = "/etc/nixos shim for geekygay nixconf"; src = ./.;