From 8bd3e9388883112f6944ef653f8ed376c781ebbb Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.dev>
Date: Sun, 5 May 2024 20:21:13 +0100
Subject: [PATCH] Include .tmux.conf.local file if it exists

---
 lib/shared/modules/tmux.nix | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/shared/modules/tmux.nix b/lib/shared/modules/tmux.nix
index ca810dd4..7f73be20 100644
--- a/lib/shared/modules/tmux.nix
+++ b/lib/shared/modules/tmux.nix
@@ -102,6 +102,8 @@ in {
       bind-key -r W run-shell "t ~/Documents/wiki"
 
       set -g @resurrect-strategy-nvim 'session'
+
+      if-shell "[ -f ~/.tmux.conf.local ]" 'source ~/.tmux.conf.local'
     '';
 
     plugins =