Set the notes directory path

This commit is contained in:
Oliver Davies 2024-12-16 17:58:54 +00:00
parent 434c40597b
commit 452f5875ce
3 changed files with 14 additions and 2 deletions
nix/modules/home-manager

View file

@ -20,4 +20,8 @@
})
./features/desktop
];
home.sessionVariables = {
DOCUMENTS = "$HOME/Documents";
};
}

View file

@ -1,5 +1,13 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [ notes ];
home = {
packages = with pkgs; [ notes ];
sessionVariables = {
NOTES_DIRECTORY = "$WIKI_DIRECTORY/notes";
WIKI_DIRECTORY = "$DOCUMENTS/wiki";
};
};
}