mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
update syncthing for vault
This commit is contained in:
parent
be04a00cf5
commit
7ee5eb7cf4
@ -1,10 +1,15 @@
|
|||||||
{ config, lib, pkgs, user, ... }:
|
{ config, lib, pkgs, user, ... }:
|
||||||
{
|
{
|
||||||
|
networking.firewall.allowedTCPPorts = [ 8384 22000 ];
|
||||||
|
networking.firewall.allowedUDPPorts = [ 22000 21027 ];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ syncthing ];
|
environment.systemPackages = with pkgs; [ syncthing ];
|
||||||
|
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
user = "${user}";
|
user = "${user}";
|
||||||
configDir = "/home/${user}/.config/syncthing";
|
configDir = "/home/${user}/.config/syncthing";
|
||||||
|
guiAddress = "0.0.0.0:8384";
|
||||||
overrideDevices = true;
|
overrideDevices = true;
|
||||||
overrideFolders = true;
|
overrideFolders = true;
|
||||||
devices = {
|
devices = {
|
||||||
|
@ -1,14 +1,20 @@
|
|||||||
{ config, lib, pkgs, user, ... }:
|
{ config, lib, pkgs, user, ... }:
|
||||||
{
|
{
|
||||||
|
networking.firewall.allowedTCPPorts = [ 8384 22000 ];
|
||||||
|
networking.firewall.allowedUDPPorts = [ 22000 21027 ];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ syncthing ];
|
environment.systemPackages = with pkgs; [ syncthing ];
|
||||||
|
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
user = "${user}";
|
user = "${user}";
|
||||||
configDir = "/home/${user}/.config/syncthing";
|
configDir = "/home/${user}/.config/syncthing";
|
||||||
|
guiAddress = "0.0.0.0:8384";
|
||||||
overrideDevices = true;
|
overrideDevices = true;
|
||||||
overrideFolders = true;
|
overrideFolders = true;
|
||||||
devices = {
|
devices = {
|
||||||
"bulwark" = { id = "B5HZK2V-WA4WSQF-3JAIH4I-C6XQZ6J-EMMAIV5-CCYOA5G-N57GT6A-WH2GCQ2"; };
|
"bulwark" = { id = "B5HZK2V-WA4WSQF-3JAIH4I-C6XQZ6J-EMMAIV5-CCYOA5G-N57GT6A-WH2GCQ2"; };
|
||||||
|
"torus" = { id = "WCZYHD7-5Y33SSU-74JHAQR-V7LYMDM-SDG2NTN-DJ2VKF2-DUBBUE5-PU5CGQN"; };
|
||||||
};
|
};
|
||||||
folders = {
|
folders = {
|
||||||
"Gamecube Saves" = {
|
"Gamecube Saves" = {
|
||||||
@ -19,6 +25,10 @@
|
|||||||
path = "/home/${user}/.local/share/yuzu/nand/user/save/0000000000000000/705C6CE0127692D598F92E68B640D644";
|
path = "/home/${user}/.local/share/yuzu/nand/user/save/0000000000000000/705C6CE0127692D598F92E68B640D644";
|
||||||
devices = [ "bulwark" ];
|
devices = [ "bulwark" ];
|
||||||
};
|
};
|
||||||
|
"Vault" = {
|
||||||
|
path = "/home/${user}/documents/vault";
|
||||||
|
devices = [ "torus" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,15 +1,25 @@
|
|||||||
{ config, lib, pkgs, user, ... }:
|
{ config, lib, pkgs, user, ... }:
|
||||||
{
|
{
|
||||||
|
networking.firewall.allowedTCPPorts = [ 8384 22000 ];
|
||||||
|
networking.firewall.allowedUDPPorts = [ 22000 21027 ];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ syncthing ];
|
environment.systemPackages = with pkgs; [ syncthing ];
|
||||||
|
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
user = "${user}";
|
user = "${user}";
|
||||||
configDir = "/home/${user}/.config/syncthing";
|
configDir = "/home/${user}/.config/syncthing";
|
||||||
|
guiAddress = "0.0.0.0:8384";
|
||||||
overrideDevices = true;
|
overrideDevices = true;
|
||||||
overrideFolders = true;
|
overrideFolders = true;
|
||||||
devices = {
|
devices = {
|
||||||
|
"kestrel" = { id = "TY6I6UK-YWXZYB4-7DKSB5Y-6ZBGE6U-T5WNJK4-KPLTXP7-ZTZQPXU-LX4HPQZ"; };
|
||||||
};
|
};
|
||||||
folders = {
|
folders = {
|
||||||
|
"Vault" = {
|
||||||
|
path = "/engi/apps/dufs/vault";
|
||||||
|
devices = [ "kestrel" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user