mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-12-10 07:59:43 +00:00
Compare commits
No commits in common. "d20c694296b865373726d403b05fb27523d6334a" and "d4e0c6c62b8527f6871def9dca93da32d64a5b7d" have entirely different histories.
d20c694296
...
d4e0c6c62b
4 changed files with 25 additions and 4 deletions
|
|
@ -126,6 +126,7 @@
|
|||
|
||||
animations = {
|
||||
enabled = true;
|
||||
first_launch_animation = false;
|
||||
bezier = [
|
||||
"easeOutQuint,0.23,1,0.32,1"
|
||||
"easeInOutCubic,0.65,0.05,0.36,1"
|
||||
|
|
|
|||
|
|
@ -7,6 +7,6 @@
|
|||
./tailscale.nix
|
||||
./flatpak.nix
|
||||
./restic.nix
|
||||
./zerotierone.nix
|
||||
./syncthing.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
23
hosts/nixos/modules/services/syncthing.nix
Normal file
23
hosts/nixos/modules/services/syncthing.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
user = "toast";
|
||||
group = "users";
|
||||
configDir = "/home/toast/.config/syncthing";
|
||||
extraFlags = [ "--no-default-folder" ];
|
||||
overrideDevices = true;
|
||||
overrideFolders = true;
|
||||
settings = {
|
||||
devices = {
|
||||
"phone" = { id = "XIRT2YS-3PZY7PF-PL4QTYK-LCYCSKW-GARN5N6-KBWGSP6-YZDQGED-N7R6YQF"; };
|
||||
"tablet" = { id = "BCSESXD-F5NOKTH-QPTHZEY-XITQPKC-BVWMA36-YM72QIS-JOUPIGN-2S7LRAU"; };
|
||||
};
|
||||
folders = {
|
||||
"obsidian" = {
|
||||
path = "/data/Backup/Obsidian/";
|
||||
devices = [ "phone" "tablet" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
services.zerotierone.enable = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue