- Get Guix System on VPS.
- Configure it with
guix deploy
. - Configure NGINX.
Prerequisits is a VPS and SSH access.
apt update -y && apt install guix -y
guix pull
GUIX_PROFILE="/root/.config/guix/current"
. "$GUIX_PROFILE/etc/profile"
ifconfig
route -n
cd /ssh:root@IP:/root
cp ~/guix ./ -r
cd guix
guix system build ./base.scm
mv /etc /old-etc
mkdir /etc
cp -r /old-etc/{passwd,group,shadow,gshadow,mtab,guix} /etc/
guix system reconfigure ./base.scm