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

@@ -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
];

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/Work" = {
path = "/Users/${user}/Projects/Work";
devices = ["tahani" "chidi"];
};
};
}

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"];
};
};
}

View File

@@ -10,11 +10,9 @@
./networking.nix
./paperless.nix
./secrets.nix
./syncthing.nix
../../profiles/core.nix
../../profiles/openssh.nix
../../profiles/nixos.nix
../../profiles/syncthing.nix
../../profiles/tailscale.nix
inputs.sops-nix.nixosModules.sops
];

View File

@@ -1,19 +1,8 @@
{
user,
hostname,
...
}: let
secrets = import ../../lib/secrets.nix;
in {
sops.secrets =
secrets.mkSyncthingSecrets {
inherit hostname user;
isDarwin = false;
}
// {
tahani-paperless-password = {
sopsFile = ../../secrets/tahani-paperless-password;
format = "binary";
};
{...}: {
sops.secrets = {
tahani-paperless-password = {
sopsFile = ../../secrets/tahani-paperless-password;
format = "binary";
};
};
}

View File

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