Import corresponding module from nixos-hardware

This commit is contained in:
coolneng 2024-01-05 21:31:08 +01:00
parent 5e0b44d6ff
commit 2327c2d031
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 4 additions and 1 deletions

View File

@ -11,6 +11,7 @@
inputs = { inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable"; nixpkgs.url = "nixpkgs/nixos-unstable";
nixos-hardware.url = "github:NixOS/nixos-hardware";
agenix = { agenix = {
url = "github:ryantm/agenix"; url = "github:ryantm/agenix";
inputs.nixpkgs.follows = "nixpkgs"; 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 let
system = "x86_64-linux"; system = "x86_64-linux";
@ -56,6 +58,7 @@
inherit system; inherit system;
modules = [ modules = [
(import ./configuration.nix) (import ./configuration.nix)
nixos-hardware.nixosModules.lenovo-thinkpad-e14-amd
agenix.nixosModules.age agenix.nixosModules.age
nix-index-database.nixosModules.nix-index nix-index-database.nixosModules.nix-index
]; ];