modules/nix-config: disable AWS IMDS lookups
This commit is contained in:
parent
993cb7f967
commit
b30ed4958f
1 changed files with 4 additions and 1 deletions
|
@ -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";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue