1
0
Fork 0
nixos-config/home-manager/roles/zettelkasten.nix
2022-03-08 03:19:09 +01:00

19 lines
472 B
Nix

{
config,
pkgs,
...
}: let
emanote = import (import ../../nix/sources.nix).emanote;
in {
imports = [emanote.homeManagerModule];
services.emanote = {
enable = true;
# host = "127.0.0.1"; # default listen address is 127.0.0.1
# port = 7000; # default http port is 7000
notes = [
"${config.home.homeDirectory}/git/notes" # add as many layers as you like
];
package = emanote.defaultPackage."${builtins.currentSystem}";
};
}