1
0
mirror of https://github.com/tommytran732/QubesOS-Scripts synced 2024-11-22 01:41:34 -05:00

Update sys-net.sh

This commit is contained in:
Tommy 2022-07-13 09:01:38 -04:00 committed by GitHub
parent 0da26915f0
commit 89a26149e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,26 +4,7 @@ sudo dnf install -y qubes-core-agent-networking qubes-core-agent-network-manager
sudo systemctl disable --now systemd-timesyncd sudo systemctl disable --now systemd-timesyncd
#Configuration copied from https://github.com/GrapheneOS/infrastructure/blob/main/chrony.conf sudo curl --proxy http://127.0.0.1:8082 https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/chrony.conf -o /etc/chrony/chrony.conf
echo 'server time.cloudflare.com iburst nts
server nts1.time.nl iburst nts
server sth1.nts.netnod.se iburst nts
server ptbtime1.ptb.de iburst nts
minsources 2
authselectmode require
driftfile /var/lib/chrony/drift
ntsdumpdir /var/lib/chrony
leapsectz right/UTC
makestep 1.0 3
rtconutc
rtcsync
cmdport 0' | sudo tee /etc/chrony.conf
sudo systemctl enable --now chronyd sudo systemctl enable --now chronyd