rm syncthing
This commit is contained in:
@@ -7,13 +7,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
|
||||
];
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
{user, ...}: {
|
||||
services.syncthing.settings.folders = {
|
||||
"Projects/Work" = {
|
||||
path = "/Users/${user}/Projects/Work";
|
||||
devices = ["tahani" "chidi"];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user