!atvIbxHoEqNcAIxYpN:nixos.org

NixOS AWS

65 Members
17 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
28 Apr 2025
@arianvp:matrix.orgArian It’s not part of the amazon-image.nix profile. We could add it if you want? but yeh usually people just reconfigure their NixOS machines through user-data after boot 11:23:15
@arianvp:matrix.orgArianwhy do you need it?11:23:25
@notmycommit:notwork.indbalan Our scripts do some s3 gets / aws ssm get-parmeters etc to assemble the final nix config. We do have workaround for this to wrap the execution in nix-env. But IMO awscli seems quite useful on an amazon AMI. 11:31:24
@notmycommit:notwork.indbalan

Another option would be to look for nix-shell shebang, like

       #! /usr/bin/env nix-shell
       #! nix-shell -i runghc --packages 'haskellPackages.ghcWithPackages (ps: [ps.download-curl ps.tagsoup])'

in the init script where we determine the type in amazon-init.nix and run it with nix-shell instead of ${pkgs.runtimeShell}

11:51:29

Show newer messages


Back to Room ListRoom Version: 10