nixos/hardware/vm/hardware-configuration.nix

33 lines
735 B
Nix
Raw Normal View History

2021-11-16 20:57:04 +01:00
# 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, ... }:
{
2021-11-23 20:57:23 +01:00
boot.initrd.availableKernelModules = [
"ata_piix"
"ohci_pci"
"sd_mod"
"sr_mod"
];
2021-11-16 20:57:04 +01:00
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
2021-11-23 20:57:23 +01:00
fileSystems."/" = {
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
};
2021-11-16 20:57:04 +01:00
2021-11-23 20:57:23 +01:00
fileSystems."/boot" = {
device = "/dev/disk/by-label/BOOT";
fsType = "vfat";
};
2021-11-16 20:57:04 +01:00
2021-11-23 20:57:23 +01:00
swapDevices = [
{ device = "/dev/disk/by-label/swap"; }
];
2021-11-16 20:57:04 +01:00
virtualisation.virtualbox.guest.enable = true;
}