Add syncthing config and update relevant paths

This commit is contained in:
coolneng 2019-11-11 22:14:20 +01:00
parent ec93b1b925
commit 1424cc064f
10 changed files with 260 additions and 10 deletions

3
.gitignore vendored
View File

@ -13,4 +13,5 @@ deluge/.config/deluge/*.state
deluge/.config/deluge/icons/
mpd/.config/mpd/mpdstate
mpd/.config/mpd/mpd.pid
mpd/.config/mpd/mpd.db
mpd/.config/mpd/mpd.db
syncthing/.config/syncthing/index-v0.14.0.db/

View File

@ -43,10 +43,10 @@ set PATH $PATH /home/coolneng/.scripts
set -x FFF_COL1 3
set -x FFF_COL2 8
## Favourites (keys 1-9) (dir or file)
set -x FFF_FAV1 /home/coolneng/Nextcloud/Documents/Uni
set -x FFF_FAV2 /home/coolneng/Nextcloud/Documents/Papers
set -x FFF_FAV3 /home/coolneng/Nextcloud/Documents/Books/Academic/
set -x FFF_FAV4 /home/coolneng/Nextcloud/Documents/Education/
set -x FFF_FAV1 /home/coolneng/Sync/Documents/Uni
set -x FFF_FAV2 /home/coolneng/Sync/Documents/Papers
set -x FFF_FAV3 /home/coolneng/Sync/Documents/Books/Academic/
set -x FFF_FAV4 /home/coolneng/Sync/Documents/Education/
# Gnome Keyring
if test -n "$DESKTOP_SESSION"

View File

@ -30,7 +30,7 @@ xrdb ~/.Xresources &
urxvtd -q -f -o &
## KeepassXC
(sleep 2; bash -c "secret-tool lookup 'keepass' 'login' | keepassxc --pw-stdin ~/Nextcloud/Documents/IT/MDP.kbdx") &
(sleep 2; bash -c "secret-tool lookup 'keepass' 'login' | keepassxc --pw-stdin ~/Sync/Security/MDP.kbdx") &
## GPG
(sleep 3; bash -c "secret-tool lookup 'gpg' 'login' | gpg2 --no-tty --pinentry-mode loopback --passphrase-fd 0 -d ~/.password-store/mail/uni.gpg") &
@ -48,7 +48,7 @@ urxvtd -q -f -o &
(sleep 8; parcellite) &
## Tmux plugins
(sleep 9; ~/.tmux/plugins/tpm/bin/update_plugins all)
(sleep 9; ~/.tmux/plugins/tpm/bin/update_plugins all) &
## Owncloud
(sleep 10; owncloud)
## Syncthing
(sleep 10; syncthing -no-browser -home="/home/coolneng/.config/syncthing")

View File

@ -275,7 +275,7 @@
</keybind>
<keybind key="Print">
<action name="Execute">
<command>scrot -e 'mv $f ~/Nextcloud/Photos/Screenshots'</command>
<command>scrot -e 'mv $f ~/Sync/Photos/Screenshots'</command>
</action>
</keybind>
<keybind key="W-d">

View File

@ -0,0 +1,11 @@
-----BEGIN CERTIFICATE-----
MIIBmTCCASCgAwIBAgIIUygphoUs06AwCgYIKoZIzj0EAwIwFDESMBAGA1UEAxMJ
c3luY3RoaW5nMB4XDTE5MTEwNzEyMzU0N1oXDTQ5MTIzMTIzNTk1OVowFDESMBAG
A1UEAxMJc3luY3RoaW5nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAENhJxlu9xeARi
HtB8sDRjv3+2PPuHSi3+IL28g4zYQZCdZy16Uo3AbIM8Pxxzowb06ug6Alm/H2bo
0PzL2RT9xIcGg/4PEacj8ZXEIteP9A668b87Emo9ZN0WZNOJLrM4oz8wPTAOBgNV
HQ8BAf8EBAMCBaAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAwGA1Ud
EwEB/wQCMAAwCgYIKoZIzj0EAwIDZwAwZAIwSBj7g6KjkpqxgzykkCHoIcGAr8+c
BreKUAtXuyBUofqfE7DE0EruZbBf5QeEyDGjAjBQ9d6EfNnEe1rYC5uCL0SjNahr
fpOK2pwSqMtCwk6m27wEq6bRCbYo4YothwKogh4=
-----END CERTIFICATE-----

View File

@ -0,0 +1,214 @@
<configuration version="29">
<folder id="2aqt7-vpprc" label="Music" path="/home/coolneng/Sync/Music" type="sendreceive" rescanIntervalS="3600" fsWatcherEnabled="true" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true">
<filesystemType>basic</filesystemType>
<device id="DS3PJH3-J6SNMHM-XUJTDLO-DHGJL5U-J3RUMAG-4OSJWIK-VSJSDVJ-PIHZ2QP" introducedBy=""></device>
<device id="QGDGEZQ-INE7XDY-DNX2QI4-QI7ANQJ-57REEO2-FUMH545-FZS5RYU-ULF7HA2" introducedBy=""></device>
<device id="XABIMVG-K5RKMAF-KNC33AR-TDAVEGK-GHUIVFD-NIFCX6L-6PQXRM5-KLK2PAU" introducedBy=""></device>
<minDiskFree unit="%">1</minDiskFree>
<versioning></versioning>
<copiers>0</copiers>
<pullerMaxPendingKiB>0</pullerMaxPendingKiB>
<hashers>0</hashers>
<order>random</order>
<ignoreDelete>false</ignoreDelete>
<scanProgressIntervalS>0</scanProgressIntervalS>
<pullerPauseS>0</pullerPauseS>
<maxConflicts>10</maxConflicts>
<disableSparseFiles>false</disableSparseFiles>
<disableTempIndexes>false</disableTempIndexes>
<paused>false</paused>
<weakHashThresholdPct>25</weakHashThresholdPct>
<markerName>.stfolder</markerName>
<copyOwnershipFromParent>false</copyOwnershipFromParent>
<modTimeWindowS>0</modTimeWindowS>
</folder>
<folder id="cjhmu-avy9v" label="Projects" path="/home/coolneng/Sync/Projects" type="sendonly" rescanIntervalS="3600" fsWatcherEnabled="true" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true">
<filesystemType>basic</filesystemType>
<device id="QGDGEZQ-INE7XDY-DNX2QI4-QI7ANQJ-57REEO2-FUMH545-FZS5RYU-ULF7HA2" introducedBy=""></device>
<device id="XABIMVG-K5RKMAF-KNC33AR-TDAVEGK-GHUIVFD-NIFCX6L-6PQXRM5-KLK2PAU" introducedBy=""></device>
<minDiskFree unit="%">1</minDiskFree>
<versioning></versioning>
<copiers>0</copiers>
<pullerMaxPendingKiB>0</pullerMaxPendingKiB>
<hashers>0</hashers>
<order>random</order>
<ignoreDelete>false</ignoreDelete>
<scanProgressIntervalS>0</scanProgressIntervalS>
<pullerPauseS>0</pullerPauseS>
<maxConflicts>10</maxConflicts>
<disableSparseFiles>false</disableSparseFiles>
<disableTempIndexes>false</disableTempIndexes>
<paused>false</paused>
<weakHashThresholdPct>25</weakHashThresholdPct>
<markerName>.stfolder</markerName>
<copyOwnershipFromParent>false</copyOwnershipFromParent>
<modTimeWindowS>0</modTimeWindowS>
</folder>
<folder id="kafhz-bfmzm" label="Notes" path="/home/coolneng/Sync/Notes" type="sendreceive" rescanIntervalS="3600" fsWatcherEnabled="true" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true">
<filesystemType>basic</filesystemType>
<device id="DS3PJH3-J6SNMHM-XUJTDLO-DHGJL5U-J3RUMAG-4OSJWIK-VSJSDVJ-PIHZ2QP" introducedBy=""></device>
<device id="QGDGEZQ-INE7XDY-DNX2QI4-QI7ANQJ-57REEO2-FUMH545-FZS5RYU-ULF7HA2" introducedBy=""></device>
<device id="XABIMVG-K5RKMAF-KNC33AR-TDAVEGK-GHUIVFD-NIFCX6L-6PQXRM5-KLK2PAU" introducedBy=""></device>
<minDiskFree unit="%">1</minDiskFree>
<versioning></versioning>
<copiers>0</copiers>
<pullerMaxPendingKiB>0</pullerMaxPendingKiB>
<hashers>0</hashers>
<order>random</order>
<ignoreDelete>false</ignoreDelete>
<scanProgressIntervalS>0</scanProgressIntervalS>
<pullerPauseS>0</pullerPauseS>
<maxConflicts>10</maxConflicts>
<disableSparseFiles>false</disableSparseFiles>
<disableTempIndexes>false</disableTempIndexes>
<paused>false</paused>
<weakHashThresholdPct>25</weakHashThresholdPct>
<markerName>.stfolder</markerName>
<copyOwnershipFromParent>false</copyOwnershipFromParent>
<modTimeWindowS>0</modTimeWindowS>
</folder>
<folder id="mjibc-ustcg" label="Photos" path="/home/coolneng/Sync/Photos" type="sendreceive" rescanIntervalS="3600" fsWatcherEnabled="true" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true">
<filesystemType>basic</filesystemType>
<device id="DS3PJH3-J6SNMHM-XUJTDLO-DHGJL5U-J3RUMAG-4OSJWIK-VSJSDVJ-PIHZ2QP" introducedBy=""></device>
<device id="QGDGEZQ-INE7XDY-DNX2QI4-QI7ANQJ-57REEO2-FUMH545-FZS5RYU-ULF7HA2" introducedBy=""></device>
<device id="XABIMVG-K5RKMAF-KNC33AR-TDAVEGK-GHUIVFD-NIFCX6L-6PQXRM5-KLK2PAU" introducedBy=""></device>
<minDiskFree unit="%">1</minDiskFree>
<versioning></versioning>
<copiers>0</copiers>
<pullerMaxPendingKiB>0</pullerMaxPendingKiB>
<hashers>0</hashers>
<order>random</order>
<ignoreDelete>false</ignoreDelete>
<scanProgressIntervalS>0</scanProgressIntervalS>
<pullerPauseS>0</pullerPauseS>
<maxConflicts>10</maxConflicts>
<disableSparseFiles>false</disableSparseFiles>
<disableTempIndexes>false</disableTempIndexes>
<paused>false</paused>
<weakHashThresholdPct>25</weakHashThresholdPct>
<markerName>.stfolder</markerName>
<copyOwnershipFromParent>false</copyOwnershipFromParent>
<modTimeWindowS>0</modTimeWindowS>
</folder>
<folder id="wusdj-bfjkr" label="Documents" path="/home/coolneng/Sync/Documents" type="sendonly" rescanIntervalS="3600" fsWatcherEnabled="true" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true">
<filesystemType>basic</filesystemType>
<device id="DS3PJH3-J6SNMHM-XUJTDLO-DHGJL5U-J3RUMAG-4OSJWIK-VSJSDVJ-PIHZ2QP" introducedBy=""></device>
<device id="QGDGEZQ-INE7XDY-DNX2QI4-QI7ANQJ-57REEO2-FUMH545-FZS5RYU-ULF7HA2" introducedBy=""></device>
<device id="XABIMVG-K5RKMAF-KNC33AR-TDAVEGK-GHUIVFD-NIFCX6L-6PQXRM5-KLK2PAU" introducedBy=""></device>
<minDiskFree unit="%">1</minDiskFree>
<versioning></versioning>
<copiers>0</copiers>
<pullerMaxPendingKiB>0</pullerMaxPendingKiB>
<hashers>0</hashers>
<order>random</order>
<ignoreDelete>false</ignoreDelete>
<scanProgressIntervalS>0</scanProgressIntervalS>
<pullerPauseS>0</pullerPauseS>
<maxConflicts>10</maxConflicts>
<disableSparseFiles>false</disableSparseFiles>
<disableTempIndexes>false</disableTempIndexes>
<paused>false</paused>
<weakHashThresholdPct>25</weakHashThresholdPct>
<markerName>.stfolder</markerName>
<copyOwnershipFromParent>false</copyOwnershipFromParent>
<modTimeWindowS>0</modTimeWindowS>
</folder>
<folder id="z4lpn-pmm3v" label="Security" path="/home/coolneng/Sync/Security" type="sendreceive" rescanIntervalS="3600" fsWatcherEnabled="true" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true">
<filesystemType>basic</filesystemType>
<device id="DS3PJH3-J6SNMHM-XUJTDLO-DHGJL5U-J3RUMAG-4OSJWIK-VSJSDVJ-PIHZ2QP" introducedBy=""></device>
<device id="QGDGEZQ-INE7XDY-DNX2QI4-QI7ANQJ-57REEO2-FUMH545-FZS5RYU-ULF7HA2" introducedBy=""></device>
<device id="XABIMVG-K5RKMAF-KNC33AR-TDAVEGK-GHUIVFD-NIFCX6L-6PQXRM5-KLK2PAU" introducedBy=""></device>
<minDiskFree unit="%">1</minDiskFree>
<versioning></versioning>
<copiers>0</copiers>
<pullerMaxPendingKiB>0</pullerMaxPendingKiB>
<hashers>0</hashers>
<order>random</order>
<ignoreDelete>false</ignoreDelete>
<scanProgressIntervalS>0</scanProgressIntervalS>
<pullerPauseS>0</pullerPauseS>
<maxConflicts>10</maxConflicts>
<disableSparseFiles>false</disableSparseFiles>
<disableTempIndexes>false</disableTempIndexes>
<paused>false</paused>
<weakHashThresholdPct>25</weakHashThresholdPct>
<markerName>.stfolder</markerName>
<copyOwnershipFromParent>false</copyOwnershipFromParent>
<modTimeWindowS>0</modTimeWindowS>
</folder>
<device id="DS3PJH3-J6SNMHM-XUJTDLO-DHGJL5U-J3RUMAG-4OSJWIK-VSJSDVJ-PIHZ2QP" name="roamer" compression="metadata" introducer="false" skipIntroductionRemovals="false" introducedBy="">
<address>dynamic</address>
<paused>false</paused>
<autoAcceptFolders>false</autoAcceptFolders>
<maxSendKbps>0</maxSendKbps>
<maxRecvKbps>0</maxRecvKbps>
<maxRequestKiB>0</maxRequestKiB>
</device>
<device id="QGDGEZQ-INE7XDY-DNX2QI4-QI7ANQJ-57REEO2-FUMH545-FZS5RYU-ULF7HA2" name="monolith" compression="metadata" introducer="false" skipIntroductionRemovals="false" introducedBy="">
<address>dynamic</address>
<paused>false</paused>
<autoAcceptFolders>false</autoAcceptFolders>
<maxSendKbps>0</maxSendKbps>
<maxRecvKbps>0</maxRecvKbps>
<maxRequestKiB>0</maxRequestKiB>
</device>
<device id="XABIMVG-K5RKMAF-KNC33AR-TDAVEGK-GHUIVFD-NIFCX6L-6PQXRM5-KLK2PAU" name="zion" compression="metadata" introducer="false" skipIntroductionRemovals="false" introducedBy="">
<address>tcp://coolneng.duckdns.org:22000</address>
<paused>false</paused>
<autoAcceptFolders>false</autoAcceptFolders>
<maxSendKbps>0</maxSendKbps>
<maxRecvKbps>0</maxRecvKbps>
<maxRequestKiB>0</maxRequestKiB>
</device>
<gui enabled="true" tls="false" debugging="false">
<address>127.0.0.1:8384</address>
<apikey>nKLejQcnxfGo56NJ4nevMayEFiTT5CHp</apikey>
<theme>default</theme>
</gui>
<ldap></ldap>
<options>
<listenAddress>default</listenAddress>
<globalAnnounceServer>default</globalAnnounceServer>
<globalAnnounceEnabled>true</globalAnnounceEnabled>
<localAnnounceEnabled>true</localAnnounceEnabled>
<localAnnouncePort>21027</localAnnouncePort>
<localAnnounceMCAddr>[ff12::8384]:21027</localAnnounceMCAddr>
<maxSendKbps>0</maxSendKbps>
<maxRecvKbps>0</maxRecvKbps>
<reconnectionIntervalS>60</reconnectionIntervalS>
<relaysEnabled>true</relaysEnabled>
<relayReconnectIntervalM>10</relayReconnectIntervalM>
<startBrowser>true</startBrowser>
<natEnabled>true</natEnabled>
<natLeaseMinutes>60</natLeaseMinutes>
<natRenewalMinutes>30</natRenewalMinutes>
<natTimeoutSeconds>10</natTimeoutSeconds>
<urAccepted>-1</urAccepted>
<urSeen>3</urSeen>
<urUniqueID></urUniqueID>
<urURL>https://data.syncthing.net/newdata</urURL>
<urPostInsecurely>false</urPostInsecurely>
<urInitialDelayS>1800</urInitialDelayS>
<restartOnWakeup>true</restartOnWakeup>
<autoUpgradeIntervalH>12</autoUpgradeIntervalH>
<upgradeToPreReleases>false</upgradeToPreReleases>
<keepTemporariesH>24</keepTemporariesH>
<cacheIgnoredFiles>false</cacheIgnoredFiles>
<progressUpdateIntervalS>5</progressUpdateIntervalS>
<limitBandwidthInLan>false</limitBandwidthInLan>
<minHomeDiskFree unit="%">1</minHomeDiskFree>
<releasesURL>https://upgrades.syncthing.net/meta.json</releasesURL>
<overwriteRemoteDeviceNamesOnConnect>false</overwriteRemoteDeviceNamesOnConnect>
<tempIndexMinBlocks>10</tempIndexMinBlocks>
<trafficClass>0</trafficClass>
<defaultFolderPath>~/Sync</defaultFolderPath>
<setLowPriority>true</setLowPriority>
<maxConcurrentScans>0</maxConcurrentScans>
<crashReportingURL>https://crash.syncthing.net/newcrash</crashReportingURL>
<crashReportingEnabled>true</crashReportingEnabled>
<stunKeepaliveStartS>180</stunKeepaliveStartS>
<stunKeepaliveMinS>20</stunKeepaliveMinS>
<stunServer>default</stunServer>
<databaseTuning>auto</databaseTuning>
</options>
</configuration>

View File

@ -0,0 +1 @@
JvvpJ3463aAAyDhMkNPL6nXyFRHb4MFg

View File

@ -0,0 +1,11 @@
-----BEGIN CERTIFICATE-----
MIIBmTCCAR6gAwIBAgIIGvtVi8jCeIMwCgYIKoZIzj0EAwIwEzERMA8GA1UEAxMI
bW9ub2xpdGgwHhcNMTkxMTA3MTIzNTQ5WhcNNDkxMjMxMjM1OTU5WjATMREwDwYD
VQQDEwhtb25vbGl0aDB2MBAGByqGSM49AgEGBSuBBAAiA2IABJneK1nd6fTsolku
mUX/LSh8flyQtZnWcpigG8Gy0jKIMnvd1LrSiE7F80c+4pOptRBb0DKNYJRpQDhK
SjDR0C5l8q/qE7zQ39KC86yc364sKVYD2sslD8F7iNi7PuKbz6M/MD0wDgYDVR0P
AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
Af8EAjAAMAoGCCqGSM49BAMCA2kAMGYCMQDSnENEk8ann4S6hTQ9eFolnnqQSoRC
MMf73flztwjNM0qBm3ZdVGyH1wXJD8JlJKYCMQCLVpncjY8nF+AUWdxWHudlwroC
qC+XGUSMiAZ+jK4RPYhyHqkfz3/WFuB3RWdn9f0=
-----END CERTIFICATE-----

View File

@ -0,0 +1,6 @@
-----BEGIN EC PRIVATE KEY-----
MIGkAgEBBDAc6MnRU0cI+DTZxuCFmT/hV2uDNRk/K2n6LVMLdE9zWygIfRuNhYqy
ZkZpqrSJmFegBwYFK4EEACKhZANiAASZ3itZ3en07KJZLplF/y0ofH5ckLWZ1nKY
oBvBstIyiDJ73dS60ohOxfNHPuKTqbUQW9AyjWCUaUA4Skow0dAuZfKv6hO80N/S
gvOsnN+uLClWA9rLJQ/Be4jYuz7im88=
-----END EC PRIVATE KEY-----

View File

@ -0,0 +1,6 @@
-----BEGIN EC PRIVATE KEY-----
MIGkAgEBBDBUvXyZGcKqBdHt4ffX4/RCGM/BQqX4M7z98xmV1T9/nEy9EmDi/HoX
KzhBE0MLDrqgBwYFK4EEACKhZANiAAQ2EnGW73F4BGIe0HywNGO/f7Y8+4dKLf4g
vbyDjNhBkJ1nLXpSjcBsgzw/HHOjBvTq6DoCWb8fZujQ/MvZFP3EhwaD/g8RpyPx
lcQi14/0DrrxvzsSaj1k3RZk04kuszg=
-----END EC PRIVATE KEY-----