remove old nb
module
This commit is contained in:
@@ -20,7 +20,6 @@ in
|
|||||||
./git.nix
|
./git.nix
|
||||||
./kitty.nix
|
./kitty.nix
|
||||||
./mpv.nix
|
./mpv.nix
|
||||||
./nb.nix
|
|
||||||
./neovim.nix
|
./neovim.nix
|
||||||
./splatmoji.nix
|
./splatmoji.nix
|
||||||
./ssh.nix
|
./ssh.nix
|
||||||
|
@@ -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
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
|
Reference in New Issue
Block a user