summaryrefslogtreecommitdiff
path: root/hosts/fscusat/hardware-configuration.nix
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-01-09 11:50:12 +0530
committersinanmohd <sinan@sinanmohd.com>2024-01-09 11:50:12 +0530
commit9cc1ae1d48b23ec8211d3875e61ce5d1ea5e9f6c (patch)
treeedf9a156113a1c6add0954c60ab9818f8f2b03db /hosts/fscusat/hardware-configuration.nix
parent1a8b7a406ab6d03730e2e0ac42691b02d55bef58 (diff)
hosts: mox -> fscusat
Diffstat (limited to 'hosts/fscusat/hardware-configuration.nix')
-rw-r--r--hosts/fscusat/hardware-configuration.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/hosts/fscusat/hardware-configuration.nix b/hosts/fscusat/hardware-configuration.nix
new file mode 100644
index 0000000..3913e1e
--- /dev/null
+++ b/hosts/fscusat/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";
+ };
+ };
+}