Commit graph

302 commits

Author SHA1 Message Date
Evie Litherland-Smith 861260c98d Convert org-mode section of config.org
Add TODO flags to outstanding sections
2023-11-06 11:53:18 +00:00
Evie Litherland-Smith 286c354ec6 Remove some unused bits of config.org 2023-11-06 07:29:51 +00:00
Evie Litherland-Smith 0f35e21716 Make babel load path dynamic instead of fixed to .config
Remove crafted-emacs input and tokyonight theme (and uses)

Remove old emacs files so I don't get confused
2023-11-06 07:18:06 +00:00
Evie Litherland-Smith cecc9b63d1 Initial setup of org babel config 2023-11-06 07:11:31 +00:00
Evie Litherland-Smith 0d2fe2b6a7 Move mu4e icon setup to ui-config 2023-11-05 08:14:51 +00:00
Evie Litherland-Smith 52a51a8700 Add keymap to add file to citar 2023-11-05 06:04:04 +00:00
Evie Litherland-Smith e0d43ac02b Remove doom-themes package 2023-11-05 05:56:48 +00:00
Evie Litherland-Smith b14a2991b2 Switch back to catppuccin (macchiato)
Move emacs config from system level to home-manager to make use of
stylix theming

Add git-gutter package for emacs
2023-11-05 05:55:52 +00:00
Evie Litherland-Smith 9294ce5626 Add bind for opening citar link
Change org capture templates to use dedicated inbox.org file (under
relevant headings), with the aim to sort notes later after taking
2023-11-04 21:09:29 +00:00
Evie Litherland-Smith cca03702c5 Add citar and some initial config
Setup references directory to keep bibliographies and reference PDFs,
sync with git-sync
2023-11-04 21:00:13 +00:00
Evie Litherland-Smith 48aa8b1a5a Add keymap to open/refresh dashboard
Replace use of keymap-set global-map with keymap-global-set for brevity
2023-11-04 12:23:46 +00:00
Evie Litherland-Smith ecab40b62b Emacs UI tweaks
Add recent files back to dashboard, add hook to update khalel events
2023-11-04 12:19:02 +00:00
Evie Litherland-Smith c78a6f518c Add keymap to open elfeed 2023-11-04 10:20:42 +00:00
Evie Litherland-Smith 762ee79929 Add mu4e header action to capture with org-mode 2023-11-03 16:02:24 +00:00
Evie Litherland-Smith 33f6eaff65 Add Xenia email context, change key/name for work email 2023-11-03 07:15:55 +00:00
Evie Litherland-Smith 05c376a230 Adjust emacs ui config 2023-11-03 07:03:40 +00:00
Evie Litherland-Smith ec0aba20d4 Change UI settings
mu4e use own modeline config, rather than doom-modeline

Remove wttr from modeline

Check system-type before customising UI (hopefully support android/termux)
2023-11-03 06:34:49 +00:00
Evie Litherland-Smith 00df579c67 Fix (hopefully) enabling flyspell automatically 2023-11-02 16:56:50 +00:00
Evie Litherland-Smith ce763e1687 Enable pretty entities in org files 2023-11-02 16:22:46 +00:00
Evie Litherland-Smith 185b90e0f3 Re-enable menu-bar-mode
Without any border bars text would shift when opening the command buffer
2023-11-02 16:15:32 +00:00
Evie Litherland-Smith 01fb213dd8 Switch from word-wrap to visual-line-mode
Set display-line-numbers-mode as a global

Turn off menu-bar
2023-11-02 16:02:05 +00:00
Evie Litherland-Smith 3b0b0d06df Change org-journal to using monthly files
Update org-agenda format

Only show agenda on dashboard, project was causing some issues anyway
2023-11-02 15:17:42 +00:00
Evie Litherland-Smith 72f6c32022 Require package *before* adding to package-archives list 2023-11-02 15:17:01 +00:00
Evie Litherland-Smith 5ad1850a80 Update org-capture templates and add keymap to goto last captured 2023-11-02 11:18:58 +00:00
Evie Litherland-Smith 56ec494c4d Change org tag formatting 2023-11-02 07:05:04 +00:00
Evie Litherland-Smith 0410d43580 Fix typo... 2023-11-01 18:23:01 +00:00
Evie Litherland-Smith 4c36b300b1 Switch Org directory back to being a git repo 2023-11-01 18:12:17 +00:00
Evie Litherland-Smith e40ac6f61d Enable mu4e fancy chars, fix folders for iCloud account 2023-11-01 18:05:45 +00:00
Evie Litherland-Smith 0614725bb0 Use full texlive, add gs and mupdf for doc-view
Remove texlab LSP as texlive ships digestif
2023-11-01 11:03:46 +00:00
Evie Litherland-Smith a9f798f051 Fix and re-enable dashboard
Add some more fonts

Try to fix modeline fonts, still not quite working, rearranged config
to test this
2023-11-01 08:37:30 +00:00
Evie Litherland-Smith 0ee059a354 Revert "Switch emacs package definitions to use use-package"
This reverts commit 32436bb052.

Broke lots of config, TODO revisit another time
2023-10-31 07:59:37 +00:00
Evie Litherland-Smith 32436bb052 Switch emacs package definitions to use use-package
First pass, think I got everything but may need tweaking with use and testing
2023-10-31 07:45:39 +00:00
Evie Litherland-Smith 27ce6af080 Switch everything back to mu4e (from notmuch) 2023-10-31 07:12:55 +00:00
Evie Litherland-Smith 3ab4ecfde8 Open org-agenda in current window, import calendar events on refresh 2023-10-30 14:41:41 +00:00
Evie Litherland-Smith 34d1fea00c Disable aggressive-indent-mode hook 2023-10-30 14:41:18 +00:00
Evie Litherland-Smith 46d7475d06 Force sort order in notmuch saved searches 2023-10-30 10:54:59 +00:00
Evie Litherland-Smith fee71e703c Add khalel and config to sync ics files into org-agenda
Updage khal format strings to work with khalel

Remove syncing display name as contact birthdays messes with khalel
tagging (because of the space)
2023-10-30 07:03:37 +00:00
Evie Litherland-Smith 57bd555cbb Add mastodon.el config 2023-10-29 07:33:43 +00:00
Evie Litherland-Smith 0babace2b8 Add some more packages
Fix broken keybinds

Don't refresh package list on startup, have keybind for that now
2023-10-29 07:23:22 +00:00
Evie Litherland-Smith a707d2a546 Merge branch 'main' of https://git.xenia.me.uk/xenia/nixos 2023-10-29 07:02:20 +00:00
Evie Litherland-Smith 6f04773670 Add doom-modeline, nerd-icons for dired, completion, etc...
Change some keymaps that didn't need to be hydras into regular keymaps

Misc formatting of module files to be a bit easier to read/understand
2023-10-29 07:00:48 +00:00
Evie Litherland-Smith a8a85d3835 Merge branch 'main' of https://git.xenia.me.uk/xenia/nixos 2023-10-28 11:14:32 +01:00
Evie Litherland-Smith 9f3d04e231 Add wttr to emacs modeline 2023-10-28 11:14:27 +01:00
Evie Litherland-Smith c70002fb0c Fix setting elfeed directories 2023-10-28 10:41:42 +01:00
Evie Litherland-Smith bea6ff65bc Remove unused let 2023-10-28 10:41:27 +01:00
Evie Litherland-Smith 53700a9793 Remove unread tag when deleting email 2023-10-28 10:32:58 +01:00
Evie Litherland-Smith 25a2daebd2 Restore a deleted keybind 2023-10-28 10:17:37 +01:00
Evie Litherland-Smith f3c33a8648 Switch back to python-lsp-server for better single file support 2023-10-28 10:17:15 +01:00
Evie Litherland-Smith 71528d0455 Update notmuch saved searches and org-mode hydra 2023-10-28 09:27:36 +01:00
Evie Litherland-Smith aa38a0d479 Add some org templates and hydra keys for capture/calendar/journal 2023-10-27 18:16:04 +01:00
Evie Litherland-Smith 1ff7bea4c8 Move Org back to being sync'd with syncthing 2023-10-27 12:20:17 +01:00
Evie Litherland-Smith 9bc9267c8e Dashboard: align recentf filenames 2023-10-27 12:17:20 +01:00
Evie Litherland-Smith ce5dd998e2 Set frame-alpha using hook so it's not applied to popups 2023-10-27 11:54:51 +01:00
Evie Litherland-Smith a06ab54e64 Customise notmuch-hello and add hydra
Add emms hooks to show current song when changed
2023-10-27 11:45:06 +01:00
Evie Litherland-Smith f1b8a95546 Customise how dashboard is started 2023-10-27 10:45:05 +01:00
Evie Litherland-Smith 7edc3efa2b Rename to fix defaults-config file name 2023-10-27 10:34:05 +01:00
Evie Litherland-Smith 93c4a76a0d Re-enable new custom-defaults-config, remove projectile 2023-10-27 10:31:36 +01:00
Evie Litherland-Smith 5987eb3395 Remove early-init
Update what's shown on dashboard
2023-10-27 10:07:29 +01:00
Evie Litherland-Smith 9088026c8d Disable custom-defaults-config (for now, TODO fix) 2023-10-27 10:00:21 +01:00
Evie Litherland-Smith ef73c2e417 Customise dashboard
Add hydra for controlling emms
2023-10-27 08:57:48 +01:00
Evie Litherland-Smith 5c959f8bf5 Reorganise a bunch of elisp file
Set package priority manually rather than using
crafted-early-init-config

Copy crafted-defaults-config to custom-defaults-config instead

Move some things out of init.el into relevant custom config files

Add some new packages (to be configured)
2023-10-27 08:03:51 +01:00
Evie Litherland-Smith 25d87b600a Add page-break-lines 2023-10-27 07:18:16 +01:00
Evie Litherland-Smith 46adafaf28 Wrap theme setting in when check for doom-themes
Move a few more things into modules from init.el, misc formatting otherwise
2023-10-27 06:59:10 +01:00
Evie Litherland-Smith 4949fb113e Update custom configs to check if module is installed before config 2023-10-27 06:51:20 +01:00
Evie Litherland-Smith 75711282c6 Fix yasnippet config, add custom snippet from doom
Add link-hint package
2023-10-27 06:40:20 +01:00
Evie Litherland-Smith 8891a13e42 Add some emacs editor packages
Adds:
goto-chg
rainbow-delimiters
yasnippet

Enables:
aggressive-indent in editor-mode-hook
2023-10-27 06:23:51 +01:00
Evie Litherland-Smith 27d4dc83b2 Use emms-source-file-default-directory instead of calling
add-directory-tree

Set syncthing to not override folders
2023-10-26 19:56:43 +01:00
Evie Litherland-Smith 25628104a7 Merge branch 'main' of https://git.xenia.me.uk/xenia/nixos 2023-10-26 16:12:04 +01:00
Evie Litherland-Smith 678ea71f61 Add emms and initial config to emacs 2023-10-26 16:11:52 +01:00
Evie Litherland-Smith 80ddaf9cfc Switch to using git-sync for elfeed and notmuch databases
Disable both in syncthing
2023-10-26 13:30:44 +01:00
Evie Litherland-Smith 9f19f3a626 Email setting updates
Add more tagging rules to afew

Change syncing setup to run mbsync less frequently (every 30 mins) but
sync inboxes in notmuch pre hook.
Imapnotify can now just call notmuch

Update conditions to refresh notmuch-indicator (emacs)
2023-10-26 13:09:11 +01:00
Evie Litherland-Smith 78752637d3 Add crafted-early-init, remove some other crafted modules
Fork crafted-ui-config to custom-ui-config to remove dependency on demos
2023-10-25 15:47:35 +01:00
Evie Litherland-Smith b4fb72cb1e Go back to default notmuch-saved-searches 2023-10-25 10:46:06 +01:00
Evie Litherland-Smith 249806bf29 Adjust order of elisp expressions
Change custom-email-config config to start modes *after* the setting
have been applied...
2023-10-25 09:20:22 +01:00
Evie Litherland-Smith c68cc41915 Remove elfeed reference to elfeed.org in user emacs dir 2023-10-25 06:48:43 +01:00
Evie Litherland-Smith c27f50a3ac Move elfeed.org back to Org directory
Update rmh-elfeed-org-files to check both org-directory and emacs user directory
2023-10-25 06:42:48 +01:00
Evie Litherland-Smith 4965badff3 Add the fiday chillout podcast feed 2023-10-25 06:39:14 +01:00
Evie Litherland-Smith c7c35d0db3 Require notmuch-indicator 2023-10-24 22:34:55 +01:00
Evie Litherland-Smith 3856427110 Add Numberphile to elfeed 2023-10-24 21:24:03 +01:00
Evie Litherland-Smith 51d10776dc Setup elfeed-org properly 2023-10-24 21:18:00 +01:00
Evie Litherland-Smith 73a3fed630 Expand fcc-dirs rules for common aliases 2023-10-24 18:20:48 +01:00
Evie Litherland-Smith a1f19f7565 Email updates
Add afew to handle new email tagging and moving archived or deleted
mail

Add more notmuch emacs config - fcc dirs based on send address, saved
searches default to tree view, better modeline icon
2023-10-24 18:15:21 +01:00
Evie Litherland-Smith 32f58021a2 Ensure eglot starts 2023-10-24 14:45:35 +01:00
Evie Litherland-Smith 4582485ed7 Move org config into own module
Add org-journal config, add refile settings
2023-10-24 14:36:12 +01:00
Evie Litherland-Smith c892de9926 Inhibit startup splash 2023-10-24 11:22:17 +01:00
Evie Litherland-Smith 69af15746d Revert "Add crafted-emacs as submodule instead of flake input"
This reverts commit afef99d596.
2023-10-24 11:20:35 +01:00
Evie Litherland-Smith afef99d596 Add crafted-emacs as submodule instead of flake input 2023-10-24 10:55:56 +01:00
Evie Litherland-Smith f433063be4 Reduce notmuch-indicator-refresh-count 2023-10-24 10:06:55 +01:00
Evie Litherland-Smith c549ee4f97 Run emacs as a system daemon
Move emacs package definition (with emacsPackages) to system/emacs.nix
Keep user config in home-manager as emacs service is installed as user
service

Remove extra expressions (formatters, lsp_servers) and bring back into
default.nix

Move config/ directory contents up one level
2023-10-24 09:56:35 +01:00
Evie Litherland-Smith bb6a26cb7e Re-enable elfeed update hook 2023-10-24 08:07:33 +01:00
Evie Litherland-Smith 16babc3f15 Various additions / changes
Switch email from mu/mu4e to notmuch, with associated service changes

Add elfeed config, enable useful minor-modes

Slight restructure of file layout
2023-10-24 08:06:35 +01:00
Evie Litherland-Smith 815f603128 Move email config over from doom-emacs 2023-10-23 23:55:52 +01:00
Evie Litherland-Smith fbea5c3884 Fix adding tree-sitter grammars
Add nix-index-database flake
2023-10-23 21:33:06 +01:00
Evie Litherland-Smith 5af2fac4af Add tree-sitter config file 2023-10-23 21:01:34 +01:00
Evie Litherland-Smith 47770b02c5 Add direnv and rust-mode to emacs
Add kdeconnect icon for waybar MPRIS module
2023-10-23 20:32:09 +01:00
Evie Litherland-Smith 16d3253c37 Copy over some more config from doom/config.el 2023-10-23 18:02:14 +01:00
Evie Litherland-Smith 55ae93f633 Big emacs re-write to use crafted-emacs
emacs/default.nix now links new init.el and modules directories (mine
and crafted-emacs) to ~/.config/emacs/
emacs/default.nix installs emacs29-pgtk with packages as needed in
module *-config.el definitions

Add tree-sitter with required parsers

Remove doom-emacs and places it was set
2023-10-23 17:28:05 +01:00
Evie Litherland-Smith 5c9854c665 Update org-agenda format 2023-10-23 11:46:34 +01:00
Evie Litherland-Smith 33cb97192d Add starter config for using crafted emacs 2023-10-23 08:52:59 +01:00
Evie Litherland-Smith fff9af77c6 Customise elfeed-goodies display 2023-10-23 07:35:42 +01:00
Evie Litherland-Smith 4df046c0d4 Set ntfy repo, require in config.el 2023-10-22 08:26:02 +01:00
Evie Litherland-Smith fc9b85992d Add ntfy.el with config
Change default shell to use for vterm over TRAMP
2023-10-22 08:17:53 +01:00
Evie Litherland-Smith dccc55a301 Set elfeed directories 2023-10-22 07:43:30 +01:00
Evie Litherland-Smith 548977c6fe Move formatters and lsp_servers into separate files 2023-10-22 06:32:26 +01:00
Evie Litherland-Smith 736750b21c Add emacs mpv package 2023-10-21 07:50:28 +01:00
Evie Litherland-Smith 7eec811ce2 Add elfeed-tube package 2023-10-20 22:56:15 +01:00
Evie Litherland-Smith 54bcb66a8d Remove roam/daily from org-agenda-files 2023-10-20 16:51:55 +01:00
Evie Litherland-Smith dda19b7660 Set delta to use stylix-generated syntax theme
Update git config for better delta experience
Remove gitui, wasn't using it anyway...
Clean up SSH host definitions a bit
Remove emacs magit-delta and yuck-mode packages
2023-10-20 15:23:16 +01:00
Evie Litherland-Smith 581295af0a Fix magit definition to use magit-delta now
Remove private config shortcut from dashboard
2023-10-20 14:00:57 +01:00
Evie Litherland-Smith 4663abd15f Re-enable elfeed, use org file for configuration 2023-10-20 11:45:42 +01:00
Evie Litherland-Smith c10cee9c76 Adjust mbsync timing, emacs mu4e check now pulls inboxes 2023-10-19 14:19:34 +01:00
Evie Litherland-Smith e37f6a9d31 Enable git-sync for org notes directory 2023-10-19 06:33:56 +01:00
Evie Litherland-Smith 11dcf088e9 Merge branch 'main' of https://git.xenia.me.uk/xenia/nixos 2023-10-19 06:27:28 +01:00
Evie Litherland-Smith 2ac8995984 Move org directory from ~/Notes to ~/Org
Coincide with moving notes to git repo
2023-10-19 06:20:57 +01:00
Evie Litherland-Smith 708df00cea Back to using pyright 2023-10-18 16:04:12 +01:00
Evie Litherland-Smith 644f29106b Add apheleia-remote-algorithm for format over SSH 2023-10-18 11:32:04 +01:00
Evie Litherland-Smith 4d9f9851a7 Fix sessionPath, missing bin directory 2023-10-18 07:57:41 +01:00
Evie Litherland-Smith e69faa769f Switch from pyright to python-lsp-server 2023-10-18 07:55:39 +01:00
Evie Litherland-Smith 30e145ada1 Enable basic home config for root user
Emacs: always create new workspace when switching to project
2023-10-18 06:43:41 +01:00
Evie Litherland-Smith 6423dd73d8 Improve emacs workspace switching
Change switch project function to doom-project-browse, allows quick
access to being in project directory without having to open a file
2023-10-18 06:12:34 +01:00
Evie Litherland-Smith 7ea5372702 Tweak how sessionPath is set 2023-10-18 05:47:15 +01:00
Evie Litherland-Smith 91bb3d15eb Customise DOOM dashboard
Change icons to use material design
2023-10-18 05:35:25 +01:00
Evie Litherland-Smith 72a71caa6a Make TRAMP (and vterm over tramp) work better
Finally set TRAMP environment from remote .profile
2023-10-17 17:11:29 +01:00
Evie Litherland-Smith e731d5e9ec Add window margin to emacs 2023-10-17 05:12:08 +01:00
Evie Litherland-Smith f367b536cb Add local bin to TRAMP remote path 2023-10-16 18:09:42 +01:00
Evie Litherland-Smith 4a14dcd6d3 Remove elfeed 2023-10-16 13:52:00 +01:00
Evie Litherland-Smith f91d2cf632 Add transparency to emacs config 2023-10-16 11:16:44 +01:00
Evie Litherland-Smith e7f5118ab2 Add elisp function to recursively search directories 2023-10-16 10:26:37 +01:00
Evie Litherland-Smith 4ff07b6ee9 Add rust, update starship formatting a bit 2023-10-15 17:02:24 +01:00
Evie Litherland-Smith a82c084774 More font and scale tweaks 2023-10-15 10:46:53 +01:00
Evie Litherland-Smith 5c0b96397e Fix missing bracket in config.el ... 2023-10-15 10:36:28 +01:00
Evie Litherland-Smith aae04d3336 Rename UKAEA account to Outlook 2023-10-15 10:02:16 +01:00
Evie Litherland-Smith c740f8b101 Finally fix constant font issues
Needed to set nerd-icons-font-family to match font used so symbols
display properly
2023-10-15 07:25:10 +01:00
Evie Litherland-Smith 7eee09dcd2 Add extra org-agenda directory 2023-10-13 16:18:30 +01:00
Evie Litherland-Smith 522f914363 Clear up some doom packages, update waybar layer rules 2023-10-13 13:23:58 +01:00
Evie Litherland-Smith 432207a239 Re-theme to tokyonight
Re-enable stylix auto mode, disable specific cases where there's a
better theme implementation (emacs, alacritty)

Update use of catppuccin to tokyonight theme, probably missed some
2023-10-12 07:21:40 +01:00
Evie Litherland-Smith 0537485007 Purge some emacs packages, add grammar
Change send-messages behaviour to 'sent'
2023-10-11 16:38:00 +01:00
Evie Litherland-Smith e40bcc9732 Missing space in modeline icon 2023-10-11 14:43:47 +01:00
Evie Litherland-Smith b5b0610788 Add more mu4e modeline icons 2023-10-11 11:46:50 +01:00
Evie Litherland-Smith 1e9881fc59 Fix mu4e auto context switching
Update mu4e modeline icons to be more distinct
2023-10-11 07:38:48 +01:00
Evie Litherland-Smith a8c6482574 Bring back full mu4e modeline
Add some more tasks to README
2023-10-11 07:13:44 +01:00
Evie Litherland-Smith 46371470ee Disable emacs daemon
Set custom mu4e modeline icons because it was annoying me

Update keybinds, all workspaces now have a "default" program so to speak
with associated keybind to launch
2023-10-10 16:02:01 +01:00
Evie Litherland-Smith a8c72b6761 Setup emacs fallback fonts, add more defaults 2023-10-10 14:52:37 +01:00
Evie Litherland-Smith 4384532f02 Set org-agenda-sticky t 2023-10-10 11:27:13 +01:00
Evie Litherland-Smith 1ccca63c67 Fix missing emacs packages
Force emacs to use nix install pdf-tools and icon fonts

Add back full mu4e modeline
2023-10-08 14:56:55 +01:00
Evie Litherland-Smith 6200b76e22 Add all-the-icons and nerd-icons for emacs 2023-10-08 14:18:25 +01:00
Evie Litherland-Smith 0cf6358614 Add pdf-tools, enable emacs biblio module 2023-10-08 11:58:32 +01:00
Evie Litherland-Smith da196c27a5 Revert mu4e update behaviour 2023-10-03 16:45:56 +01:00
Evie Litherland-Smith 709c0386a4 Let mu4e pull inboxes, remove vi-tilde-fringe 2023-10-03 15:19:49 +01:00
Evie Litherland-Smith 95433cd4ca Add some TRAMP config
Switch emacs server back to socket activation due to restarting weirdness
2023-10-02 17:04:32 +01:00