Getting syncthing working. Removing ctrl-A key binding for now

This commit is contained in:
2026-01-10 16:32:55 -07:00
parent 1cfc1e074a
commit bd36e83523
2 changed files with 21 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
{pkgs, lib, ... }:
let
secrets = import ./secrets.nix;
in
{
home.homeDirectory = "/home/dustinswan";
@@ -63,6 +67,22 @@
services.syncthing = {
enable = true;
settings = {
devices = {
"Laptop" = { id = secrets.syncthing.laptop; };
"Phone" = { id = secrets.syncthing.phone; };
};
folders = {
"Camera" = {
path = "~/Camera";
devices = [ "Laptop" "Phone" ];
};
"Sync" = {
path = "~/Sync";
devices = [ "Laptop" "Phone" ];
};
};
};
};
services.gpg-agent = {