Files
sydnix/users/crumb/files.nix
Madeleine Sydney 273d4995a7 feat: Org-roam
- Sets some basic keybinds.
- Sets up a temporary Syncthing config on the Nix end.
  - This ought to be replaced with a nicer system at some point.
2025-02-15 12:10:07 -07:00

47 lines
986 B
Nix
Executable File

{ 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;
};
};
};
};
}