Commit 7695b623d5d7
modules/profiles/assets/bin/capture
@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+emacsclient -n -e '(org-capture)'
\ No newline at end of file
modules/profiles/emacs.nix
@@ -185,6 +185,12 @@ in
];
};
}
+ (mkIf config.profiles.desktop.enable {
+ home.file."bin/capture" = {
+ source = ./assets/bin/capture;
+ executable = true;
+ };
+ })
(mkIf config.services.gpg-agent.enable {
services.gpg-agent.extraConfig = ''
allow-emacs-pinentry