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/software.nix
./modules/networking.nix ./modules/networking.nix
./modules/gui.nix ./modules/gui.nix
#./modules/datasync.nix ./modules/datasync.nix
./modules/audio.nix ./modules/audio.nix
./modules/development.nix ./modules/development.nix
./modules/hardware-configuration.nix ./modules/hardware-configuration.nix

View File

@ -13,7 +13,7 @@
"syscea/state/root" = { "syscea/state/root" = {
plan = "1d=>1h,1m=>1d,1y=>1m"; plan = "1d=>1h,1m=>1d,1y=>1m";
recursive = true; recursive = true;
mbuffer = true; mbuffer.enable = true;
destinations.remote = { destinations.remote = {
host = "coolneng@zion"; host = "coolneng@zion";
dataset = "syscea/root"; dataset = "syscea/root";
@ -23,7 +23,7 @@
"syscea/state/home" = { "syscea/state/home" = {
plan = "1d=>1h,1m=>1d,1y=>1m"; plan = "1d=>1h,1m=>1d,1y=>1m";
recursive = true; recursive = true;
mbuffer = true; mbuffer.enable = true;
destinations.remote = { destinations.remote = {
host = "coolneng@zion"; host = "coolneng@zion";
dataset = "syscea/home"; dataset = "syscea/home";
@ -35,10 +35,14 @@
# Syncthing configuration # Syncthing configuration
services.syncthing = { services.syncthing = {
enable = true; enable = true;
user = "coolneng";
dataDir = "/home/coolneng"; dataDir = "/home/coolneng";
declarative = { declarative = {
devices = { 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 = { folders = {
Documents = { Documents = {

View File

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