Add nixos-hardware

This commit is contained in:
Johannes Jöns 2023-05-19 21:08:33 +02:00
parent 2a24576e68
commit 8bb62997b3

View file

@ -9,9 +9,10 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
prismlauncher = { prismlauncher = {
url = "github:PrismLauncher/PrismLauncher"; url = github:PrismLauncher/PrismLauncher;
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nixos-hardware.url = github:NixOS/nixos-hardware;
}; };
outputs = inputs@{ outputs = inputs@{
@ -20,6 +21,7 @@
home-manager, home-manager,
prismlauncher, prismlauncher,
nur, nur,
nixos-hardware,
... ...
}: { }: {
nixosConfigurations.kami = nixpkgs.lib.nixosSystem { nixosConfigurations.kami = nixpkgs.lib.nixosSystem {
@ -36,6 +38,12 @@
./modules/ssh ./modules/ssh
./modules/steam ./modules/steam
./modules/users/jopejoe1 ./modules/users/jopejoe1
nixos-hardware.nixosModules.common-cpu-intel
nixos-hardware.nixosModules.common-gpu-intel
nixos-hardware.nixosModules.common-gpu-nvidia
nixos-hardware.nixosModules.common-pc
nixos-hardware.nixosModules.common-hidpi
nixos-hardware.nixosModules.common-pc-ssd
{ {
nixpkgs = { nixpkgs = {
config.allowUnfree = true; config.allowUnfree = true;