{ inputs, ... }: { flake.machines.tharos = { nixos = { modulesPath, ... }: { imports = [ inputs.disko.nixosModules.default "${modulesPath}/profiles/qemu-guest.nix" ]; disko.devices.disk.main = { device = "/dev/vda"; type = "disk"; content = { type = "gpt"; partitions = { # Die KVM läuft auf SeaBIOS, daher muss es hier eine MBR-Partition sein boot = { size = "1M"; type = "EF02"; }; root = { size = "100%"; content = { type = "filesystem"; format = "ext4"; mountpoint = "/"; }; }; }; }; }; /* ANMERKUNG: Erhalten durch: nix run .#machines.infect-tharos -- --no-reboot --generate-hardware-config nixos-hardware-config */ boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_blk" ]; boot.kernelModules = [ "kvm-amd" ]; }; }; }