hosts/ni: update AMD hardware config

This commit is contained in:
Gabriel Arazas 2024-11-30 15:36:42 +08:00
parent 70a1fb8142
commit 66c9de5ab0
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
3 changed files with 22 additions and 0 deletions

View File

@ -33,6 +33,9 @@ in
../../modules/wrapper-manager/_private ../../modules/wrapper-manager/_private
]; ];
} }
inputs.nixos-hardware.nixosModules.common-cpu-amd-pstate
inputs.nixos-hardware.nixosModules.common-cpu-amd-raphael-igpu
]; ];
home-manager = { home-manager = {
branch = "home-manager-unstable"; branch = "home-manager-unstable";

16
flake.lock generated
View File

@ -819,6 +819,21 @@
"type": "github" "type": "github"
} }
}, },
"nixos-hardware": {
"locked": {
"lastModified": 1732483221,
"narHash": "sha256-kF6rDeCshoCgmQz+7uiuPdREVFuzhIorGOoPXMalL2U=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "45348ad6fb8ac0e8415f6e5e96efe47dd7f39405",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixos-hardware",
"type": "github"
}
},
"nixos-stable": { "nixos-stable": {
"locked": { "locked": {
"lastModified": 1731797254, "lastModified": 1731797254,
@ -1048,6 +1063,7 @@
"neovim-nightly-overlay": "neovim-nightly-overlay", "neovim-nightly-overlay": "neovim-nightly-overlay",
"nix-index-database": "nix-index-database", "nix-index-database": "nix-index-database",
"nixos-generators": "nixos-generators", "nixos-generators": "nixos-generators",
"nixos-hardware": "nixos-hardware",
"nixos-stable": "nixos-stable", "nixos-stable": "nixos-stable",
"nixos-unstable": "nixos-unstable", "nixos-unstable": "nixos-unstable",
"nixos-unstable-small": "nixos-unstable-small", "nixos-unstable-small": "nixos-unstable-small",

View File

@ -57,6 +57,9 @@
# This is what AUR strives to be. # This is what AUR strives to be.
nur.url = "github:nix-community/NUR"; nur.url = "github:nix-community/NUR";
# Configure those quirky hardware for you.
nixos-hardware.url = "github:NixOS/nixos-hardware";
# Generate your NixOS systems to various formats! # Generate your NixOS systems to various formats!
nixos-generators.url = "github:nix-community/nixos-generators"; nixos-generators.url = "github:nix-community/nixos-generators";
nixos-generators.inputs.nixpkgs.follows = "nixpkgs"; nixos-generators.inputs.nixpkgs.follows = "nixpkgs";