1
0
Fork 0
nixos-config/home-manager/roles/zettelkasten.nix

17 lines
474 B
Nix
Raw Normal View History

2022-02-16 23:43:20 +00:00
{ config, pkgs, ... }:
2020-07-01 23:20:18 +00:00
let
2022-02-16 23:43:20 +00:00
emanote = import (import ../../nix/sources.nix).emanote;
2021-05-18 14:33:28 +00:00
in
{
2022-02-16 23:43:20 +00:00
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/content" # add as many layers as you like
];
package = emanote.defaultPackage.${builtins.currentSystem};
2020-07-01 23:20:18 +00:00
};
}