From 9c25e0792f3ac93c8d44e0fde9dde83032a1c747 Mon Sep 17 00:00:00 2001 From: Spotlight Date: Mon, 31 Mar 2025 09:18:31 -0500 Subject: [PATCH] cyclone: Allow Syncthing to run as user --- hosts/linux/cyclone/configuration.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/hosts/linux/cyclone/configuration.nix b/hosts/linux/cyclone/configuration.nix index d7eb8e9..f6c681c 100644 --- a/hosts/linux/cyclone/configuration.nix +++ b/hosts/linux/cyclone/configuration.nix @@ -32,7 +32,15 @@ tailscale.enable = true; vscode-server.enable = true; - syncthing.enable = true; + + # Ensure Syncthing has the ability to write + # within the user's home directory. + syncthing = { + enable = true; + user = "spotlight"; + group = "users"; + dataDir = "/home/spotlight"; + }; }; hardware = { @@ -93,11 +101,14 @@ # Standard system utilities. Many of these are within ../shared.nix. # The bulk of user-specific packages should go within the home-manager configuration. environment.systemPackages = with pkgs; [ + blender cider discord + fractal (prismlauncher.override { jdks = [ pkgs.jdk23 ]; }) + tuba vscode ];