{ config, lib, pkgs, ... }: let mutableSymlink = config.lib.file.mkOutOfStoreSymlink; in { # TODO: Move to programs/age.nix. xdg.configFile."sops/age/keys.txt".source = mutableSymlink "/persist/vault/${config.home.username}/keys/melbourne"; sydnix.impermanence = { enable = true; directories = [ "Music" "Pictures" "Documents" "Videos" "src" "org" ".ssh" { directory = ".local/share/Steam"; method = "symlink"; } ".passage" ]; }; # TODO: sydnix.syncthing module services.syncthing = { enable = true; settings = { overrideDevices = true; overrideFolders = true; devices = { "guix-rebound".id = "Q5B6LIV-5HQMWWV-XFQL5IT-PHP7PVE-XFWUVHK-F6WJ42C-OPMR4M7-GFNK3AG"; }; folders = { "org" = { path = "~/org"; devices = [ "guix-rebound" ]; ignorePerms = true; }; }; }; }; }