From 83ae50c31a73d17885baf38586c892124fc076c2 Mon Sep 17 00:00:00 2001 From: lassulus Date: Tue, 3 May 2022 22:55:35 +0200 Subject: ponte.r: init --- krebs/1systems/ponte/hw.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 krebs/1systems/ponte/hw.nix (limited to 'krebs/1systems/ponte/hw.nix') diff --git a/krebs/1systems/ponte/hw.nix b/krebs/1systems/ponte/hw.nix new file mode 100644 index 00000000..83b53748 --- /dev/null +++ b/krebs/1systems/ponte/hw.nix @@ -0,0 +1,13 @@ +{ modulesPath, ... }: +{ + imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; + boot.loader.grub = { + efiSupport = true; + efiInstallAsRemovable = true; + device = "nodev"; + copyKernels = false; + }; + fileSystems."/boot" = { device = "/dev/disk/by-uuid/628A-7F3B"; fsType = "vfat"; }; + boot.initrd.kernelModules = [ "nvme" ]; + fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; }; +} -- cgit v1.2.3 From 264827aac1123ba4dd87a309b0171d2114695ea6 Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 4 May 2022 13:30:59 +0200 Subject: ponte.r: put kernels/initrd on root platform --- krebs/1systems/ponte/hw.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'krebs/1systems/ponte/hw.nix') diff --git a/krebs/1systems/ponte/hw.nix b/krebs/1systems/ponte/hw.nix index 83b53748..78f7a603 100644 --- a/krebs/1systems/ponte/hw.nix +++ b/krebs/1systems/ponte/hw.nix @@ -1,13 +1,14 @@ { modulesPath, ... }: { imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; + boot.loader.efi.efiSysMountPoint = "/boot/EFI"; boot.loader.grub = { efiSupport = true; efiInstallAsRemovable = true; device = "nodev"; copyKernels = false; }; - fileSystems."/boot" = { device = "/dev/disk/by-uuid/628A-7F3B"; fsType = "vfat"; }; boot.initrd.kernelModules = [ "nvme" ]; fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; }; + fileSystems."/boot/EFI" = { device = "/dev/disk/by-uuid/628A-7F3B"; fsType = "vfat"; }; } -- cgit v1.2.3