nixos/ec2-data: fix eval

This commit is contained in:
Sandro 2025-07-08 11:57:40 +02:00 committed by GitHub
parent 3b22af086d
commit 30c1ef051b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,7 +34,7 @@ with lib;
${optionalString (config.networking.hostName == "") ''
echo "setting host name..."
if [ -s /etc/ec2-metadata/hostname ]; then
${lib.getExe hostname-debian} -F /etc/ec2-metadata/hostname
${lib.getExe pkgs.hostname-debian} -F /etc/ec2-metadata/hostname
fi
''}