Commit graph

10653 commits

Author SHA1 Message Date
Vincent Ambo
9576f73526 fix(settings): Require password-store related libraries
These libraries are no longer auto-required because I don't actually
use the default ivy-pass anymore, just some helper functions from the
libs.
2018-06-06 21:05:58 +02:00
Vincent Ambo
c1c102665c fix(mail): Ensure MSMTP's sendmail binary is used for sending 2018-06-06 21:05:47 +02:00
Vincent Ambo
858895aad3 fix(offlineimaprc): offlineimap chokes on inline comments 2018-06-06 20:44:32 +02:00
Vincent Ambo
6ad7669930 fix(offlineimaprc): Set maxage=90 on GMail account 2018-06-06 20:42:35 +02:00
Vincent Ambo
8460fd5ec5 fix(mail): Move wantedBy setting to timer unit
It's not the (oneshot) service, it's the timer that needs to be
"enableable".
2018-06-06 20:42:15 +02:00
Vincent Ambo
9b5be54563 chore(pkgs): Remove Evolution 2018-06-06 20:42:07 +02:00
Vincent Ambo
8664bb7714 chore: Remove nixkpgs-mozilla submodule link 2018-06-06 16:35:46 +02:00
Vincent Ambo
e4f9255a3a chore: Remove .gitmodules
Mozilla overlay is no longer used.
2018-06-06 16:35:08 +02:00
Vincent Ambo
535eef9de3 docs(README): Update README
It was about time
2018-06-06 16:33:52 +02:00
Vincent Ambo
1239f26e8a feat(mail): Import email configuration into Nix
This moves my email configuration into NixOS, including the following
features:

1. Replaced the NixOS-builtin offlineimap user service with a custom
   one that runs notmuch-indexing as part of the systemd unit instead
   of a postsynchook, which is significantly more reliable.
2. Adds configuration for notmuch and its tagging.
3. Adds configuration for OfflineIMAP & MSMTP.

Relevant emacs configuration has also been added to my emacs.d
repository.
2018-06-06 16:26:24 +02:00
Eelco Dolstra
a76498e466
Merge pull request #2212 from asymmetric/patch-2
Dockerfile: 2.0.4
2018-06-06 15:09:16 +02:00
Lorenzo Manacorda
b600d46412
Dockerfile: 2.0.4 2018-06-06 14:50:47 +02:00
Vincent Ambo
969c007182 feat(pkgs): Add notmuch & msmtp to global system 2018-06-06 10:32:15 +02:00
Vincent Ambo
87cb47cc8e feat(adho): Add Wurst wifi 2018-06-06 10:32:09 +02:00
Vincent Ambo
ead3a70114 fix(mail): Only show unread messages in inbox count 2018-06-06 10:29:47 +02:00
Vincent Ambo
4f64ab2942 chore(mail): Rename file to match provides 2018-06-06 10:29:44 +02:00
Vincent Ambo
0806463a00 fix(mail): Add hack to "warm up" GPG agent before sending mail
This is required in order to let password lookups work correctly when
shelling out to password-store from MSMTP, as it won't be calling
pinentry correctly otherwise.
2018-06-06 10:22:06 +02:00
Vincent Ambo
66e86d2546 feat(functions): Add custom ivy-password-store function
The default `ivy-pass` function shells out to `pass` in such a way
that using pinentry with emacs doesn't work, causing EXWM to freeze
until `C-g` is hit, after which the password entry buffer pops up.

That was very inconvenient - however, the new auth-source integration
with pass works correctly and this commit introduces a new function
and bindings for using the same functionality as before but doing the
actual password-reading via auth-source.
2018-06-06 09:46:01 +02:00
Vincent Ambo
be8d47257f feat(settings): Enable new password-store auth-source 2018-06-06 09:45:47 +02:00
Vincent Ambo
fa63debbfb feat(mail): Add notmuch configuration to git
(should've done this earlier *cough*)
2018-06-06 09:19:55 +02:00
Aleksandr Pashkov
5ee4472b8b tests: more robust check for user namespaces availability (canUseSandbox)
Issue https://github.com/NixOS/nix/issues/2165
2018-06-06 00:41:01 +03:00
Eelco Dolstra
4ac4f675df
Don't require --fallback to recover from disappeared binary cache NARs 2018-06-05 16:04:41 +02:00
Eelco Dolstra
691b7582c7
Handle HTTP 410 Gone errors 2018-06-05 16:03:32 +02:00
Eelco Dolstra
ca06a9cea7
Improve binary cache fallback test 2018-06-05 15:26:12 +02:00
Vincent Ambo
2541d25fba feat(main): Emit output in chunks of max. 1000 records
Required by the Stackdriver API.
2018-06-05 15:24:03 +02:00
Eelco Dolstra
a2ec7a3bfd
Further improve upload messages 2018-06-05 14:37:26 +02:00
Eelco Dolstra
a936a19da3
Remove non-existent NIX_DEBUG_SUBST 2018-06-05 13:40:45 +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
Will Dietz
54b1c59643 download.cc: fix readCallback return type (int -> size_t)
I'm not sure if curl ever asks for enough data at once
for truncation to occur but better safe than sorry.
2018-06-01 10:59:26 -05: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
Eelco Dolstra
73357500ac
Improve binary cache upload messages
Don't say "download" when we mean "upload".
2018-06-01 14:14:22 +02:00
Abseil Team
7aacab8ae0 - e2f6b8ac647271815b4fed2991f405524dd762c3 Release cctz microbenchmarks. by Alex Strelnikov <strel@google.com>
- 924ba2a3f9fca695d73c6bf491d20669e2b96b8e Changed RawPtr to use std::addressof() instead of operato... by Abseil Team <absl-team@google.com>
  - e8cf67f9fa74d4c5632da35547025ad2301c6819 Import of CCTZ from GitHub. by Alex Strelnikov <strel@google.com>
  - 2ece8a96611afcddd7b91e0197dadb896248250c Abandon ".inc" files in favor of ".h" headers. by Jorg Brown <jorg@google.com>
  - 37f5ed5da4058f90fb3e6a2733fce5b1fd0aaedf Add exception safety tests for absl::optional<T> by Abseil Team <absl-team@google.com>
  - 337f995a866b8f905f64ca6b271b5fec8f248a60 Update WORKSPACE to grab specific commits of dependencies... by Alex Strelnikov <strel@google.com>
  - 93e5b134607a554993387ad913e6c1621606004b Release Charmap microbenchmark. by Alex Strelnikov <strel@google.com>
  - 95c2e29b6d93ec1334484ee37d91f63101c45307 Release OStringStream microbenchmarks. by Alex Strelnikov <strel@google.com>
  - 250f51839ed26dd1e6b658d35aa291413e5f4825 Internal change by Greg Falcon <gfalcon@google.com>
  - ce34900fa3d1a95a8446bc943cdd801fac95be25 Improve compatibility of cctz cc_test targets for portabl... by Shaindel Schwartz <shaindel@google.com>
  - ce7e31dbf2c1ee93c79aae5b7dc7c603cb4babcf Improve portability of cc_tests. (Mark more tests that ca... by Abseil Team <absl-team@google.com>
  - dfcd4e455923703c1a1dcd523c5f915f7990fa2a Accept strings with custom allocators as arguments to abs... by Greg Falcon <gfalcon@google.com>
  - 2946b41ed3d5b8b5a8dc11182e443cf1ab6e3bde Link against benchmark_main instead of using BENCHMARK_MA... by Alex Strelnikov <strel@google.com>
  - f09de9e03bf8edd363069c4b352d8009423f531c Adds link to doc about the formats allowed by SimpleAtof(... by Greg Miller <jgm@google.com>
  - 59b0977e7a308e0800277886cf60226b2cc426a1 Simplify the HideMask() calculation so that it doesn't us... by Jorg Brown <jorg@google.com>

GitOrigin-RevId: e2f6b8ac647271815b4fed2991f405524dd762c3
Change-Id: Ib9c8547ed7fe217fad6cb3ab1362e96181aa5cfa
2018-05-31 15:58:36 -04: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
Eelco Dolstra
f0d9909f10
upload-release.pl: Copy the install script and sign everything
Note: this means that for those doing 'curl | sh', you can now pin a
specific version, e.g.

  curl https://nixos.org/releases/nix/nix-2.0.4/install | sh

https://nixos.org/nix/{install,install.sig} are now just symlinks to
the corresponding files in the latest release directory.
2018-05-31 11:58:10 +02:00
Peter Simons
93aa3bea2e
Merge pull request #767 from mogorman/garbage_collect_keep_last_few
Implement --delete-generations + flag for keeping last N number of gens
2018-05-31 10:00:21 +02:00
Shea Levy
bbbfc180d9
Explicitly describe the effects of filterSource excluding a directory. 2018-05-30 12:34:41 -04:00
Eelco Dolstra
5d4a9d5677
Fix static assertion failure on 32-bit systems 2018-05-30 17:47:30 +02:00
Eelco Dolstra
7c3c635d4f
release.nix: Generate the installer script 2018-05-30 17:40:08 +02:00
Eelco Dolstra
4caaa4c5fe
Move installer script from nixos-homepage 2018-05-30 17:17:50 +02:00
Eelco Dolstra
3be58fe1bc
Merge pull request #2194 from grahamc/nix-profile-daemon-profile-set-u
Nix profile & installation: handle set -u installations
2018-05-30 15:44:43 +02:00
Graham Christensen
6ba1726eeb
install-multi-user: support 'set -u' runs, closes #2193 2018-05-30 09:35:21 -04:00
Graham Christensen
d459d3307c
nix-daemon.sh profile script: operate under set -u
If the profile is sourced inside a script with `set -u`, the check for
__ETC_PROFILE_NIX_SOURCED and NIX_SSL_CERT_FILE would raise an error.
A simple guard around this check allows the script to operate under
standard environments (where it is fairly reasonable to assume USER
and HOME are set.)
2018-05-30 09:15:46 -04:00
Graham Christensen
f9940f47b3
Merge pull request #2164 from mickours/doc-fetchTarball-timout
Explain fetchTarball timeout behavior in the doc
2018-05-30 08:04:26 -04:00
Michael Mercier
8dd2e28374
Explain fetchTarball timeout behavior in the doc 2018-05-30 08:02:46 -04:00
Eelco Dolstra
3c2de9830d
RemoteStore::addToStore(): Ensure capacity is decreased on exceptions 2018-05-30 13:48:31 +02:00
Eelco Dolstra
a4c1618876
Fix deadlock in RemoteStore::queryPathInfoUncached() 2018-05-30 13:46:14 +02:00