Skip to content

Commit

Permalink
nixos/amazon-image: embed stateVersion in image
Browse files Browse the repository at this point in the history
  • Loading branch information
arianvp committed Oct 13, 2024
1 parent 90f7aa0 commit 75ed6c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/maintainers/scripts/ec2/amazon-image.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ in {
configFile = pkgs.writeText "configuration.nix" ''
{ modulesPath, ... }: {
imports = [ "''${modulesPath}/virtualisation/amazon-image.nix" ];
system.stateVersion = "${config.system.stateVersion}";
${
optionalString config.ec2.efi ''
ec2.efi = true;
Expand Down

0 comments on commit 75ed6c7

Please sign in to comment.