From 2327c2d03173c48a0796c73cd4e8e43755247872 Mon Sep 17 00:00:00 2001 From: coolneng Date: Fri, 5 Jan 2024 21:31:08 +0100 Subject: [PATCH] Import corresponding module from nixos-hardware --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 4fa1c86..ce15297 100644 --- a/flake.nix +++ b/flake.nix @@ -11,6 +11,7 @@ inputs = { nixpkgs.url = "nixpkgs/nixos-unstable"; + nixos-hardware.url = "github:NixOS/nixos-hardware"; agenix = { url = "github:ryantm/agenix"; inputs.nixpkgs.follows = "nixpkgs"; @@ -33,7 +34,8 @@ }; }; - outputs = { self, nixpkgs, agenix, nix-index-database, ... }@inputs: + outputs = + { self, nixpkgs, nixos-hardware, agenix, nix-index-database, ... }@inputs: let system = "x86_64-linux"; @@ -56,6 +58,7 @@ inherit system; modules = [ (import ./configuration.nix) + nixos-hardware.nixosModules.lenovo-thinkpad-e14-amd agenix.nixosModules.age nix-index-database.nixosModules.nix-index ];