diff --git a/flake.lock b/flake.lock index 9fc8df5..7c02756 100644 --- a/flake.lock +++ b/flake.lock @@ -141,6 +141,22 @@ "type": "github" } }, + "hardware": { + "locked": { + "lastModified": 1663229557, + "narHash": "sha256-1uU4nsDLXKG0AHc/VCsNBAEPkTA/07juYhcEWRb1O1E=", + "owner": "NixOS", + "repo": "nixos-hardware", + "rev": "a0df6cd6e199df4a78c833c273781ea92fa62cfb", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "master", + "repo": "nixos-hardware", + "type": "github" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -450,6 +466,7 @@ "root": { "inputs": { "dedsec-grub-theme": "dedsec-grub-theme", + "hardware": "hardware", "home-manager": "home-manager", "myneovim": "myneovim", "nil": "nil", diff --git a/flake.nix b/flake.nix index b687adb..5b5743b 100644 --- a/flake.nix +++ b/flake.nix @@ -2,6 +2,8 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + hardware.url = "github:NixOS/nixos-hardware/master"; + home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/outputs/system.nix b/outputs/system.nix index 24253c7..bb219ed 100644 --- a/outputs/system.nix +++ b/outputs/system.nix @@ -13,6 +13,7 @@ with inputs; system-asus-gl553vd = nixpkgs.lib.nixosSystem { inherit system; modules = [ + hardware.nixosModules.common-cpu-intel ../system/configuration.nix ../system/machine/asus_gl553vd ];