diff options
author | David Morgan <djm_uk@protonmail.com> | 2024-09-03 15:26:06 +0000 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2024-09-03 15:26:06 +0000 |
commit | 95bc01f27764cfdfc6229ffe3d59517dea0c9e5b (patch) | |
tree | e0bace9349f10118e79023ec1c39dba259623f9c /nix-conf/machines/djmuk2/hardware-configuration.nix | |
parent | ce9c53858fab4ef08ba3e683f6c29cd86a7be10d (diff) | |
download | dotfiles-95bc01f27764cfdfc6229ffe3d59517dea0c9e5b.tar.gz |
Reformat with newer nixfmt
Diffstat (limited to 'nix-conf/machines/djmuk2/hardware-configuration.nix')
-rw-r--r-- | nix-conf/machines/djmuk2/hardware-configuration.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/nix-conf/machines/djmuk2/hardware-configuration.nix b/nix-conf/machines/djmuk2/hardware-configuration.nix index fbc8d57..5c421f9 100644 --- a/nix-conf/machines/djmuk2/hardware-configuration.nix +++ b/nix-conf/machines/djmuk2/hardware-configuration.nix @@ -1,4 +1,5 @@ -{ modulesPath, ... }: { +{ modulesPath, ... }: +{ imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; boot.loader.grub = { efiSupport = true; @@ -9,7 +10,11 @@ device = "/dev/disk/by-uuid/4875-017B"; fsType = "vfat"; }; - boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" ]; + boot.initrd.availableKernelModules = [ + "ata_piix" + "uhci_hcd" + "xen_blkfront" + ]; boot.initrd.kernelModules = [ "nvme" ]; fileSystems."/" = { device = "/dev/mapper/ocivolume-root"; |