backwards: Share phone-gps with phone in syncthing
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
../../config-manager/default.nix
|
../../config-manager/default.nix
|
||||||
|
../../shared-modules/syncthing.nix
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./modules
|
./modules
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -11,6 +11,25 @@
|
|||||||
group = "users";
|
group = "users";
|
||||||
|
|
||||||
dataDir = "/home/alex/sync";
|
dataDir = "/home/alex/sync";
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
devices = {
|
||||||
|
phone.id = config.lib.syncthing.phone;
|
||||||
|
};
|
||||||
|
|
||||||
|
folders = {
|
||||||
|
"phone-gps" = {
|
||||||
|
path = "/home/alex/sync/phone-gps";
|
||||||
|
devices = [ "phone" ];
|
||||||
|
versioning = {
|
||||||
|
type = "staggered";
|
||||||
|
params = {
|
||||||
|
maxage = "2592000"; # 30 days
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
age = {
|
age = {
|
||||||
|
|||||||
Reference in New Issue
Block a user