system: add hardware for cpu and gpu
This commit is contained in:
parent
a54b9ffdac
commit
3119953dcb
3 changed files with 20 additions and 0 deletions
17
flake.lock
17
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",
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue