l gc: don't gc in containers

This commit is contained in:
lassulus 2021-10-25 20:16:00 +02:00
parent f25fb4ae80
commit 300f71ded6

View File

@ -3,7 +3,7 @@
with import <stockholm/lib>;
{
nix.gc = {
automatic = ! (elem config.krebs.build.host.name [ "mors" "xerxes" ] || config.boot.isContainer);
automatic = ! (elem config.krebs.build.host.name [ "mors" "xerxes" "coaxmetal" ] || config.boot.isContainer);
options = "--delete-older-than 15d";
};
}