config obsidian dir
All checks were successful
Test templates, puts into cache / nix (nix-runner) (push) Successful in 3m36s
Bump flake.lock / build (push) Successful in 16m31s

This commit is contained in:
Deepak Mallubhotla 2025-04-07 11:37:10 -05:00
parent 81b02044b9
commit 35c4234132
Signed by: deepak
GPG Key ID: 8F904A3FC7021497
2 changed files with 3 additions and 1 deletions

View File

@ -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}";
};

View File

@ -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;