From b0e730ec1fc8e3392c1916ddf240a5bb3aa59153 Mon Sep 17 00:00:00 2001 From: PyJaC++ Date: Fri, 30 Oct 2026 21:18:49 +0100 Subject: [PATCH] perseverance: hardware config --- .../perseverance/hardware-configuration.nix | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 hosts/vm/perseverance/hardware-configuration.nix diff --git a/hosts/vm/perseverance/hardware-configuration.nix b/hosts/vm/perseverance/hardware-configuration.nix new file mode 100644 index 0000000..9f2e03d --- /dev/null +++ b/hosts/vm/perseverance/hardware-configuration.nix @@ -0,0 +1,24 @@ +# 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, ... }: + +{ + imports = + [ (modulesPath + "/profiles/qemu-guest.nix") + ]; + + boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/fe0a088d-9ac2-45a0-ae69-6752c04edac3"; + fsType = "ext4"; + }; + + swapDevices = [ ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; +}