Set the notes directory path
This commit is contained in:
parent
434c40597b
commit
452f5875ce
|
@ -25,7 +25,7 @@
|
|||
exit 1
|
||||
fi
|
||||
|
||||
output_file="$HOME/Documents/videos.json"
|
||||
output_file="''${DOCUMENTS}/videos.json"
|
||||
|
||||
${pkgs.tree}/bin/tree -J "$source_path/Videos" | ${pkgs.jq}/bin/jq . > "$output_file"
|
||||
${pkgs.jq}/bin/jq . < "$output_file"
|
||||
|
|
|
@ -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…
Reference in a new issue