dotfiles/homes/x86_64-linux/christopher@cobalt/misc/onedrive.nix
Christopher Mühl 786af32daf
Publish my config
This is the result of ~100 commits to my NixOS config. Since I haven't
always used `agenix-rekey`, this is another initial commit so that none
of the secrets in my git history are leaked
2025-07-30 23:36:39 +02:00

14 lines
387 B
Nix

{config, ...}: let
mountpoint = "${config.home.homeDirectory}/OneDrive";
in {
# onedriver sets up its own systemd service.
programs.onedrive = {
enable = true;
# settings = {
# skip_dir = "Dokumente|Backup";
# skip_dir_strict_match = "true";
# };
};
home.file."Dokumente".source = config.lib.file.mkOutOfStoreSymlink "${mountpoint}/_EchteDokumente";
}