From c231c72a934dcf93cae381dfce8580343867ca2e Mon Sep 17 00:00:00 2001 From: schererleander Date: Fri, 30 May 2025 02:52:33 +0200 Subject: add vps config --- hosts/vps/hardware-configuration.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 hosts/vps/hardware-configuration.nix (limited to 'hosts/vps/hardware-configuration.nix') diff --git a/hosts/vps/hardware-configuration.nix b/hosts/vps/hardware-configuration.nix new file mode 100644 index 0000000..68ab0a2 --- /dev/null +++ b/hosts/vps/hardware-configuration.nix @@ -0,0 +1,14 @@ +{ modulesPath, ... }: +{ + imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; + boot.loader.grub = { + efiSupport = true; + efiInstallAsRemovable = true; + device = "nodev"; + }; + fileSystems."/boot" = { device = "/dev/disk/by-uuid/4E07-7ABB"; fsType = "vfat"; }; + boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ]; + boot.initrd.kernelModules = [ "nvme" ]; + fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; }; + +} -- cgit v1.3.1