diff --git a/vm-hardware.nix b/vm-hardware.nix index 7499d00..7593a8b 100644 --- a/vm-hardware.nix +++ b/vm-hardware.nix @@ -1,27 +1,40 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: +{ + config, + lib, + pkgs, + modulesPath, + ... +}: { - imports = - [ (modulesPath + "/profiles/qemu-guest.nix") - ]; + imports = [ + (modulesPath + "/profiles/qemu-guest.nix") + ]; - boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ]; + boot.initrd.availableKernelModules = [ + "ata_piix" + "uhci_hcd" + "virtio_pci" + "virtio_scsi" + "sd_mod" + "sr_mod" + ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; - fileSystems."/" = - { device = "/dev/disk/by-uuid/1095480f-fcbc-4b0f-be6d-61380032cfed"; - fsType = "ext4"; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/1095480f-fcbc-4b0f-be6d-61380032cfed"; + fsType = "ext4"; + }; - fileSystems."/srv/media" = - { device = "/dev/sdb1"; - fsType = "ext4"; - }; + fileSystems."/srv/media" = { + device = "/dev/sda1"; + fsType = "ext4"; + }; swapDevices = [ ];