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-docker
|
||||||
mixins-fzf
|
mixins-fzf
|
||||||
mixins-node
|
mixins-node
|
||||||
|
mixins-notes
|
||||||
mixins-phpactor
|
mixins-phpactor
|
||||||
mixins-ranger
|
mixins-ranger
|
||||||
mixins-scripts
|
mixins-scripts
|
||||||
|
@ -25,7 +26,6 @@ in
|
||||||
|
|
||||||
(import ../../modules/mixins/git.nix { inherit git; })
|
(import ../../modules/mixins/git.nix { inherit git; })
|
||||||
|
|
||||||
./modules/notes.nix
|
|
||||||
./modules/wiki.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-qutebrowser
|
||||||
mixins-mpv
|
mixins-mpv
|
||||||
mixins-node
|
mixins-node
|
||||||
|
mixins-notes
|
||||||
mixins-phpactor
|
mixins-phpactor
|
||||||
mixins-pipewire
|
mixins-pipewire
|
||||||
mixins-ranger
|
mixins-ranger
|
||||||
|
@ -50,7 +51,6 @@ in
|
||||||
./modules/cron.nix
|
./modules/cron.nix
|
||||||
./modules/neomutt.nix
|
./modules/neomutt.nix
|
||||||
./modules/newsboat
|
./modules/newsboat
|
||||||
./modules/notes.nix
|
|
||||||
./modules/wiki.nix
|
./modules/wiki.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue