Add syncthing config for H0615

This commit is contained in:
Evie Litherland-Smith 2023-05-09 13:52:52 +01:00
parent dee52a5583
commit 4b5b25d3ca
3 changed files with 21 additions and 1 deletions

View file

@ -6,6 +6,7 @@
./hardware/audio.nix ./hardware/audio.nix
./locales/en_GB.nix ./locales/en_GB.nix
./desktop/hyprland.nix ./desktop/hyprland.nix
./syncthing/H0615.nix
]; ];
networking.hostName = "H0615"; # Define your hostname. networking.hostName = "H0615"; # Define your hostname.

19
syncthing/H0615.nix Normal file
View file

@ -0,0 +1,19 @@
{ ... }:
{
imports = [ ./default.nix ./devices/ion.nix ];
services.syncthing = {
user = "elitherl";
group = "users";
dataDir = "/home/elitherl";
folders = {
Sync = {
path = "/home/elitherl/Sync";
label = "UKAEA";
id = "fwzht-j7hrc";
devices = [ "ion" ];
ignorePerms = true;
enable = true;
};
};
};
}

View file

@ -8,7 +8,7 @@
extraOptions = { extraOptions = {
options = { options = {
globalAnnounceEnabled = lib.mkDefault false; globalAnnounceEnabled = lib.mkDefault false;
localAnnounceEnabled = lib.mkDefault false; localAnnounceEnabled = lib.mkDefault true;
}; };
}; };
}; };