!atvIbxHoEqNcAIxYpN:nixos.org

NixOS AWS

64 Members
15 Servers

Load older messages


SenderMessageTime
11 Nov 2024
@arianvp:matrix.orgArianI think it should be pretty simple for people to build an image that's UEFi only and with systemd-boot17:39:13
@arianvp:matrix.orgArianIt's just that quite a few instance types on AWS don't support UEFi at all 17:39:23
@arianvp:matrix.orgArianE.g. the T2 family. So we can't really use it for the public images17:39:37
@colemickens:matrix.orgcolemickensI didn't realize it was a hybrid image. Hybrid+grub makes sense to me, given those instance types.17:39:43
@arianvp:matrix.orgArianAs they won't boot on free tier instances. Which kinda sucks 17:39:47
@colemickens:matrix.orgcolemickensCompletely agree, yeah.17:39:58
@arianvp:matrix.orgArianUEFi only has benefit. Namely you can use TPM2 17:40:13
@arianvp:matrix.orgArianWhich is not available for hybrid images17:40:19
@arianvp:matrix.orgArianI want to get to a point where we can drop BIOS :( 17:41:29
@arianvp:matrix.orgArian* UEFi only has benefit. Namely you can use TPM2 and secure boot 17:41:43
@commiterate:matrix.orgcommiterateBasically we need to wait for EC2 to phase out a bunch of legacy instance types. I have no idea what that timeline is.17:42:01
@arianvp:matrix.orgArianI'm happy to make the cut as soon as they stop defaulting T2 as the default instance type17:42:24
@arianvp:matrix.orgArianTo be honest17:42:28
@kranzes:matrix.orgIlan Joselevich (Kranzes)I legit don't understand why the transition to UEFI is so slow17:42:45
@arianvp:matrix.orgArianI just want people to be able to use NixOS images with free tier17:42:49
@arianvp:matrix.orgArianProblem is Amazon has billions of dollars of hardware and they need to still extract money out of it :p17:43:06
@commiterate:matrix.orgcommiterateAWS isn't being slow here tbh. All of the new instance types over the past few years require UEFI.17:43:14
@arianvp:matrix.orgArianBefore they decommission it17:43:15
@commiterate:matrix.orgcommiterateIt's just that AWS keeps older instance generations around forever.17:43:27
@arianvp:matrix.orgArianAs soon as they replace T2 with t3 for free tier I'm fine with dropping bios support17:43:49
@commiterate:matrix.orgcommiterate * AWS isn't being slow here tbh. All of the new instance types over the past few years support (x86-64) or require (ARM64) UEFI.17:43:49
@commiterate:matrix.orgcommiterate Also if you want an optimally small NixOS AMI, you should probably be building your own images from scratch and making an AMI out of it with ImportSnapshot + RegisterImage instead of building a new generation on top of a base NixOS AMI (e.g. the official NixOS ones). 17:47:26
@commiterate:matrix.orgcommiterate Granted the image GC story right now isn't the nicest. I'm trying to get AWS to add a new AWS::EC2::Image Cfn resource to deal with that. 17:48:15
@arianvp:matrix.orgArianI am working on a script to enumerate and delete all deprecated images in an account17:48:39
@arianvp:matrix.orgArianThen I can just rely on the deprecation timestamp17:48:46
@arianvp:matrix.orgArianYeh I want to eventually have a template for nixos appliance images (with systemd-boot, systemd-stub, UKIs, measured boot, secure boot)17:49:23
@arianvp:matrix.orgArianBut still useful to have generic images17:49:56
@arianvp:matrix.orgArianFor people who just wanna SSM, or ssh for deploys17:50:05
@commiterate:matrix.orgcommiterateYup. Good for testing, mutable setups, and as a template/reference for others to follow.17:50:36
@arianvp:matrix.orgArianMy talk is live btw: https://youtu.be/Ee4JN3Fp17o?si=8pGzmDpGhVzN5qne17:50:44

Show newer messages


Back to Room ListRoom Version: 10