feat: add nixos-hardware input
This commit is contained in:
parent
e122b770ab
commit
3aa13e0451
2 changed files with 27 additions and 1 deletions
11
flake.nix
11
flake.nix
|
@ -4,6 +4,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";
|
||||
|
@ -25,9 +27,10 @@
|
|||
|
||||
outputs =
|
||||
{ self
|
||||
, nixpkgs
|
||||
, hardware
|
||||
, home-manager
|
||||
, hyprland
|
||||
, nixpkgs
|
||||
, ...
|
||||
}@inputs: {
|
||||
nixosConfigurations.nixos =
|
||||
|
@ -36,6 +39,12 @@
|
|||
modules = [
|
||||
./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
|
||||
{
|
||||
programs.hyprland.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue