diff --git a/systems/gateway/hardware.nix b/systems/gateway/hardware.nix index 507f77b..1b914e6 100644 --- a/systems/gateway/hardware.nix +++ b/systems/gateway/hardware.nix @@ -1,14 +1,14 @@ { config, lib, pkgs, modulesPath, ... }: { + imports = [ (modulesPath + "/profiles/qemu-guest.nix" ) ]; + boot.kernelPackages = pkgs.linuxPackages_latest; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; boot.loader.systemd-boot.enable = lib.mkForce false; - boot.loader.efi.canTouchEfiVariables = lib.mkForce false; boot.loader.grub = { enable = true; device = "/dev/sda"; efiSupport = true; - efiInstallAsRemovable = true;# CRITICAL: This overwrites /boot/EFI/BOOT/BOOTX64.EFI }; boot.initrd.availableKernelModules = @@ -16,11 +16,11 @@ boot.initrd.kernelModules = [ "nvme" ]; fileSystems."/" = { - device = "/dev/sda3"; + device = "/dev/disk/by-uuid/25df457a-21d0-41ab-9de5-88ffc00e3469"; fsType = "btrfs"; }; fileSystems."/boot" = { - device = "/dev/sda2"; + device = "/dev/disk/by-uuid/F24E-74FA"; fsType = "vfat"; options = [ "defaults" ]; };