Move notes into a mixin, standardise notes path
This commit is contained in:
parent
2f5a6de425
commit
f6177a3be0
4 changed files with 2 additions and 20 deletions
|
@ -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
|
||||
];
|
||||
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -25,6 +25,7 @@ in
|
|||
mixins-qutebrowser
|
||||
mixins-mpv
|
||||
mixins-node
|
||||
mixins-notes
|
||||
mixins-phpactor
|
||||
mixins-pipewire
|
||||
mixins-ranger
|
||||
|
@ -50,7 +51,6 @@ in
|
|||
./modules/cron.nix
|
||||
./modules/neomutt.nix
|
||||
./modules/newsboat
|
||||
./modules/notes.nix
|
||||
./modules/wiki.nix
|
||||
];
|
||||
|
||||
|
|
|
@ -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/notes";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue