From 8eb0bd9d2c2e39e5f07226d1a8e226514acd9c78 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 13 Nov 2023 17:31:53 +0530 Subject: hosts/mox: init --- hosts/mox/hardware-configuration.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 hosts/mox/hardware-configuration.nix (limited to 'hosts/mox/hardware-configuration.nix') diff --git a/hosts/mox/hardware-configuration.nix b/hosts/mox/hardware-configuration.nix new file mode 100644 index 0000000..3913e1e --- /dev/null +++ b/hosts/mox/hardware-configuration.nix @@ -0,0 +1,25 @@ +{ modulesPath, ... }: + +{ + imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; + + boot.initrd.availableKernelModules = [ + "ata_piix" + "uhci_hcd" + "virtio_pci" + "virtio_scsi" + "sd_mod" + "sr_mod" + ]; + + fileSystems = { + "/" = { + device = "/dev/disk/by-uuid/547074b4-4d61-4968-a94f-4f97e1fa2c3c"; + fsType = "ext4"; + }; + "/boot" = { + device = "/dev/disk/by-uuid/C634-FE6A"; + fsType = "vfat"; + }; + }; +} -- cgit v1.2.3