2021-05-18 14:33:28 +00:00
|
|
|
{
|
2022-03-08 01:42:46 +00:00
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
emanote = import (import ../../nix/sources.nix).emanote;
|
|
|
|
in {
|
|
|
|
imports = [emanote.homeManagerModule];
|
2022-02-16 23:43:20 +00:00
|
|
|
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 = [
|
2022-02-18 11:38:18 +00:00
|
|
|
"${config.home.homeDirectory}/git/notes" # add as many layers as you like
|
2022-02-16 23:43:20 +00:00
|
|
|
];
|
2022-03-08 02:19:09 +00:00
|
|
|
package = emanote.defaultPackage."${builtins.currentSystem}";
|
2020-07-01 23:20:18 +00:00
|
|
|
};
|
|
|
|
}
|