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 ];