Commit graph

10846 commits

Author SHA1 Message Date
Eelco Dolstra
6cdaa858d0
Propagate flags like --sandbox to the daemon properly 2017-11-21 18:50:56 +01:00
Eelco Dolstra
7536fe31dd
Add a warning about the 'trusted-users' option 2017-11-21 18:49:52 +01:00
Vincent Ambo
bfad4a3932 feat(license): Relicense under GPLv3
All further kontemplate source code changes and releases will happen under the GPLv3.

Previous releases are still available under the MIT license.
2017-11-21 11:46:27 +01:00
Abseil Team
6a88b40771 Changes imported from Abseil "staging" branch:
- cdaf98233a24b0ea992224e4cca526c72c8c2079 Qualify documented code examples with absl namespace. by Alex Strelnikov <strel@google.com>

GitOrigin-RevId: cdaf98233a24b0ea992224e4cca526c72c8c2079
Change-Id: I8b53dc15adc041cd2ce40ed7ffafc148d38a4912
2017-11-20 17:48:02 -05:00
Vincent Ambo
7e0a55f697 feat(adho): Add a few more wifi networks 2017-11-20 22:00:50 +01:00
Eelco Dolstra
4fcf44825f
Add tests for verifying/copying content-addressed paths
These don't require signatures.
2017-11-20 19:11:02 +01:00
Eelco Dolstra
0c9718aabc
Add tests for signature checking when copying between local stores 2017-11-20 19:02:57 +01:00
Eelco Dolstra
8df60b4ea8
Document secret-key-files 2017-11-20 18:51:04 +01:00
Eelco Dolstra
4cde04f476
Add tests for "nix run" 2017-11-20 18:36:36 +01:00
Eelco Dolstra
f5f29dc2b7
nix eval --raw: Use coerceToString()
Thus,

  $ nix eval --raw '("foo")'
  foo

  $ nix eval --raw nixpkgs.hello
  /nix/store/1y6ckg6khrdsvll54s5spcmf3w6ka9k4-hello-2.10

  $ nix eval --raw '(/etc/resolv.conf)'
  /nix/store/vml92ama92i8mz013nny461mlvg8mvap-resolv.conf
2017-11-20 18:27:29 +01:00
Eelco Dolstra
1ff01187e2
nix run: Fix "flag '--command' requires 2 argument(s)" 2017-11-20 18:07:58 +01:00
Eelco Dolstra
4eb9e20028
nix run: Fix accidental removal of /nix/store existence check
Parenthetical to #1686, we don't need to create a new root if we can
just bind-mount on top of the existing /nix/store.
2017-11-20 17:59:32 +01:00
Eelco Dolstra
a3aa850f0f
nix run: Ignore non-directories while setting up the chroot
Fixes #1686.
2017-11-20 17:58:47 +01:00
Eelco Dolstra
193330d321
Test: Replace --option with the corresponding flag 2017-11-20 17:50:49 +01:00
Eelco Dolstra
91a1987607
signed-binary-caches -> require-sigs
Unlike signed-binary-caches (which could only be '*' or ''),
require-sigs is a proper Boolean option. The default is true.
2017-11-20 17:44:07 +01:00
Vincent Ambo
3cd22f2878 feat: Show backtraces for failed cargo commands 2017-11-20 17:36:24 +01:00
Vincent Ambo
553b38ea76 feat(pkgs): Install Racket mode 2017-11-20 17:35:59 +01:00
Vincent Ambo
1eab9e4b25 feat(pkgs): Add geiser & helm extensions 2017-11-20 17:35:25 +01:00
Vincent Ambo
3c0622afe6 feat(helm): Always split inside of active window 2017-11-20 17:34:28 +01:00
Eelco Dolstra
d0b88db441
Cleanup 2017-11-20 17:32:58 +01:00
Eelco Dolstra
7a2b64e55c
binary-cache-public-keys -> trusted-public-keys
The name had become a misnomer since it's not only for substitution
from binary caches, but when adding/copying any
(non-content-addressed) path to a store.
2017-11-20 17:32:34 +01:00
Eelco Dolstra
ea94a87493
install-darwin-multi-user.sh: Remove superfluous nix.conf settings 2017-11-20 17:32:34 +01:00
Eelco Dolstra
72804dc0bd
Merge pull request #1645 from twhitehead/stat-race
Fix (highly unlikely) race condition in readLink
2017-11-20 17:32:27 +01:00
Eelco Dolstra
7474ac871b
nix copy: Abbreviate "daemon" 2017-11-20 15:17:11 +01:00
Vincent Ambo
75fc7a0cc1 fix(nixos): Disable the rather unstable EXWM compositor 2017-11-20 14:19:18 +01:00
Vincent Ambo
a9866504ea fix(look-and-feel): Transparent emacs gets old fast 2017-11-20 13:21:39 +01:00
Vincent Ambo
7a41f8cd22 chore: Remove unused dependencies
(well, dash was technically a duplicate)
2017-11-18 23:20:11 +01:00
Vincent Ambo
dd9d8af25b feat(nixos): Make helm "dmenu alternatives" work similar to i3 2017-11-18 23:19:30 +01:00
Vincent Ambo
06cf685a88 feat(nixos): Configure pulseaudio volume keys 2017-11-18 23:19:15 +01:00
Abseil Team
4f3edeb1b4 Changes imported from Abseil "staging" branch:
- c910f1792eae8cfdabb93bc261bf26e72f9a6717 Fix uint128 streaming to work with std::ios::internal. by Alex Strelnikov <strel@google.com>

GitOrigin-RevId: c910f1792eae8cfdabb93bc261bf26e72f9a6717
Change-Id: I8ccce2ce6ac91ef7ce16fa8870a718fdfb8fa9a6
2017-11-17 14:58:36 -05:00
Vincent Ambo
f18e578c4b feat(nixos): Add key binding for starting i3lock 2017-11-17 18:24:27 +01:00
Vincent Ambo
051c111646 feat(nixos): Map brightness keys to light command 2017-11-17 16:12:40 +01:00
Vincent Ambo
78f65fbc18 fix(settings): Make ace-window behave sanely 2017-11-17 10:32:56 +01:00
Abseil Team
b05b79538f Changes imported from Abseil "staging" branch:
- 33cefac68ed8720bd7468e59b8fd9a13d7b7a8bf Fix example in comment of absl::Condition. by Abseil Team <absl-team@google.com>
  - 2c95e2895d6bf36b712c0b72cf2a42cbe5442a70 Internal change by Abseil Team <absl-team@google.com>

GitOrigin-RevId: 33cefac68ed8720bd7468e59b8fd9a13d7b7a8bf
Change-Id: I34c1a4976c019a548dc94a2a9cf471243fcb623c
2017-11-16 10:59:22 -05:00
Vincent Ambo
5ee1e9387d feat(image): Install git in kontemplate image 2017-11-16 15:10:31 +01:00
Abseil Team
af8c291d9a Changes imported from Abseil "staging" branch:
- 950e7d514bea97ea500284a53318330ec1f04f76 Remove accidental references to "header_modules". by Greg Falcon <gfalcon@google.com>

GitOrigin-RevId: 950e7d514bea97ea500284a53318330ec1f04f76
Change-Id: I482955fe0364a57ed8c6e229fdb6f86fc63faf6e
2017-11-15 16:39:55 -05:00
Vincent Ambo
a564cd4112 fix(nixos): Let buffers move between workspaces 2017-11-15 21:00:59 +01:00
Vincent Ambo
a260bf9e8d fix(settings): Show time in 24h format 2017-11-15 21:00:38 +01:00
Vincent Ambo
87a385557e feat(modes): Enable company-mode for elisp by default 2017-11-15 20:59:51 +01:00
Vincent Ambo
586148bd52 feat(nixos): Show time in the mode line 2017-11-15 20:46:56 +01:00
Vincent Ambo
eb67c739b2 feat: Use ace-window for jumping between windows 2017-11-15 18:56:23 +01:00
Vincent Ambo
b7a5dd0c1b feat(nixos): Enable EXWM compositor 2017-11-15 18:56:01 +01:00
Vincent Ambo
7ca55c3fd5 feat(desktop): Move from i3 to exwm
Emacs just controls everything now. Why not!

Rather than using the builtin NixOS support for EXWM I've added a
custom snippet that takes care of the launching. This assumes that the
user launching the session has my emacs configuration installed, which
I, in practice, always do.

* remove setup of i3wm (until I'm comfortable using exwm I will keep
  the i3 configuration files around)
* disable compton (exwm brings its own compositor)
* disable auto-starting of emacs user service
* enable & configure exwm (also see correlating commits in my emacs.d
  repository)
2017-11-15 18:37:22 +01:00
Vincent Ambo
84601a3978 fix(nixos): Improve key bindings in X11 applications
I don't actually use all that many emacs navication keys in X11
applications - but being able to copy & paste is nice.

Overrides the default set of input simulation keys for EXWM with
slightly fewer and more sane bindings.
2017-11-15 18:30:33 +01:00
Vincent Ambo
f06401d493 fix(nixos): Finetune some minor EXWM parameters 2017-11-15 18:30:22 +01:00
Vincent Ambo
29d4413f16 feat: Install & globally enable which-key 2017-11-15 18:29:01 +01:00
Vincent Ambo
4e1661604d feat(nixos): Add initial NixOS & EXWM configuration
Adds configuratio for using Emacs as a window manager, because clear
that is an extremely sane thing to do.
2017-11-15 17:35:17 +01:00
Vincent Ambo
6225c18914 fix(custom): Fix Helm window splitting behaviour
The default Helm window splitting behaviour is ridiculous. This fixes
it!
2017-11-15 17:07:27 +01:00
Abseil Team
99b92c8736 Changes imported from Abseil "staging" branch:
- 79d5e27b30551028a35084bf0f314d14339f816b Adds "()" suffix for Minutes() and ToDoubleHours() in com... by Abseil Team <absl-team@google.com>
  - 7d43f4d8f056066bd8e4577e15cde6807f6191ec Change type traits tests to static_asserts; Add trivially... by Alex Strelnikov <strel@google.com>
  - b443886fd36b240df78683c676b7ebae07c9e91a Internal cleanup by Abseil Team <absl-team@google.com>
  - ef226810f398f0980e2158bfa352ab8ac5d97d83 Avoid weak virtual table warnings (-Wweak-vtables) and re... by Jorg Brown <jorg@google.com>
  - 76911667bed455c2c7330f8ee27b959bac032e41 Internal change by Abseil Team <absl-team@google.com>

GitOrigin-RevId: 79d5e27b30551028a35084bf0f314d14339f816b
Change-Id: I752b04c882ff6677af7ee91b1e4f424417a1e4eb
2017-11-15 10:43:52 -05:00
Vincent Ambo
d79b7f45e7 feat(pkgs): Install gopass-bin 2017-11-15 15:27:32 +01:00