diff --git a/nixos76/alex/home.nix b/nixos76/alex/home.nix index a0c94d5..da5c941 100644 --- a/nixos76/alex/home.nix +++ b/nixos76/alex/home.nix @@ -24,6 +24,7 @@ mpv nextcloud-client nixpkgs-fmt + obsidian picard spotify steam diff --git a/nixos76/system/configuration.nix b/nixos76/system/configuration.nix index 5f84c18..e1830e5 100644 --- a/nixos76/system/configuration.nix +++ b/nixos76/system/configuration.nix @@ -201,6 +201,35 @@ wget ]; + # Syncthing + services = { + syncthing = { + enable = true; + user = "alex"; + dataDir = "/home/alex/Sync"; + configDir = "/home/alex/Sync/.config/syncthing"; + overrideDevices = true; # overrides any devices added or deleted through the WebUI + overrideFolders = true; # overrides any folders added or deleted through the WebUI + settings = { + devices = { + "atauno" = { id = "TXSURD2-XCKOLDG-DJ76OOK-JZXOE3Q-XXTNOIM-XR5LB2B-YWBV2ER-6KRFIQN"; }; + }; + folders = { + # "Documents" = { + # # Name of folder in Syncthing, also the folder ID + # path = "/home/myusername/Documents"; # Which folder to add to Syncthing + # devices = [ "device1" "device2" ]; # Which devices to share the folder with + # }; + "vaults" = { + path = "/home/alex/vaults"; + devices = [ "atauno" ]; + ignorePerms = false; # By default, Syncthing doesn't sync file permissions. This line enables it for this folder. + }; + }; + }; + }; + }; + services.blueman.enable = true; services.printing.enable = true;