Fix datasync module

This commit is contained in:
coolneng 2020-05-09 18:53:22 +02:00
parent c5faaa57af
commit d26ae28eb9
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
3 changed files with 9 additions and 4 deletions

View File

@ -79,7 +79,7 @@
./modules/software.nix
./modules/networking.nix
./modules/gui.nix
#./modules/datasync.nix
./modules/datasync.nix
./modules/audio.nix
./modules/development.nix
./modules/hardware-configuration.nix

View File

@ -13,7 +13,7 @@
"syscea/state/root" = {
plan = "1d=>1h,1m=>1d,1y=>1m";
recursive = true;
mbuffer = true;
mbuffer.enable = true;
destinations.remote = {
host = "coolneng@zion";
dataset = "syscea/root";
@ -23,7 +23,7 @@
"syscea/state/home" = {
plan = "1d=>1h,1m=>1d,1y=>1m";
recursive = true;
mbuffer = true;
mbuffer.enable = true;
destinations.remote = {
host = "coolneng@zion";
dataset = "syscea/home";
@ -35,10 +35,14 @@
# Syncthing configuration
services.syncthing = {
enable = true;
user = "coolneng";
dataDir = "/home/coolneng";
declarative = {
devices = {
zion = { id = "XABIMVG-K5RKMAF-KNC33AR-TDAVEGK-GHUIVFD-NIFCX6L-6PQXRM5-KLK2PAU"; };
zion = {
id = "XABIMVG-K5RKMAF-KNC33AR-TDAVEGK-GHUIVFD-NIFCX6L-6PQXRM5-KLK2PAU";
addresses = ["tcp://coolneng.duckdns.org:22000"];
};
};
folders = {
Documents = {

View File

@ -20,6 +20,7 @@
ripgrep
fd
clang
coreutils
# Terminals
tmux
tmuxp