mirror of
https://github.com/kmein/niveum
synced 2026-03-19 03:21:10 +01:00
fix(tuna): new syncthing syntax
This commit is contained in:
@@ -19,17 +19,15 @@ in
|
|||||||
openDefaultPorts = true;
|
openDefaultPorts = true;
|
||||||
configDir = "${mpd-directory}/.config/syncthing";
|
configDir = "${mpd-directory}/.config/syncthing";
|
||||||
dataDir = "${mpd-directory}/.config/syncthing";
|
dataDir = "${mpd-directory}/.config/syncthing";
|
||||||
declarative = rec {
|
cert = toString <system-secrets/syncthing/cert.pem>;
|
||||||
cert = toString <system-secrets/syncthing/cert.pem>;
|
key = toString <system-secrets/syncthing/key.pem>;
|
||||||
key = toString <system-secrets/syncthing/key.pem>;
|
devices = {
|
||||||
devices = {
|
inherit ((import <niveum/lib>).syncthing.devices) kabsa manakish heym;
|
||||||
inherit ((import <niveum/lib>).syncthing.devices) kabsa manakish heym;
|
};
|
||||||
};
|
folders.${config.services.mpd.musicDirectory} = {
|
||||||
folders.${config.services.mpd.musicDirectory} = {
|
devices = [ "heym" "kabsa" "manakish" ];
|
||||||
devices = [ "heym" "kabsa" "manakish" ];
|
id = "music";
|
||||||
id = "music";
|
type = "receiveonly";
|
||||||
type = "receiveonly";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user