Add syncthing config for H0615
This commit is contained in:
parent
dee52a5583
commit
4b5b25d3ca
|
@ -6,6 +6,7 @@
|
|||
./hardware/audio.nix
|
||||
./locales/en_GB.nix
|
||||
./desktop/hyprland.nix
|
||||
./syncthing/H0615.nix
|
||||
];
|
||||
|
||||
networking.hostName = "H0615"; # Define your hostname.
|
||||
|
|
19
syncthing/H0615.nix
Normal file
19
syncthing/H0615.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -8,7 +8,7 @@
|
|||
extraOptions = {
|
||||
options = {
|
||||
globalAnnounceEnabled = lib.mkDefault false;
|
||||
localAnnounceEnabled = lib.mkDefault false;
|
||||
localAnnounceEnabled = lib.mkDefault true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue