{ modulesPath, ... }: { imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ]; boot.kernelModules = [ "kvm-intel" ]; fileSystems."/" = { device = "/dev/disk/by-label/nixos"; fsType = "ext4"; }; fileSystems."/var/lib" = { device = "/dev/disk/by-label/varlib"; fsType = "ext4"; }; fileSystems."/mnt/data" = { device = "/dev/disk/by-uuid/1147e812-b85d-4690-bbb1-d8ba5c398798"; fsType = "ext4"; }; fileSystems."/mnt/archive" = { device = "//u203375.your-storagebox.de/backup/media_archive"; fsType = "cifs"; options = [ "seal,iocharset=utf8,credentials=/root/.smbcredentials,uid=0,gid=993,file_mode=0775,dir_mode=0775,cache=loose" ]; }; # Common mounts fileSystems."/sftp_jail/common/media" = { device = "/mnt/data/media"; options = [ "bind,ro" ]; }; services.qemuGuest.enable = true; }