mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-04-05 19:48:07 +02:00
telecom: init syncthings
This commit is contained in:
parent
de15bd0f10
commit
adefc610e9
1 changed files with 20 additions and 0 deletions
|
@ -128,6 +128,26 @@
|
||||||
|
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
|
|
||||||
|
services.syncthing = {
|
||||||
|
enable = true;
|
||||||
|
user = "julien";
|
||||||
|
group = "users";
|
||||||
|
settings.options.urAccepted = -1;
|
||||||
|
overrideDevices = true;
|
||||||
|
overrideFolders = true;
|
||||||
|
devices = {
|
||||||
|
"tower" = { id = "XEPZZIP-GX73OKE-KNGZA47-XWWGI5G-LNXPU57-BMLXK5M-VNGS5UQ-ZFIZSAK"; };
|
||||||
|
};
|
||||||
|
folders = {
|
||||||
|
"dev" = {
|
||||||
|
path = "/home/julien/dev";
|
||||||
|
devices = [ "tower" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.services.syncthing.serviceConfig.StateDirectory = "syncthing";
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
tailscale
|
tailscale
|
||||||
brightnessctl
|
brightnessctl
|
||||||
|
|
Loading…
Add table
Reference in a new issue