44 lines
970 B
Nix
44 lines
970 B
Nix
{ config, ... }:
|
|
|
|
let
|
|
secretFile = builtins.WriteFile "secrets.nix" config.age.secrets.secret.path;
|
|
secrets = import ./secrets.nix;
|
|
in
|
|
{
|
|
enable = true;
|
|
# openDefaultPorts = true;
|
|
|
|
# syncthing
|
|
|
|
settings.gui = {
|
|
user = "pager";
|
|
password = "roundabout";
|
|
};
|
|
|
|
settings.devices = {
|
|
"tin" = { id = config.age.secrets.syncthing_tin.path; };
|
|
"nicrosil" = { id = config.age.secrets.syncthing_tin.path; };
|
|
};
|
|
|
|
settings.folders = {
|
|
"VRC Pictures" = {
|
|
path = "/home/abby/Pictures/VRChat";
|
|
id = "7q62w-jsps5";
|
|
type = "sendreceive";
|
|
devices = [ "tin" "nicrosil" ];
|
|
};
|
|
"VRC Avatars" = {
|
|
path = "/home/abby/projects/VRC Avatars";
|
|
id = "jdfra-eqoig";
|
|
type = "sendreceive";
|
|
devices = [ "tin" "nicrosil" ];
|
|
};
|
|
"Basis Avatars" = {
|
|
path = "/home/abby/projects/Basis Avatars";
|
|
id = "qzla2-jxhox";
|
|
type = "sendreceive";
|
|
devices = [ "tin" "nicrosil" ];
|
|
};
|
|
};
|
|
}
|