Compare commits
2 commits
f938fcb24e
...
cfc24abfe1
Author | SHA1 | Date | |
---|---|---|---|
Yureka | cfc24abfe1 | ||
Yureka | a72a991863 |
|
@ -164,8 +164,8 @@ in
|
||||||
script = ''
|
script = ''
|
||||||
while : ; do
|
while : ; do
|
||||||
percent_filled=$(($(stat -f --format="100-(100*%a/%b)" /mnt)))
|
percent_filled=$(($(stat -f --format="100-(100*%a/%b)" /mnt)))
|
||||||
if [ "$percent_filled" -gt "54" ]; then
|
if [ "$percent_filled" -gt "85" ]; then
|
||||||
${config.nix.package.out}/bin/nix-store --gc --max-freed 50G --store /mnt
|
${config.nix.package.out}/bin/nix-store --gc --max-freed 80G --store /mnt
|
||||||
else
|
else
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -87,7 +87,8 @@ in
|
||||||
(record "postgres" 300 "CNAME" ["bagel-box.infra.p"])
|
(record "postgres" 300 "CNAME" ["bagel-box.infra.p"])
|
||||||
|
|
||||||
# S3 in delroth's basement
|
# S3 in delroth's basement
|
||||||
(record "cache" 300 "CNAME" ["smol.delroth.net."])
|
(record "cache" 300 "AAAA" ["2a02:168:6426::12"]) # smol.delroth.net
|
||||||
|
(record "cache" 300 "A" ["195.39.247.161"]) # sni proxy
|
||||||
|
|
||||||
(record "vpn-gw.wob01.infra" 300 "AAAA" [ "2a01:584:11::2" ])
|
(record "vpn-gw.wob01.infra" 300 "AAAA" [ "2a01:584:11::2" ])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue