!atvIbxHoEqNcAIxYpN:nixos.org

NixOS AWS

69 Members
17 Servers

Load older messages


SenderMessageTime
28 Feb 2025
@commiterate:matrix.orgcommiterateOnce both of those are in place, AWS CDK-based apps should be able to build a raw NixOS disk image wtih Nix, mark it as a CDK asset, and reference it in the AMI import resource.01:06:37
@commiterate:matrix.orgcommiterate *

If you're using Cfn to manage your immutable infra setup, ASG instance refresh in Cfn stack updates is planned for this year and I'm chasing them to allow Cfn-managed S3 -> EBS snapshot imports. Latter is still waiting for a meeting with a PM though.

  • https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/2119
  • https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/2175
01:07:42
@commiterate:matrix.orgcommiterate* Once both of those are in place, AWS CDK-based apps should be able to build a raw NixOS disk image with Nix, mark it as a CDK asset, and reference it in the AMI import resource.04:17:49
@arianvp:matrix.orgArianWild that they dont have instance refresh 07:28:33
@arianvp:matrix.orgArianIn all fairness. Terraform's implementation is bugged. So we trigger instance refresh with the CLI too07:28:52
@commiterate:matrix.orgcommiterateI'm surprised Cfn support wasn't a launch requirement since that's basically required for most AWS services.17:11:39
@commiterate:matrix.orgcommiterateThough instance refresh is a bit different since it's an action rather than a resource.17:12:01
@commiterate:matrix.orgcommiterateCfn-managed S3 to AMI import is another head scratcher.17:12:31
@commiterate:matrix.orgcommiterateIt would make their own lives a lot easier for internal services and for AWS-managed AMIs (e.g. Amazon Linux, Windows).17:13:13
@arianvp:matrix.orgArian

https://github.com/MercuryTechnologies/terraform-aws-ssm-nixos-deploy-document

https://github.com/MercuryTechnologies/aws-ssm-update-association-action

https://github.com/MercuryTechnologies/aws-ssm-send-command-action

19:57:26
@arianvp:matrix.orgArianjust hit the open source button on these19:57:41
@arianvp:matrix.orgArianWe have similar terraform module and github actions for instance-refresh. They’ll be open sourced at a later date19:58:15
6 Mar 2025
@marcusramberg:matrix.orgMarcus joined the room.16:17:47
12 Mar 2025
@vidariondr:matrix.orgvidariondr joined the room.21:08:00
@shivaraj:matrix.orgshivaraj-bh joined the room.23:49:59
21 Mar 2025
@arianvp:matrix.orgArianI'm trying to build the Amazon linux 2023 kernel in Nixpkgs (for some firecracker testing) but it seems the tags that Amazon linux use don't belong to any branch. So fetchFromGtHub doesn't work 11:05:27
@arianvp:matrix.orgArianE.g. https://github.com/amazonlinux/linux/tree/microvm-kernel-6.1.128-3.201.amzn202311:06:11
@arianvp:matrix.orgArianIt says "doesn't belong to any branch or repo"11:06:19
@arianvp:matrix.orgArianAnybody got an idea why the repo is in such a weird state?11:06:38
@adam:robins.wtfadamcstephens I think it’s because GitHub considers that repo a fork  11:41:38
@adam:robins.wtfadamcstephens Can you fetch that branch or commit with git directly? 11:41:54
@adam:robins.wtfadamcstephens * Can you fetch that tag or commit with git directly? 11:42:11
@arianvp:matrix.orgArianNope. I can't :/15:12:46
@arianvp:matrix.orgArianUnable to checkout refs/tags/microvm-kernel-6.1.8.....15:13:09
@arianvp:matrix.orgArianOh I made a typo 15:13:34
@arianvp:matrix.orgArianOkay trying with fetchgit now. Just very slow15:14:36
@arianvp:matrix.orgArianYep worked. Thanks15:15:22
27 Mar 2025
@arianvp:matrix.orgArian @commiterate:matrix.org: do you remember why you added zstd as a buildInput to fluent-bit? Fluent-bit started vendoring libzstd-1.5.7 in their tree but because we add zstd to buildInputs and nixos has a different version it somehow ends up dynamically linking to libzstd-1.5.6 but with the wrong headers. This causes fluent-bit to segfault 22:34:54
@arianvp:matrix.orgArianI hate fluent-bit 22:35:05
28 Mar 2025
@arianvp:matrix.orgArianOkay... Fluent-bit just segfaults even without this stuff.. argh00:24:45

Show newer messages


Back to Room ListRoom Version: 10