From a12774728b56b71e4b00912a2bb71ba5cd69d8a6 Mon Sep 17 00:00:00 2001 From: ene Date: Mon, 3 Apr 2023 08:47:10 +0200 Subject: Fix(host/tiamat): Update to new install --- hosts/tiamat/hardware/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'hosts/tiamat/hardware/default.nix') diff --git a/hosts/tiamat/hardware/default.nix b/hosts/tiamat/hardware/default.nix index bd7241b3..595c07c0 100644 --- a/hosts/tiamat/hardware/default.nix +++ b/hosts/tiamat/hardware/default.nix @@ -11,18 +11,22 @@ ./gpu.nix ]; - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + nixpkgs.hostPlatform = "x86_64-linux"; system.fileSystemLayouts = { enable = true; - mainDisk = "/dev/disk/by-uuid/"; - efiDisk = "/dev/disk/by-uuid/"; + mainDisk = "/dev/disk/by-uuid/4211a4ff-f2e9-41ed-83ca-712830fd0254"; + efiDisk = "/dev/disk/by-uuid/2BFA-8F0F"; + ssd = true; + swap = { + uuid = "4211a4ff-f2e9-41ed-83ca-712830fd0254"; + resumeOffset = "533760"; + }; }; boot = { kernelModules = ["kvm-amd"]; - # TODO check this: - initrd.availableKernelModules = ["xhci_pci" "nvme" "rtsx_pci_sdmmc"]; + initrd.availableKernelModules = ["ahci" "xhci_pci" "virtio_pci" "nvme" "sr_mod" "virtio_blk"]; }; } -- cgit 1.4.1