refactor: move NixOS hardware configs from hardware/ to hosts/<host>/

This commit is contained in:
Felix Schröter 2025-06-06 16:53:06 +02:00
parent 5bc625a883
commit 7db7982b41
Signed by: felschr
GPG key ID: 671E39E6744C807D
3 changed files with 2 additions and 3 deletions

View file

@ -17,7 +17,7 @@
inputs.nixos-hardware.nixosModules.common-cpu-amd-pstate
inputs.nixos-hardware.nixosModules.common-gpu-amd
(self.lib.createSystemModule "home-pc" {
hardwareConfig = ../hardware/home-pc.nix;
hardwareConfig = ../hosts/home-pc/hardware.nix;
config = ../hosts/home-pc/default.nix;
})
self.lib.createMediaGroup
@ -57,7 +57,7 @@
inputs.nixos-hardware.nixosModules.common-gpu-intel-kaby-lake
inputs.matrix-appservices.nixosModule
(self.lib.createSystemModule "home-server" {
hardwareConfig = ../hardware/lattepanda.nix;
hardwareConfig = ../hosts/home-server/hardware.nix;
config = ../hosts/home-server/default.nix;
})
self.lib.createMediaGroup

View file

@ -22,6 +22,5 @@
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}