diff --git a/hosts/nixos/vps/hardware-configuration.nix b/hosts/nixos/vps/hardware-configuration.nix index ecf2974..3b24ed5 100644 --- a/hosts/nixos/vps/hardware-configuration.nix +++ b/hosts/nixos/vps/hardware-configuration.nix @@ -1,12 +1,8 @@ -# Hardware configuration for VPS -# This is a generic configuration suitable for most VPS providers - -{ config, lib, pkgs, modulesPath, ... }: +{ lib, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; - # Boot configuration - common kernel modules for VPS environments boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" @@ -23,20 +19,7 @@ boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; - # Filesystems are managed by disko configuration - # No filesystem declarations needed here - - # No swap devices configured here - handled by disko - - # Networking hardware networking.useDHCP = lib.mkDefault true; - - # Hardware-specific settings nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - - # CPU microcode updates - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; - - # Enable firmware updates hardware.enableRedistributableFirmware = lib.mkDefault true; -} \ No newline at end of file +}