feat(syncthing): Device sydpc
This commit is contained in:
@@ -23,6 +23,8 @@ in {
|
||||
"OO6XGGQ-SORH6XW-YEMN3T3-CSW5QOO-2IRB2QE-NZOL6JE-RAV36GS-WZXXLQV";
|
||||
"nixos-testbed".id =
|
||||
"BO3AESA-LBKMZW7-QFE7NTT-GF62DOA-PYUACYU-HNTNYI5-EMF6PAN-TR6YHAL";
|
||||
"sydpc".id =
|
||||
"XROSJRC-SLAAOTG-L3HQ5TT-WAKL5PJ-QAIFJEY-FUG5AAO-5ACBTA3-MGQQFQI";
|
||||
};
|
||||
readOnly = true;
|
||||
description = ''
|
||||
@@ -50,6 +52,8 @@ in {
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
openDefaultPorts = true;
|
||||
overrideDevices = true;
|
||||
overrideFolders = true;
|
||||
settings = {
|
||||
gui = {
|
||||
# TODO: Figure out how to read credentials from a file.
|
||||
@@ -57,8 +61,6 @@ in {
|
||||
user = "lain";
|
||||
password = "my-awesome-password";
|
||||
};
|
||||
overrideDevices = true;
|
||||
overrideFolders = true;
|
||||
devices =
|
||||
lib.filterAttrs
|
||||
(k: _v: builtins.elem k cfg.includeDevices)
|
||||
|
||||
Reference in New Issue
Block a user