Commit graph

9265 commits

Author SHA1 Message Date
Vincent Ambo
1f1a74108e feat(error): Add error-mapping from C calls
Implements an error enum with mappings from the low-level C calls and
appropriate error descriptions.
2017-10-15 23:22:18 +02:00
Vincent Ambo
96096f39f2 feat: Install all standard man pages 2017-10-15 22:13:33 +02:00
Vincent Ambo
a89b7255ee chore: Add project scaffolding 2017-10-15 22:06:22 +02:00
Vincent Ambo
2957c16a53 chore: Initial commit 2017-10-15 22:05:56 +02:00
Vincent Ambo
6dc6034bc8 feat: Install tig 2017-10-15 21:38:13 +02:00
Vincent Ambo
17e57e42ef style: Make emacs transparent
Party like it's 2004.
2017-10-15 20:25:08 +02:00
Vincent Ambo
319347e5cc fix(settings): Correctly enable Helm's fuzzy matches
The global Helm fuzzy matching doesn't actually seem to enable fuzzy
matching for modes that have an explicit config.

This enables fuzzy matching for M-x and C-x b
2017-10-15 20:24:28 +02:00
Vincent Ambo
5e48ce3f9b feat: Add nix-mode & nix-config function
* install nix-mode by default
* add a function to quickly open the system configuration.nix
2017-10-15 20:23:51 +02:00
Vincent Ambo
6845e2efd4 fix(stallo): Post-installatio wifi, gfx, luks fixes 2017-10-15 20:02:24 +02:00
Vincent Ambo
a11aca65a5 fix: 'Manually' randomize feh wallpapers
The wallpaper folder is now in git and feh will pick any random file in
the folder that it is pointed at, leading to it constantly failing while
trying to set git objects as the wallpaper.

This uses  manual 'fd | shuf | xargs' pipeline for the same purpose.
2017-10-15 20:01:21 +02:00
Vincent Ambo
f771c2a643 fix(adho): Move 'light' config to adho local 2017-10-15 20:01:07 +02:00
Vincent Ambo
e3ec0a1f0e
feat(dns): Add kontemplate.works 2017-10-15 17:03:22 +02:00
Vincent Ambo
28feb4bc92 fix(adho): Configure encrypted disks in local config 2017-10-15 16:42:31 +02:00
Vincent Ambo
98fc907d90 fix: Fix gitignore 2017-10-15 16:40:54 +02:00
Vincent Ambo
2b6d132eb6 docs: Add README 2017-10-15 16:40:28 +02:00
Vincent Ambo
e0c8c5c798 fix: Add a missing semicolon 2017-10-15 16:38:13 +02:00
Vincent Ambo
21660c6bb6 feat(stallo): Add local configuration for stallo 2017-10-15 16:37:22 +02:00
Vincent Ambo
af89133821 fix: Remove old GPG-agent SSH config 2017-10-15 16:31:56 +02:00
Vincent Ambo
dadb4b4fed feat: Ostensibly enable fuzzy matching in Helm 2017-10-15 16:31:39 +02:00
Vincent Ambo
867ea97fd9 fix: Remove projectile which slowed everything down 2017-10-15 16:31:23 +02:00
Vincent Ambo
c4c0345d3f refactor(adho): Make connman configuration adho specific 2017-10-15 16:29:29 +02:00
Vincent Ambo
a844da9351 feat(adho): Add local configuration of adho machine 2017-10-15 16:28:43 +02:00
Vincent Ambo
e2279e52c3 feat: Add initial NixOS configuration
Adds NixOS configuration to configure my base system with all sorts of things,
including - but not limited to - i3, emacs, FF57, connman and so on.

Not all of these things are fully configured yet (especially in the desktop
environment) but I'm hoping to get more of that done in the future.
2017-10-15 16:27:35 +02:00
Vincent Ambo
d53ffba198 chore: Ignore local-configuration.nix 2017-10-15 16:27:31 +02:00
Vincent Ambo
cc14d57c49 chore: Add initial .gitignore 2017-10-15 16:26:21 +02:00
Vincent Ambo
9af6f2f33a chore: Initial commit 2017-10-15 16:25:29 +02:00
Vincent Ambo
099020c176 chore: remove unused ido-related lines 2017-10-15 13:40:05 +02:00
Vincent Ambo
0fe21a4f27 feat: Switch default font to Input Mono 2017-10-15 13:30:25 +02:00
Vincent Ambo
774aea8edd feat: Switch from ido/smex to Helm 2017-10-15 13:30:10 +02:00
Vincent Ambo
bc12439cf7 chore: Remove unused misc.el 2017-10-15 13:29:36 +02:00
Vincent Ambo
8cc36e0eab feat: Add terraform-mode 2017-10-13 18:14:33 +02:00
Eelco Dolstra
1dd29d7aeb
Add option to disable the seccomp filter
I needed this to test ACL/xattr removal in
canonicalisePathMetaData(). Might also be useful if you need to build
old Nixpkgs that doesn't have the required patches to remove
setuid/setgid creation.
2017-10-12 18:21:55 +02:00
Eelco Dolstra
97307811ee Merge pull request #1571 from teto/improve_priority_msg
Improve error message for conflicting priorities
2017-10-12 13:10:44 +02:00
Eelco Dolstra
73252aef18 Merge pull request #1591 from shlevy/darwin-installer-no-sudo-i
darwin installer: Fix on systems where sudo -i is disabled.
2017-10-12 13:08:15 +02:00
Eelco Dolstra
29205e0218 Merge pull request #1586 from acowley/patch-2
install-darwin-multi-user: relax assumption check
2017-10-12 13:06:25 +02:00
Eelco Dolstra
177aee07c6 Merge pull request #1580 from copumpkin/retry-after-timeout
Retry in all error cases but a few
2017-10-12 13:05:45 +02:00
Eelco Dolstra
3d3c7fadf7 Merge pull request #1595 from peti/master
docker: ensure that the installation works for users other than 'root'
2017-10-12 13:02:19 +02:00
Eelco Dolstra
fda7b95cb0
Fix a hang in ThreadPool
The worker threads could exit prematurely if they finished processing
all items while the main thread was still adding items. In particular,
this caused hanging nix-store --serve processes in the build farm.

Also, process items from the main thread.
2017-10-09 15:41:09 +02:00
Eelco Dolstra
838509d1a0
Whitespace 2017-10-09 15:41:09 +02:00
Eelco Dolstra
1893f78f8e Merge pull request #1594 from dtzWill/fix/busybox-builtins
release-common: Fix busybox builtins (busybox >= 1.27)
2017-10-09 12:09:33 +02:00
Peter Simons
37164ae389 docker: ensure that the installation works for users other than 'root', too
The path /root/.nix-profile is a sym-link to /nix/var/nix/profiles/default. The
latter path, however, works for everyone while the former path works only for
root, so we prefer the public path whenever possible.
2017-10-07 17:28:34 +02:00
Will Dietz
2f1a1c5a49 release-common: Fix busybox builtins (busybox >= 1.27)
See https://github.com/NixOS/nixpkgs/pull/28261
2017-10-07 07:43:55 -05:00
Eelco Dolstra
b2e00fd5b7 Merge pull request #1593 from Mic92/bashism
fixing bashisms in test code
2017-10-06 14:58:13 +02:00
Jörg Thalheim
e94fc238cf fixing bashisms in test code
This fixed the build on ubuntu/debian, where dash is the sh.
2017-10-06 06:12:33 -05:00
Shea Levy
fb98e29067 darwin installer: Fix on systems where sudo -i is disabled. 2017-10-05 09:07:55 -07:00
Eelco Dolstra
c6676ea253
Merge branch 'elegant-tests' of https://github.com/copumpkin/nix 2017-10-03 11:16:34 +02:00
Eelco Dolstra
fce24b7d6c Merge pull request #1587 from copumpkin/fix-tests
Fix tests
2017-10-03 11:06:03 +02:00
Dan Peebles
60ecbd7934 More elegant test output
I got sick of trying to find the failures in the sea of debug output, so
we now:
- Hide test output unless it fails
- Sprinkle in some simple color
- Pad results for a more tabular look

If Nix is getting a more friendly user interface, we might as well get
a friendlier developer interface, right? :)
2017-10-03 00:59:32 -04:00
Dan Peebles
3139cad9cd Fix tests
`nix copy` no longer accepts a `--recursive` argument
2017-10-02 23:45:27 -04:00
Dan Peebles
476493dbf5 Reverse retry logic to retry in all but a few cases
It was getting too much like whac-a-mole listing all the retriable error
conditions, so we now retry by default and list the cases where retrying
is almost certainly hopeless.
2017-10-02 23:22:02 -04:00