syncthing client

This commit is contained in:
Daniel Langbein 2023-11-28 15:24:57 +01:00
parent c1d9df1bd1
commit bb14c9206f
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
3 changed files with 50 additions and 0 deletions

View File

@ -27,6 +27,7 @@
../../modules/programs.nix ../../modules/programs.nix
../../modules/nextcloud-integration.nix ../../modules/nextcloud-integration.nix
../../modules/syncthing.nix
../../modules/signal-desktop.nix ../../modules/signal-desktop.nix
../../modules/element-desktop.nix ../../modules/element-desktop.nix
../../modules/obsidian.nix ../../modules/obsidian.nix

View File

@ -26,6 +26,7 @@
../../modules/programs.nix ../../modules/programs.nix
../../modules/nextcloud-integration.nix ../../modules/nextcloud-integration.nix
../../modules/syncthing.nix
../../modules/signal-desktop.nix ../../modules/signal-desktop.nix
../../modules/element-desktop.nix ../../modules/element-desktop.nix
../../modules/joplin-desktop.nix ../../modules/joplin-desktop.nix

48
modules/syncthing.nix Normal file
View File

@ -0,0 +1,48 @@
{ config, pkgs, ... }:
{
# Sync files between devices
# services = {
# syncthing = {
# enable = true;
# user = "yoda";
# };
# };
environment.systemPackages = with pkgs; [
syncthing
# Syncthing integration into GNOME
#
# Incompatible with my GNOME version.
# Seems no longer maintained ...
#gnomeExtensions.syncthing-icon
# Actively maintained, already adjusted for GNOME 45.
# Did not work properly, see below.
#gnomeExtensions.syncthing-indicator
];
#
# Enable the above GNOME extension.
#
# gnomeExtensions.syncthing-indicator
# I had to edit
# /home/yoda/.config/systemd/user/syncthing.service
# and adjust the path to the syncthing executable.
# Then I could start Syncthing throug the extension.
# But it does still not work properly :/
# It does not detect my folders and the sync status.
# programs.dconf.enable = true;
# home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
# dconf.settings = {
# "org/gnome/shell" = {
# disable-user-extensions = false;
# enabled-extensions = [
# pkgs.gnomeExtensions.syncthing-indicator.extensionUuid
# ];
# };
# };
# };
}