all repos — nixfiles @ c47421a5bb836e218a16caf9b59ecd2356000999

System and user configuration, managed by nix and home-manager

remove knowledge

Alan Pearce
commit

c47421a5bb836e218a16caf9b59ecd2356000999

parent

39490b0e728bd41e935027bcdddefb41db5ca9c3

3 files changed, 0 insertions(+), 80 deletions(-)

changed files
M user/hosts/marvin.nix → user/hosts/marvin.nix
@@ -12,7 +12,6 @@ ../settings/darwin.nix
../settings/emacs.nix ../settings/fish.nix ../settings/git.nix - ../settings/knowledge.nix ../settings/nixpkgs.nix ../settings/ssh.nix ../settings/workstation.nix
M user/settings/emacs/post-init.el → user/settings/emacs/post-init.el
@@ -1196,19 +1196,6 @@ (use-package consult-eglot
:commands (consult-eglot-symbols) :after eglot) -(use-package zk - :config (progn - (setq zk-directory (expand-file-name "~/Sync/Notebook") - zk-file-extension "md") - (zk-setup-auto-link-buttons))) - -(use-package zk-consult - :config (progn - (setq zk-tag-search-function #'zk-consult-grep-tag-search - zk-search-function #'zk-consult-grep))) - -(use-package zk-index) - ;;;; Reformat on save (use-package apheleia
D user/settings/knowledge.nix
@@ -1,66 +0,0 @@
-{ - config, - lib, - pkgs, - ... -}: -let - notebook = { - dir = "${config.home.homeDirectory}/Sync/Notebook"; - }; -in -{ - programs.zk = { - enable = true; - settings = { - inherit notebook; - filter = { - recents = "--sort created- --created-after 'last two weeks'"; - journal = "--sort created journal"; - }; - alias = { - bl = "zk list --link-to $@"; - conf = "$EDITOR \"$ZK_NOTEBOOK_DIR/.zk/config.toml\""; - paths = "zk list --quiet --format \"'{{path}}'\" --delimiter ' ' $@"; - unlinked-mentions = "zk list --mentioned-by $1 --no-linked-by $1"; - daily = "zk new --no-input '${notebook.dir}/journals'"; - dn = "zk daily"; - }; - tools = { - shell = lib.mkDefault "/bin/bash"; # for aliases, fish doesn't work so well - }; - }; - }; - - home.packages = with pkgs; [ - iwe - ]; - - programs.nixvim.plugins = { - zk = { - enable = true; - settings = { - picker = "telescope"; - }; - }; - lsp.servers.zk = { - enable = true; - }; - }; - - programs.emacs = { - extraPackages = - epkgs: - (with epkgs; [ - zk - zk-index - zk-consult - ]); - }; - - programs.zed-editor = { - extensions = [ - "IWE" - ]; - }; -}