This commit is contained in:
alex 2024-02-29 22:43:35 -05:00
parent c94aa78113
commit e8ee1a4ec9
2 changed files with 30 additions and 0 deletions

View File

@ -24,6 +24,7 @@
mpv
nextcloud-client
nixpkgs-fmt
obsidian
picard
spotify
steam

View File

@ -201,6 +201,35 @@
wget
];
# Syncthing
services = {
syncthing = {
enable = true;
user = "alex";
dataDir = "/home/alex/Sync";
configDir = "/home/alex/Sync/.config/syncthing";
overrideDevices = true; # overrides any devices added or deleted through the WebUI
overrideFolders = true; # overrides any folders added or deleted through the WebUI
settings = {
devices = {
"atauno" = { id = "TXSURD2-XCKOLDG-DJ76OOK-JZXOE3Q-XXTNOIM-XR5LB2B-YWBV2ER-6KRFIQN"; };
};
folders = {
# "Documents" = {
# # Name of folder in Syncthing, also the folder ID
# path = "/home/myusername/Documents"; # Which folder to add to Syncthing
# devices = [ "device1" "device2" ]; # Which devices to share the folder with
# };
"vaults" = {
path = "/home/alex/vaults";
devices = [ "atauno" ];
ignorePerms = false; # By default, Syncthing doesn't sync file permissions. This line enables it for this folder.
};
};
};
};
};
services.blueman.enable = true;
services.printing.enable = true;