various better defaults
This commit is contained in:
parent
f93a0e1928
commit
422e000821
8 changed files with 109 additions and 53 deletions
|
|
@ -78,6 +78,7 @@
|
|||
|
||||
age.secrets.syncthing-NOcomputer.file = ../secrets/syncthing-NOcomputer.age;
|
||||
age.secrets.syncthing-NOlaptop.file = ../secrets/syncthing-NOlaptop.age;
|
||||
age.secrets.syncthing-uwuraid.file = ../secrets/syncthing-uwuraid.age;
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
user = "tao";
|
||||
|
|
@ -91,11 +92,13 @@
|
|||
# bootstrap by commenting out devices first and rebuild switch impurely
|
||||
"nocomputer".id = builtins.readFile config.age.secrets.syncthing-NOcomputer.path;
|
||||
"nolaptop".id = builtins.readFile config.age.secrets.syncthing-NOlaptop.path;
|
||||
"uwuraid".id = builtins.readFile config.age.secrets.syncthing-uwuraid.path;
|
||||
};
|
||||
folders = let
|
||||
devs = [
|
||||
"nocomputer"
|
||||
"nolaptop"
|
||||
"uwuraid"
|
||||
];
|
||||
in {
|
||||
"sync" = {
|
||||
|
|
@ -110,6 +113,10 @@
|
|||
path = "/home/tao/projects";
|
||||
devices = devs;
|
||||
};
|
||||
"pictures" = {
|
||||
path = "/home/tao/pictures";
|
||||
devices = devs;
|
||||
};
|
||||
# "pictures".path = "/home/tao/pictures";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue