diff --git a/.gitignore b/.gitignore index cce9167..0a9bee8 100644 --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,6 @@ nvim/lazy-lock.json !btop !btop/btop.conf !btop/themes/**/* + +!unison +!unison/**/*.prf \ No newline at end of file diff --git a/fish/config.fish b/fish/config.fish index 376e2a2..48c8483 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -22,8 +22,11 @@ export DOTNET_ROOT=$HOME/.dotnet ## Node Version Manager export NVM_DIR=$HOME/.nvm +## Unison +export UNISON=$HOME/.config/unison + ## Spicetify -fish_add_path /home/wessel/.spicetify +fish_add_path $HOME/.spicetify ## JOZ tools export JOZ_PATH=$HOME/Documents/devel diff --git a/unison/default.prf b/unison/default.prf new file mode 100644 index 0000000..688816b --- /dev/null +++ b/unison/default.prf @@ -0,0 +1,19 @@ +# Unison preferences file +# Unison profile for syncing Obsidian vault and main.kdbx + +# Root paths +root = /mnt/wessel +root = /home/wessel + +# Sync only these items +path = Documents/obsidian.md +path = _keepass + +# Sync settings +auto = true +batch = true +perms = 0 +fastcheck = true +prefer = newer +log = true +times = true