feat: add nixos-hardware input

This commit is contained in:
Alexandre Cavalheiro 2024-01-20 11:26:46 -03:00
parent e122b770ab
commit 3aa13e0451
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
2 changed files with 27 additions and 1 deletions

View file

@ -138,6 +138,22 @@
"type": "github" "type": "github"
} }
}, },
"hardware": {
"locked": {
"lastModified": 1705312285,
"narHash": "sha256-rd+dY+v61Y8w3u9bukO/hB55Xl4wXv4/yC8rCGVnK5U=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "bee2202bec57e521e3bd8acd526884b9767d7fa0",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "master",
"repo": "nixos-hardware",
"type": "github"
}
},
"headlines-nvim": { "headlines-nvim": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -446,6 +462,7 @@
"root": { "root": {
"inputs": { "inputs": {
"custom-neovim": "custom-neovim", "custom-neovim": "custom-neovim",
"hardware": "hardware",
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"hyprland": "hyprland", "hyprland": "hyprland",
"hyprland-hyprfocus": "hyprland-hyprfocus", "hyprland-hyprfocus": "hyprland-hyprfocus",

View file

@ -4,6 +4,8 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
hardware.url = "github:NixOS/nixos-hardware/master";
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -25,9 +27,10 @@
outputs = outputs =
{ self { self
, nixpkgs , hardware
, home-manager , home-manager
, hyprland , hyprland
, nixpkgs
, ... , ...
}@inputs: { }@inputs: {
nixosConfigurations.nixos = nixosConfigurations.nixos =
@ -36,6 +39,12 @@
modules = [ modules = [
./nixos.nix ./nixos.nix
hardware.nixosModules.common-cpu-amd
hardware.nixosModules.common-gpu-amd
hardware.nixosModules.common-pc
hardware.nixosModules.common-pc-hdd
hardware.nixosModules.common-pc-ssd
hyprland.nixosModules.default hyprland.nixosModules.default
{ {
programs.hyprland.enable = true; programs.hyprland.enable = true;