Syncthing, init syncthing + Juri config
This commit is contained in:
parent
bdb1ba2249
commit
6928d137b3
2 changed files with 78 additions and 2 deletions
|
|
@ -3,8 +3,7 @@ let
|
|||
email = "admin@woach.me";
|
||||
in {
|
||||
imports = [
|
||||
./hardware.nix
|
||||
];
|
||||
./hardware.nix ];
|
||||
system.stateVersion = "24.11";
|
||||
system.timezone = "America/Los_Angeles";
|
||||
system.users.bigWheels = [ "pan" ];
|
||||
|
|
@ -66,6 +65,21 @@ in {
|
|||
server.domain = "ginko.woach.me";
|
||||
};
|
||||
|
||||
syncthing = {
|
||||
enable = true;
|
||||
devices = {
|
||||
"homura".id = "NEP24DB-DVXAHTZ-TCCNREQ-Q5TSC7K-ZXPWC4L-5ELGKQX-4I2P47O-2FT5QAU";
|
||||
};
|
||||
|
||||
folders = {
|
||||
"wiki" = {
|
||||
path = "/var/lib/wiki";
|
||||
devices = [ "homura" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
systemd.tmpfiles.rules = [ "d /var/lib/wiki 0755 syncthing syncthing -" ];
|
||||
|
||||
postgres.enable = true;
|
||||
|
||||
shell.enabledShells = [ "fish" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue