From 228759d340b7c87a5a8991a6ae7884724fa8b0e3 Mon Sep 17 00:00:00 2001 From: Chris Dombroski Date: Fri, 24 May 2024 07:43:22 -0400 Subject: [PATCH] Syncthing service --- systems/smolboi/home.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/systems/smolboi/home.nix b/systems/smolboi/home.nix index a0e42df..08eb19a 100644 --- a/systems/smolboi/home.nix +++ b/systems/smolboi/home.nix @@ -56,6 +56,7 @@ ]; }) + # # Adds the 'hello' command to your environment. It prints a friendly # # "Hello, world!" when run. # pkgs.hello @@ -74,6 +75,18 @@ # '') ]; + services.syncthing = { + enable = true; + tray.enable = true; + }; + + systemd.user.targets.tray = { + Unit = { + Description = "System Tray"; + Requires = [ "graphical-session-pre.target" ]; + }; + }; + nixpkgs.config = { allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "discord" ]; permittedInsecurePackages = [ "electron-25.9.0" ];