Set the notes directory path
This commit is contained in:
parent
434c40597b
commit
452f5875ce
3 changed files with 14 additions and 2 deletions
nix/modules/home-manager
|
@ -20,4 +20,8 @@
|
|||
})
|
||||
./features/desktop
|
||||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
DOCUMENTS = "$HOME/Documents";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue