Compare commits

...

6 Commits

7 changed files with 22 additions and 20 deletions

2
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "etc/chrony/sources.d/jauderho-nts-servers"]
path = etc/chrony/sources.d/jauderho-nts-servers
url = https://gist.github.com/2ad0d441760fc5ed69d8d4e2d6b35f8d.git
url = https://github.com/jauderho/nts-servers.git

View File

@ -1,9 +1,3 @@
# Remember to run `pre-commit install` at least once!
# Manual test run: `pre-commit run --all-files`
# Update? `pre-commit autoupdate`
#
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
@ -17,7 +11,7 @@ repos:
- id: end-of-file-fixer
- id: fix-byte-order-marker
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.0-alpha.4"
rev: "v3.0.0-alpha.6"
hooks:
- id: prettier
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python

1
etc/chrony/sources.d/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
jauderho-nts.sources

@ -1 +1 @@
Subproject commit fdd2fb32525a96c9ec30bc935c2524343c4fbd9a
Subproject commit c298236dc672ba38e4ad2c0387c831c5b13275e6

View File

@ -0,0 +1 @@
jauderho-nts-servers/chrony.conf

View File

@ -13,10 +13,12 @@ usershare allow guests = yes
map to guest = bad user
allow insecure wide links = yes
# This seems to control the share name
[PlayStation2]
# All guides seem to use the name PS2SMB, and it may require manual typing
# on the console
[PS2SMB]
Comment = PlayStation2 images
# sudo chcon -t samba_share_t /sambashare/
# sudo chcon -t samba_share_t /shome/jaettu/PS2
# jaettu = shared in Finnish
Path = /home/jaettu/PS2
Browseable = yes
Writeable = Yes

View File

@ -2,13 +2,17 @@
Name=eth0
[Network]
Address=172.16.1.2/16
Gateway=172.16.0.1
# DNS has no effect unless systemd-resolved is used
#DHCP=yes
# /24, /16, /8 are the the class C, B, A networks
Address=192.168.0.2/24
Gateway=192.168.0.1
# DNS has no effect unless systemd-resolved is used. Why would it be used?
# systemctl enable systemd-resolved && systemctl start systemd-resolved
# ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
DNS=127.0.0.1
DNS=::1
DNS=8.8.4.4
# Enable systemd-timesyncd with `timedatectl set-ntp true`
NTP=fi.pool.ntp.org
#DNS=127.0.0.1
#DNS=::1
#DNS=8.8.4.4
# Enable systemd-timesyncd with `timedatectl set-ntp true`, may be specified
# multiple times, but you are using Chrony instead, right?
#NTP=fi.pool.ntp.org
#NTP=time.cloudflare.com