aboutsummaryrefslogtreecommitdiff
path: root/nix/machines/vm-aarch64/hardware.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/machines/vm-aarch64/hardware.nix')
-rw-r--r--nix/machines/vm-aarch64/hardware.nix13
1 files changed, 10 insertions, 3 deletions
diff --git a/nix/machines/vm-aarch64/hardware.nix b/nix/machines/vm-aarch64/hardware.nix
index 084cc74..67dc249 100644
--- a/nix/machines/vm-aarch64/hardware.nix
+++ b/nix/machines/vm-aarch64/hardware.nix
@@ -1,10 +1,14 @@
# 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.
-{ lib, modulesPath, ... }: {
+{ lib, modulesPath, ... }:
+{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
- boot.initrd.availableKernelModules = [ "xhci_pci" "sr_mod" ];
+ boot.initrd.availableKernelModules = [
+ "xhci_pci"
+ "sr_mod"
+ ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
@@ -17,7 +21,10 @@
fileSystems."/boot" = {
device = "/dev/disk/by-label/boot";
fsType = "vfat";
- options = [ "fmask=0022" "dmask=0022" ];
+ options = [
+ "fmask=0022"
+ "dmask=0022"
+ ];
};
swapDevices = [ ];