Update 'nixos-infect'

This commit is contained in:
Illia Chub 2021-10-05 09:57:58 +03:00
parent 14b9c92555
commit 40f5a19dbb

View file

@ -44,7 +44,7 @@ makeConf() {
./files.nix
./users.nix
./mailserver/system/mailserver.nix
#./mailserver/system/alps.nix
./mailserver/system/alps.nix
./vpn/ocserv.nix
./api/api.nix
./api/api-module.nix
@ -1341,10 +1341,10 @@ infect() {
apt update
apt install -y git whois
cat > /etc/resolv.conf << EOF
nameserver 1.1.1.1
nameserver 1.0.0.1
EOF
#cat > /etc/resolv.conf << EOF
#nameserver 1.1.1.1
#nameserver 1.0.0.1
#EOF
prepareEnv
makeSwap # smallest (512MB) droplet needs extra memory!
checkEnv