Commit graph

1090 commits

Author SHA1 Message Date
Vincent Ambo
fa63debbfb feat(mail): Add notmuch configuration to git
(should've done this earlier *cough*)
2018-06-06 09:19:55 +02:00
Vincent Ambo
4b9b7f2999 feat(rust): Use eglot instead of LSP-mode
See commit `6939aa9` in Nix configuration for more information.
2018-06-03 22:36:43 +02:00
Vincent Ambo
6939aa9b3d feat(emacs): Replace LSP-mode with eglot
LSP-mode in combination with the Rust language server does not really
work as RLS is extremely unstable.

This switches over to eglot, which automatically restarts RLS after
every crash. From initial testing it seems to be slightly less
annoying than the previous setup.
2018-06-03 22:35:34 +02:00
Vincent Ambo
ac527952ce refactor(nixos): Only load exwm-randr on adho
Last attempt to at least work around
https://github.com/ch11ng/exwm/issues/425 on one of my machines before
reverting to an old EXWM version.

If the randr module is responsible for this issue it will probably
still occur on the laptop and I'll eventually downgrade, but it may be
a clue for debugging it at some point in the future.
2018-06-03 18:20:40 +02:00
Vincent Ambo
2e637433c1 fix(bindings): Use avy-goto-line instead of ace-jump-line-mode 2018-06-01 17:08:28 +02:00
Vincent Ambo
91dac5f692 refactor(functions): Use display-line-numbers instead of linum 2018-06-01 17:07:46 +02:00
Vincent Ambo
59cd0bbd8b feat(pkgs): Cherry-pick emacs26 from nixpkgs master 2018-05-31 13:42:39 +02:00
Vincent Ambo
9eb3ce6d74 feat(pkgs): Install thinkfan 2018-05-31 13:37:26 +02:00
Vincent Ambo
ba1d18985a feat(pkgs): Add systemd development libraries to system environment 2018-05-27 20:13:39 +02:00
Vincent Ambo
c7c831fddd feat(adho): Add Røverstaden wifi 2018-05-27 20:13:39 +02:00
Vincent Ambo
aa3d40f9a0 feat(adho): Add Pils & Programmering wifi 2018-05-27 20:13:39 +02:00
Vincent Ambo
7c01f06554 feat(configuration): Make /etc/resolv.conf immutable 2018-05-27 20:13:39 +02:00
Vincent Ambo
1c8d158718 fix(emacs): Install markdown-toc from unstable, too 2018-05-27 20:13:39 +02:00
Vincent Ambo
39a80ce37d fix(pkgs): Use latest version of Terraform 2018-05-27 20:13:03 +02:00
Vincent Ambo
37cb2d422e chore(pkgs): Bump channel versions 2018-05-27 20:12:42 +02:00
Vincent Ambo
d23c91ed02 feat(emacs): Install markdown-toc and web-mode 2018-05-23 12:17:20 +02:00
Vincent Ambo
4fabc36172 feat(settings): Always load notmuch 2018-05-18 12:20:34 +02:00
Vincent Ambo
b70b1a18e4 feat(emacs): Add notmuch package 2018-05-14 13:24:23 +02:00
Vincent Ambo
3f71d537b9 chore(packages): Bump channel versions to latest 2018-05-14 12:56:26 +02:00
Vincent Ambo
bcd0f8aeb4 feat(config): Enable OfflineIMAP user service 2018-05-14 12:52:16 +02:00
Vincent Ambo
76101fe330 fix(packages): Remove Cargo to let rustup take its place 2018-05-10 16:13:51 +02:00
Vincent Ambo
29ab1eb0a1 feat(config): Enable Intel microcode updates on boot 2018-05-09 00:58:34 +02:00
Vincent Ambo
b5e3f492f4 fix(nixos): Start EXWM with 10 workspaces pre-configured 2018-05-09 00:51:34 +02:00
Vincent Ambo
7b8902a36a feat(term-setup): First attempt to make multi-term tolerable
I've been wanting to use in-emacs terminal buffers instead of
Alacritty as an EXWM window for a while.

In light of the recent EXWM bugs that cause overlapping X-windows
occasionally I've finally had it!

This commit introduces a new configuration file for multi-term related
settings. Primarily this does the following:

* Introduce a new `C-x t` keybinding which launches a terminal if none
  is running, or prompts the user to select one of the existing ones.
* Remap key bindings in term-mode for quick access to features I want.
* Add a `C-c C-r` key binding in term-mode to quickly rename terminal
  buffers into something sensible. Hopefully this will play nice with
  the ivy-based selector from the first point mentioned here.

I'll see how it goes!
2018-05-09 00:46:44 +02:00
Vincent Ambo
1b289e5486 fix(dotfiles/fish): Fix fish shell in term-mode 2018-05-09 00:25:31 +02:00
Vincent Ambo
4a3d61555c chore(emacs): Install markdown-mode from unstable
The stable version does not seem to contain `gfm-view-mode` which is
required by LSP.

If it's not available the side-effect is nasty freezes of the entire
emacs session.
2018-05-08 23:44:34 +02:00
Vincent Ambo
2a70e4e56c fix(emacs): Install the correct Markdown mode 2018-05-08 23:34:30 +02:00
Vincent Ambo
8cf7105e7d fix(packages): Install required LSP dependency (lsp-ui) 2018-05-08 22:33:53 +02:00
Vincent Ambo
a9493265eb style(pkgs): Slightly more readable emacs section 2018-05-08 22:33:53 +02:00
Vincent Ambo
7fcd4a9ccb refactor(emacs): Remove racer-mode, add smartparens 2018-05-08 22:33:53 +02:00
Vincent Ambo
5ad29253b2 feat(packages): Install latest lsp-mode & lsp-rust in emacs 2018-05-08 22:33:53 +02:00
Vincent Ambo
33167c8a86 refactor(services): Enable OpenSSH on all machines 2018-05-08 22:33:53 +02:00
Vincent Ambo
484da65eed refactor(pkgs): Use rustup instead of rustc 2018-05-08 22:33:53 +02:00
Vincent Ambo
ced93e2606 feat(rust): Move to RLS/LSP setup
Lets see how long this lasts ...
2018-05-08 22:32:09 +02:00
Vincent Ambo
6061d1bbb2 chore(init): Enable upcase-region command 2018-05-07 14:02:56 +02:00
Vincent Ambo
301a9c538d feat(bindings): Bind counsel-rg to 'C-c r g' 2018-05-06 21:44:48 +02:00
Vincent Ambo
85fad03504 feat(custom): Enable incremental compilation in Cargo commands 2018-05-06 21:44:34 +02:00
Vincent Ambo
cefc584e55 feat(packages): Add several system-wide packages 2018-05-05 12:28:40 +02:00
Vincent Ambo
a6de90aec7 fix(desktop): Enable exporting of X-server configuration
This enables commands like `localectl list-keymaps` etc. to work
correctly.
2018-05-05 12:22:26 +02:00
Vincent Ambo
1109e449ef chore(dns): Update Github pages IP addresses 2018-05-03 14:40:07 +02:00
Vincent Ambo
e5d129b499 fix(nixos): Use 'screen-lock' command instead of i3lock directly 2018-05-01 16:41:42 +02:00
Vincent Ambo
7c673cd0d0 feat(packages): Add more emacs packages from unstable
Additional packages for ivy are installed from unstable, too, in order
to avoid compatibility issues with the ivy version in stable.
2018-05-01 16:08:10 +02:00
Vincent Ambo
5cf456e4f5 refactor(emacs): Install packages directly from MELPA
Never use MELPA Stable, as it's based on the assumption that authors
at least occasionally tag their code (they don't).
2018-05-01 16:08:10 +02:00
Vincent Ambo
456f692b88 feat(functions): Add ivy-run-external-command
Adds an ivy-based function akin to Helm's helm-run-external-command,
but without all the things I don't need/want.
2018-05-01 16:02:53 +02:00
Vincent Ambo
72a33b9156 feat(all): Replace helm with ivy
For most of my use-cases Helm seems to be overkill, and despite
overall seeming like a nice and featureful package it has stability
issues and bugs that annoy me.

I've heard that ivy is simpler to use and configure, so I'm giving it
a chance here.
2018-05-01 16:01:38 +02:00
Vincent Ambo
f4d1bb966c fix(config): Use OpenJDK instead of Oracle JDK 2018-05-01 15:22:40 +02:00
Vincent Ambo
693f92731b feat(emacs): Install ivy & related packages
Finally getting around to ditching Helm ...
2018-05-01 15:05:53 +02:00
Vincent Ambo
be749fdd22 fix(config): Clean /tmp on boot 2018-05-01 14:08:36 +02:00
Vincent Ambo
6a35699045 chore(packages): Bump channel versions 2018-05-01 14:07:24 +02:00
Vincent Ambo
6f2a45fe58 style(config): Minor style fix 2018-04-28 17:53:32 +02:00