rm syncthing

This commit is contained in:
2025-12-30 11:30:50 +01:00
parent e2e246b52b
commit b95fac6927
19 changed files with 8 additions and 788 deletions

View File

@@ -6,13 +6,10 @@
}: {
imports = [
./secrets.nix
./syncthing.nix
../../modules/syncthing.nix
../../profiles/core.nix
../../profiles/darwin.nix
../../profiles/dock.nix
../../profiles/homebrew.nix
../../profiles/syncthing.nix
../../profiles/tailscale.nix
inputs.sops-nix.darwinModules.sops
];

View File

@@ -1,17 +1,5 @@
{
user,
hostname,
...
}: let
secrets = import ../../lib/secrets.nix;
in {
{user, ...}: {
sops.age.keyFile = "/Users/${user}/.config/sops/age/keys.txt";
sops.age.sshKeyPaths = [];
sops.gnupg.sshKeyPaths = [];
sops.secrets =
secrets.mkSyncthingSecrets {
inherit hostname user;
isDarwin = true;
};
}

View File

@@ -1,8 +0,0 @@
{user, ...}: {
services.syncthing.settings.folders = {
"Projects/Personal" = {
path = "/Users/${user}/Projects/Personal";
devices = ["tahani" "jason"];
};
};
}