Commit graph

1073 commits

Author SHA1 Message Date
Vincent Ambo
09daca2fea fix(init): Move ace-window-display-mode into hook function
For some reason that I can not be bothered to debug this mode will
only work correctly if initialised from inside this hook function (or
manually, after startup).
2019-02-10 21:43:54 +01:00
Vincent Ambo
bdff24f52b fix(init): Initialise ace-window-display-mode on launch 2019-02-10 21:43:54 +01:00
Vincent Ambo
4a53a084a5 feat(mail): Refresh unread mail count more often
Decreases the interval from 90 seconds to 30 seconds.
2019-02-10 21:43:54 +01:00
Vincent Ambo
dd5c880138 chore(nixos): Reshuffle EXWM screen assignment on adho 2019-02-10 21:43:54 +01:00
Vincent Ambo
5b5f051b13 refactor: Reutilise multi-term commands for Alacritty buffers
In practice I never use multi-term, but it's nice to have the same
buffer selection functionality for Alacritty buffers.
2019-02-10 21:43:54 +01:00
Vincent Ambo
2c5946163c fix(nix-mode): Use nix-indent-line as indentation function 2019-02-10 21:43:54 +01:00
Vincent Ambo
0f9136ab88 feat(custom): Enable intero-global-mode 2019-02-10 21:43:54 +01:00
Vincent Ambo
dd2ba5aafc fix: Use indent-relative in Kotlin buffers 2019-02-10 21:43:54 +01:00
Vincent Ambo
ee143eaf14 fix: Run GHCi-workaround /after/ switching to REPL buffer
This simply changes the advice position. This way around makes more
sense in case that the REPL is just being started up.
2019-02-10 21:43:54 +01:00
Vincent Ambo
bab9f15a33 fix: Add temporary workaround for Intero + GHC 8.4 bug
Adds a workaround for commercialhaskell/intero#569 by adding a
function that disables the offending GHCi flag in the Intero REPL, and
advising the `intero-repl` and `intero-repl-load` commands to always
execute it.

I did not manage to locate a common entrypoint to the REPL, but it's
probably not worth spending more time on as this will be fixed
properly in a future GHC release.
2019-02-10 21:43:54 +01:00
Vincent Ambo
0cf7af4403 fix(cargo): Disable keybinding for 'cargo clean' 2019-02-10 21:43:54 +01:00
Vincent Ambo
d74692acf2 chore(custom): Configure Intero to use 0.1.31 backend 2019-02-10 21:43:54 +01:00
Vincent Ambo
e0a8a6f35f feat(functions): Add function to start inferior Erlang via Nix 2019-02-10 21:43:54 +01:00
Vincent Ambo
5b32cd74c6 feat(mail): Add counsel-notmuch support 2019-02-10 21:43:54 +01:00
Vincent Ambo
dea6ece741 chore(init): Comment out multi-term configuration
Multi-term is currently broken, I think this may be related to Emacs
26, but as I don't actively use it much I haven't investigated more.
2019-02-10 21:43:54 +01:00
Vincent Ambo
660fc549f4 feat(init): Reintroduce sly configuration
Sly is back!
2019-02-10 21:43:54 +01:00
Vincent Ambo
47ba177c00 fix(init): Fix setup of lisp modes 2019-02-10 21:43:54 +01:00
Vincent Ambo
169b6754d0 chore(custom): Add some Aprila-related settings 2019-02-10 21:43:54 +01:00
Vincent Ambo
4fe8d78dbb refactor: Begin moving package configuration to use-package
This is the first in a series of commits for refactoring my
configuration to make use of jwiegley's use-package.

In the previous layout of the configuration there were some questions
around what settings go into which file, but in the end it is all just
related to which packages are being configured (besides settings
related to global Emacs behaviour).

This commit introduces use-package forms for all currently used
packages (which are still installed via Nix, not via package.el) but
does not yet clean up the rest of the configuration in a suitable way.

Note that this version introduces a bug in which the configuration of
telephone line is not correctly initialised after package setup.
2019-02-10 21:43:54 +01:00
Vincent Ambo
f661e4e6eb feat(home): Add initial home-manager configuration for ChromeOS
Adds a home-manager configuration that can be used in a Crostini
container running Nix. There isn't any truly ChromeOS-specific stuff
in this yet, as I've set up the interoperability with garcon etc.
manually for now.
2019-02-03 21:04:44 +00:00
Vincent Ambo
a1751798f1 chore(pkgs): Remove wine again
Never managed to get it to work for the things I wanted anyways.
2019-01-30 10:19:48 +01:00
Vincent Ambo
998e1bb7a1 feat(emacs): Add elm-mode back in 2019-01-30 10:14:50 +01:00
Vincent Ambo
f32222c36f chore(adho): Add Kitty's network 2019-01-30 10:14:32 +01:00
Vincent Ambo
432bb85f48 feat: Open firewall port 3000 2018-12-26 01:01:15 +01:00
Vincent Ambo
a06aae7236 feat(adho): Enable virtualbox & LXC 2018-12-26 01:01:15 +01:00
Vincent Ambo
54d56a39a6 feat(adho): Add The Kasbah & Google Oslo networks 2018-12-26 01:01:15 +01:00
Vincent Ambo
52d9ae8944 chore(adho): Switch to 2.4Ghz home network 2018-12-26 01:01:15 +01:00
Vincent Ambo
40027f008f fix(emacs): Fix sly package (again) 2018-12-26 01:01:15 +01:00
Vincent Ambo
93e6146404 chore(pkgs): wine -> wineStaging 64-bit 2018-11-07 00:13:37 +01:00
Vincent Ambo
53d3cd62a8 fix(desktop): Revert to slim as the display manager
NixOS 18.09 switches from slim to something else (lightdm?) as the
default display manager, however DBUS is broken in that manager if the
session is ever restarted.

This reverts back to slim, which may not look as fancy by default but
it actually works.
2018-11-03 17:35:31 +01:00
Vincent Ambo
32fa661a27 feat(adho): Add Gatwick wifi network 2018-10-28 23:40:20 +01:00
Vincent Ambo
909c7bdf21 feat(pkgs): Install omnisharp and friends 2018-10-25 11:25:29 +02:00
Vincent Ambo
0e8f4832ed feat(adho): Add various wifi networks (NixCon etc.) 2018-10-25 11:25:09 +02:00
Vincent Ambo
3ec17661bd feat(emacs): Install meghanada-mode 2018-10-14 16:20:28 +02:00
Vincent Ambo
68e8692f03 fix(pkgs): Backport exa from unstable channel 2018-10-14 16:20:15 +02:00
Vincent Ambo
c423b264ea chore(pkgs): Bump channel versions 2018-10-14 16:20:07 +02:00
Vincent Ambo
0dd84abd44 fix(dotfiles): Disable Alacritty's visual bell
It's v e r y annoying.
2018-10-14 15:47:43 +02:00
Vincent Ambo
ab65fb2371 fix(adho): Disable Nix sandbox on adho
Sandboxing was enabled by default in NixOS 18.09, but it breaks some
of the less-than-clean work build setups.
2018-10-10 13:34:34 +02:00
Vincent Ambo
ff1f5271f4 chore(dotfiles): Update Alacritty configuration for new version 2018-10-10 12:55:28 +02:00
Vincent Ambo
cd10aa4754 feat(pkgs): Install chromium 2018-10-10 12:55:12 +02:00
Vincent Ambo
12ce508508 chore(adho): Enable kvm-intel kernel module
Suggested by nixos-generate-config.
2018-10-10 12:54:59 +02:00
Vincent Ambo
c7e60c1de4 chore(emacs): Remove manually upgraded packages that are in 18.09
Removes a whole bunch of manually pinned packages that were moved into
stable in 18.09.

However, it should be noted that `sly` is again broken in stable.
2018-10-10 11:21:15 +02:00
Vincent Ambo
d3058c0d0b fix(pkgs): Remove manually installed cargo
This conflicts with the rustup binary otherwise.
2018-10-10 11:20:40 +02:00
Vincent Ambo
78ae29aac4 feat(pkgs): Bump channels to latest
This moves to NixOS 18.09.
2018-10-10 11:20:22 +02:00
Vincent Ambo
dc1674f2a1 feat(adho): Add Homan Bistro wifi 2018-10-10 11:20:07 +02:00
Vincent Ambo
67d016029c chore: Disable Redis service on all machines 2018-10-10 11:19:54 +02:00
Vincent Ambo
b19b1590e5 chore(emacs): Bump EXWM & XELB to most recent development versions 2018-09-19 22:59:42 +02:00
Vincent Ambo
8d918e48eb refactor(desktop): Don't launch EXWM via Emacs client
Launch EXWM directly in Emacs, instead of first launching an Emacs
server and connecting a client.

In cases where Emacs does not start correctly due to initialisation
errors the error message would never become visible without this change.
2018-09-16 16:57:33 +02:00
Vincent Ambo
754b487ee4 feat(adho): Add Dublin wifi networks 2018-09-16 16:51:20 +02:00
Vincent Ambo
63c08b923f chore(emacs): Bump EXWM version
Includes changes from ch11ng/exwm#477 which may resolve issues with
ch11ng/exwm#425.
2018-09-02 15:21:23 +02:00