From ac0ab13688225fc17246ca0fc86c00c02f04105e Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 8 Dec 2024 15:50:27 -0800 Subject: move the configuration for hetzner under machines --- nix/hosts/nixos/vm/hardware.nix | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 nix/hosts/nixos/vm/hardware.nix (limited to 'nix/hosts/nixos/vm/hardware.nix') diff --git a/nix/hosts/nixos/vm/hardware.nix b/nix/hosts/nixos/vm/hardware.nix deleted file mode 100644 index 89c3d8b..0000000 --- a/nix/hosts/nixos/vm/hardware.nix +++ /dev/null @@ -1,14 +0,0 @@ -{ modulesPath, ... }: -{ - imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; - boot.loader.grub = { - efiSupport = true; - efiInstallAsRemovable = true; - device = "nodev"; - }; - fileSystems."/boot" = { device = "/dev/disk/by-uuid/E783-E9AE"; fsType = "vfat"; }; - boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" ]; - boot.initrd.kernelModules = [ "nvme" ]; - fileSystems."/" = { device = "/dev/vda2"; fsType = "ext4"; }; - swapDevices = [{ device = "/dev/vda3"; }]; -} -- cgit 1.4.1