rm syncthing
This commit is contained in:
@@ -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
|
||||
];
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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"];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user