From 35c42341328778d2840b0713e1d8eb05ab8216d9 Mon Sep 17 00:00:00 2001 From: Deepak Mallubhotla Date: Mon, 7 Apr 2025 11:37:10 -0500 Subject: [PATCH] config obsidian dir --- home/deepak/home.nix | 3 ++- hosts/hosts.nix | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/home/deepak/home.nix b/home/deepak/home.nix index 65d826a..c815df8 100644 --- a/home/deepak/home.nix +++ b/home/deepak/home.nix @@ -81,6 +81,7 @@ in home.sessionVariables = let win_home_dir = specialArgs.win_home_dir or "/mnt/c/Users/Deepak"; + obsidian_dir = specialArgs.obsidian_dir or "/mnt/c/Users/Deepak/Documents/vault01"; in { # Namespace our own nixconf variables with DPK @@ -90,7 +91,7 @@ in # Different per host # DPK_WIN_HOME_DIR = "${win_home_dir}"; - DPK_OBSIDIAN_DIR = "/mnt/c/Users/Deepak/Documents/vault01"; + DPK_OBSIDIAN_DIR = "${obsidian_dir}"; # UV_PYTHON = "${default_python}"; }; diff --git a/hosts/hosts.nix b/hosts/hosts.nix index 0220bc8..c302387 100644 --- a/hosts/hosts.nix +++ b/hosts/hosts.nix @@ -67,6 +67,7 @@ in home-manager.extraSpecialArgs = { withGUI = false; gitSigningKey = "8F904A3FC7021497"; + obsidian_dir = "/mnt/d/applications/obsidian/vault01"; inherit nixpkgs-unstable; }; home-manager.useGlobalPkgs = true;