sing
This commit is contained in:
parent
67e21bc619
commit
aaaf028bab
1 changed files with 44 additions and 43 deletions
|
|
@ -214,50 +214,51 @@ in {
|
||||||
# user = "tao";
|
# user = "tao";
|
||||||
# dataDir = "/home/tao/sync";
|
# dataDir = "/home/tao/sync";
|
||||||
# configDir = "/home/tao/.config/syncthing";
|
# configDir = "/home/tao/.config/syncthing";
|
||||||
overrideDevices = true;
|
|
||||||
overrideFolders = true;
|
|
||||||
# openDefaultPorts = true;
|
# openDefaultPorts = true;
|
||||||
settings = {
|
|
||||||
devices = {
|
# overrideDevices = true;
|
||||||
# we do a lil anti-patterns https://github.com/ryantm/agenix?tab=readme-ov-file#builtinsreadfile-anti-pattern
|
# overrideFolders = true;
|
||||||
# bootstrap by commenting out devices first and rebuild switch impurely
|
# settings = {
|
||||||
"nocomputer".id = builtins.readFile config.age.secrets.syncthing-NOcomputer.path;
|
# devices = {
|
||||||
"nolaptop".id = builtins.readFile config.age.secrets.syncthing-NOlaptop.path;
|
# # we do a lil anti-patterns https://github.com/ryantm/agenix?tab=readme-ov-file#builtinsreadfile-anti-pattern
|
||||||
"uwuraid".id = builtins.readFile config.age.secrets.syncthing-uwuraid.path;
|
# # bootstrap by commenting out devices first and rebuild switch impurely
|
||||||
};
|
# "nocomputer".id = builtins.readFile config.age.secrets.syncthing-NOcomputer.path;
|
||||||
folders = let
|
# "nolaptop".id = builtins.readFile config.age.secrets.syncthing-NOlaptop.path;
|
||||||
devs = [
|
# "uwuraid".id = builtins.readFile config.age.secrets.syncthing-uwuraid.path;
|
||||||
"nocomputer"
|
# };
|
||||||
"nolaptop"
|
# folders = let
|
||||||
"uwuraid"
|
# devs = [
|
||||||
];
|
# "nocomputer"
|
||||||
in {
|
# "nolaptop"
|
||||||
# "documents" = {
|
# "uwuraid"
|
||||||
# path = "/home/tao/documents";
|
# ];
|
||||||
# devices = devs;
|
# in {
|
||||||
# };
|
# # "documents" = {
|
||||||
"pictures" = {
|
# # path = "/home/tao/documents";
|
||||||
path = "/home/tao/pictures";
|
# # devices = devs;
|
||||||
devices = devs;
|
# # };
|
||||||
};
|
# "pictures" = {
|
||||||
"projects" = {
|
# path = "/home/tao/pictures";
|
||||||
path = "/home/tao/projects";
|
# devices = devs;
|
||||||
devices = devs;
|
# };
|
||||||
};
|
# "projects" = {
|
||||||
"school" = {
|
# path = "/home/tao/projects";
|
||||||
path = "/home/tao/school";
|
# devices = devs;
|
||||||
devices = devs;
|
# };
|
||||||
};
|
# "school" = {
|
||||||
"sync" = {
|
# path = "/home/tao/school";
|
||||||
path = "/home/tao/sync";
|
# devices = devs;
|
||||||
devices = devs;
|
# };
|
||||||
};
|
# "sync" = {
|
||||||
# "work" = {
|
# path = "/home/tao/sync";
|
||||||
# path = "/home/tao/work";
|
# devices = devs;
|
||||||
# devices = devs;
|
# };
|
||||||
# };
|
# # "work" = {
|
||||||
};
|
# # path = "/home/tao/work";
|
||||||
};
|
# # devices = devs;
|
||||||
|
# # };
|
||||||
|
# };
|
||||||
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.userDirs = {
|
xdg.userDirs = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue