infrastructure/hosts/fsn1-1.mirror.lewd.wtf/hardware-configuration.nix

10 lines
382 B
Nix
Raw Normal View History

2023-04-12 12:47:22 +00:00
{ modulesPath, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
boot.initrd.kernelModules = [ "nvme" ];
fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; };
2023-05-06 06:55:37 +00:00
fileSystems."/mnt/cache" = { device = "/dev/disk/by-label/mirror_cache"; fsType = "ext4"; };
2023-04-12 12:47:22 +00:00
}