shitcoding moment
This commit is contained in:
parent
8e31bd6c02
commit
58475e433e
28 changed files with 703 additions and 258 deletions
36
desktops/aqore-nix/services/syncthing.nix
Normal file
36
desktops/aqore-nix/services/syncthing.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
services = {
|
||||
syncthing = {
|
||||
enable = true;
|
||||
group = "users";
|
||||
user = "in5ar";
|
||||
dataDir = "/home/in5ar/Documents";
|
||||
configDir = "/home/in5ar/.config/syncthing";
|
||||
overrideDevices = true;
|
||||
overrideFolders = true;
|
||||
settings = {
|
||||
devices = {
|
||||
"likho" = { id = "FGFH7II-IX7RTPY-VNDJRDJ-CILUQMZ-W3KVCNW-MPWCNZD-RJI4O54-G5HSQAN"; };
|
||||
"reine" = { id = "6IJXCEC-SYB7HYK-CP6SVB2-SQI55YX-IYHBDWM-TIP3F6S-4CSXT4O-72YTWA3"; };
|
||||
"lucren" = { id = "SRWLK27-BQ65MC3-QKUHDV2-UMSF2XH-5GZSSVL-NLKXV7X-R6DPUZY-Y2GQFQR"; };
|
||||
};
|
||||
folders = {
|
||||
"albzx-qw9rs" = {
|
||||
path = "/mnt/ssd/replica/Models/";
|
||||
devices = [ "likho" ];
|
||||
};
|
||||
"alteya-music" = {
|
||||
path = "/home/in5ar/Alteya/Music/";
|
||||
devices = [ "reine" ];
|
||||
};
|
||||
"persona5" = {
|
||||
path = "/home/in5ar/P5R/archives/";
|
||||
devices = [ "lucren" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue