From e73dc1cb0c89e4e81467d3a817053b1578cf7c63 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Fri, 13 Dec 2024 09:50:39 -0500 Subject: [PATCH] Syncthing, because logseq+android --- configurations/nixos/pureintent/default.nix | 6 ++++++ configurations/nixos/vixen/default.nix | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/configurations/nixos/pureintent/default.nix b/configurations/nixos/pureintent/default.nix index 762091c..240b749 100644 --- a/configurations/nixos/pureintent/default.nix +++ b/configurations/nixos/pureintent/default.nix @@ -21,6 +21,12 @@ in enable = true; package = pkgs.netdataCloud; }; + services.syncthing = rec { + enable = true; + user = flake.config.me.username; + dataDir = "/home/${user}/.syncthing"; + guiAddress = "100.113.68.55:8384"; + }; programs.nix-ld.enable = true; # for vscode server diff --git a/configurations/nixos/vixen/default.nix b/configurations/nixos/vixen/default.nix index 47801c8..eabda11 100644 --- a/configurations/nixos/vixen/default.nix +++ b/configurations/nixos/vixen/default.nix @@ -19,6 +19,11 @@ in services.openssh.enable = true; services.tailscale.enable = true; # services.fprintd.enable = true; -- bad UX + services.syncthing = rec { + enable = true; + user = flake.config.me.username; + dataDir = "/home/${user}/.syncthing"; + }; programs.nix-ld.enable = true; # for vscode server programs.steam.enable = true;