diff --git a/hosts/desktop/default.nix b/hosts/desktop/configuration.nix similarity index 100% rename from hosts/desktop/default.nix rename to hosts/desktop/configuration.nix diff --git a/hosts/laptop/default.nix b/hosts/laptop/configuration.nix similarity index 100% rename from hosts/laptop/default.nix rename to hosts/laptop/configuration.nix diff --git a/hosts/srv-core/default.nix b/hosts/srv-core/configuration.nix similarity index 100% rename from hosts/srv-core/default.nix rename to hosts/srv-core/configuration.nix diff --git a/hosts/srv-core/hardware.nix b/hosts/srv-core/hardware.nix index 888a405..51669b4 100644 --- a/hosts/srv-core/hardware.nix +++ b/hosts/srv-core/hardware.nix @@ -1,8 +1,15 @@ -_: { +{ inputs, ... }: +{ + imports = [ inputs.nixos-hardware.nixosModules.hardkernel-odroid-h4 ]; + nixpkgs.hostPlatform = "x86_64-linux"; boot = { - kernelModules = [ "kvm-intel" ]; + kernelModules = [ + "kvm-intel" + "k10temp" + "nct6775" + ]; initrd.availableKernelModules = [ "xhci_pci" "ahci" diff --git a/hosts/vps-ns/default.nix b/hosts/vps-ns/configuration.nix similarity index 100% rename from hosts/vps-ns/default.nix rename to hosts/vps-ns/configuration.nix diff --git a/hosts/vps-www/default.nix b/hosts/vps-www/configuration.nix similarity index 100% rename from hosts/vps-www/default.nix rename to hosts/vps-www/configuration.nix