remove old nb module

This commit is contained in:
colin 2023-01-06 16:15:49 +00:00
parent 0f0b728911
commit e47f9e38ce
2 changed files with 0 additions and 28 deletions

View File

@ -20,7 +20,6 @@ in
./git.nix
./kitty.nix
./mpv.nix
./nb.nix
./neovim.nix
./splatmoji.nix
./ssh.nix

View File

@ -1,27 +0,0 @@
# nb is a CLI-drive Personal Knowledge Manager
# - <https://xwmx.github.io/nb/>
#
# it's pretty opinionated:
# - autocommits (to git) excessively (disable-able)
# - inserts its own index files to give deterministic names to files
#
# it offers a primitive web-server
# and it offers some CLI query tools
{ config, lib, pkgs, ... }:
# lib.mkIf config.sane.home-manager.enable
lib.mkIf false # XXX disabled!
{
sane.packages.extraUserPkgs = [ pkgs.nb ];
home-manager.users.colin = { config, ... }: {
# nb markdown/personal knowledge manager
home.file.".nb/knowledge".source = config.lib.file.mkOutOfStoreSymlink "/home/colin/knowledge";
home.file.".nb/.current".text = "knowledge";
home.file.".nbrc".text = ''
# manage with `nb settings`
export NB_AUTO_SYNC=0
'';
};
}