Move notes into a mixin, standardise notes path

This commit is contained in:
Oliver Davies 2025-04-10 22:22:07 +01:00
parent 2f5a6de425
commit f6177a3be0
4 changed files with 2 additions and 20 deletions

View file

@ -14,6 +14,7 @@ in
mixins-docker
mixins-fzf
mixins-node
mixins-notes
mixins-phpactor
mixins-ranger
mixins-scripts
@ -25,7 +26,6 @@ in
(import ../../modules/mixins/git.nix { inherit git; })
./modules/notes.nix
./modules/wiki.nix
];

View file

@ -1,18 +0,0 @@
{
home-manager.users.opdavies =
{ config, pkgs, ... }:
{
xdg = {
enable = true;
userDirs.enable = true;
};
home = {
packages = with pkgs; [ notes ];
sessionVariables = {
NOTES_DIRECTORY = "${config.xdg.userDirs.documents}/wiki/tfw-notes";
};
};
};
}