summaryrefslogblamecommitdiff
path: root/os/fscusat/hardware-configuration.nix
blob: 8bb54ed6c3d48cc573a1264a446c54d1bb2e6154 (plain) (tree)
1
2
3
4
5




                                                           














                                      











                                                                        
{ modulesPath, ... }:

{
  imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];

  boot = {
    loader = {
      systemd-boot.enable = true;
      efi.canTouchEfiVariables = true;
    };

    initrd.availableKernelModules = [
      "ata_piix"
      "uhci_hcd"
      "virtio_pci"
      "virtio_scsi"
      "sd_mod"
      "sr_mod"
    ];
  };

  fileSystems = {
    "/" = {
      device = "/dev/disk/by-uuid/547074b4-4d61-4968-a94f-4f97e1fa2c3c";
      fsType = "ext4";
    };
    "/boot" = {
      device = "/dev/disk/by-uuid/C634-FE6A";
      fsType = "vfat";
    };
  };
}