system: add hardware for cpu and gpu

This commit is contained in:
Dmitriy Pleshevskiy 2022-09-26 03:48:38 +03:00
parent a54b9ffdac
commit 3119953dcb
Signed by: pleshevskiy
GPG Key ID: 1B59187B161C0215
3 changed files with 20 additions and 0 deletions

View File

@ -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",

View File

@ -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";

View File

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