modules/nix-config: disable AWS IMDS lookups

This commit is contained in:
Max Headroom 2023-12-01 19:10:42 +01:00
parent 993cb7f967
commit b30ed4958f

View file

@ -30,5 +30,8 @@
daemonIOSchedPriority = 7; daemonIOSchedPriority = 7;
}; };
systemd.services.nix-daemon.serviceConfig.Slice = "builder.slice"; systemd.services.nix-daemon = {
serviceConfig.Slice = "builder.slice";
environment.AWS_EC2_METADATA_DISABLED = "true";
};
} }