diff --git a/hosts/yodaTab/configuration.nix b/hosts/yodaTab/configuration.nix index 89ce8b1..25bc1b2 100644 --- a/hosts/yodaTab/configuration.nix +++ b/hosts/yodaTab/configuration.nix @@ -27,6 +27,7 @@ ../../modules/programs.nix ../../modules/nextcloud-integration.nix + ../../modules/syncthing.nix ../../modules/signal-desktop.nix ../../modules/element-desktop.nix ../../modules/obsidian.nix diff --git a/hosts/yodaTux/configuration.nix b/hosts/yodaTux/configuration.nix index f2a8210..e7b34cd 100644 --- a/hosts/yodaTux/configuration.nix +++ b/hosts/yodaTux/configuration.nix @@ -26,6 +26,7 @@ ../../modules/programs.nix ../../modules/nextcloud-integration.nix + ../../modules/syncthing.nix ../../modules/signal-desktop.nix ../../modules/element-desktop.nix ../../modules/joplin-desktop.nix diff --git a/modules/syncthing.nix b/modules/syncthing.nix new file mode 100644 index 0000000..3d6ca04 --- /dev/null +++ b/modules/syncthing.nix @@ -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 +# ]; +# }; +# }; +# }; +}