Commit graph

1849 commits

Author SHA1 Message Date
Vincent Ambo
75c92172af chore(brew): Update Homebrew formula for v1.5.0 2018-05-08 12:11:33 +02:00
Vincent Ambo
c68518d6c9 chore: Bump version to 1.5.0 2018-05-08 11:32:56 +02:00
Vincent Ambo
ea297abe1d fix(main): Use 'app.Fatalf' for fatal kubectl errors 2018-05-08 11:32:56 +02:00
Vincent Ambo
b8c3264019 fix(main): Handle errors & logic when templating to directory
This does several changes to the new "template to directory" feature
introduced in the previous commit:

1. Errors are now "handled". In classic Go-style, it is of course all
   too easy to do absolutely nothing with errors, but we can't have
   that. I'm onto you, Renee French's husband!

2. Resource sets containing similarly named files are now templated
   correctly by prepending the resource set name to the filename.

3. In the same vein as the previous point, nested resource sets are
   now also output correctly by replacing slashes (`/`) with
   dashes (`-`) to guarantee that the output files are a flat list.

Some minor cosmetic fixes have also been applied.
2018-05-08 11:23:59 +02:00
Niklas Wik
84dcc294bf feat(main): Support output directories in template function.
This introduces a new command line flag `--output` (or `-o` for short)
which makes it possible to template all specified resource sets into a
folder (instead of to stdout) when using `kontemplate template`.
2018-05-08 11:23:59 +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
noqcks
3ea3bed7ac fix(templater): add baseDir to gitHead cmd so that directory is overwritten
This makes it so that when gitHead is called in a template the git hash
that is returned is the hash of the folder containing the template, not
the hash of the folder where kontemplate is called.
2018-05-05 10:29:47 +02:00
Vincent Ambo
1109e449ef chore(dns): Update Github pages IP addresses 2018-05-03 14:40:07 +02:00
TatriX
f7d1a38da6
Merge pull request #2 from aprilabank/chore/cloneable-types
Make trivial types cloneable
2018-05-03 12:48:56 +02:00
Vincent Ambo
ae1a57f29d chore(cargo): Bump crate minor version 2018-05-03 12:45:33 +02:00
Vincent Ambo
d8af25d58b chore(lib): Make Name & Message types Clone and PartialEq 2018-05-03 12:40:06 +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
Vincent Ambo
851d43e738 refactor(adho/config): Open Chromecast-ports on all machines 2018-04-28 17:46:13 +02:00
Vincent Ambo
eab23ce912 feat(config): Use 1.1.1.1 DNS servers 2018-04-28 17:45:36 +02:00
Vincent Ambo
7f34861ef1 feat(packages): Add Rust packages globally 2018-04-24 23:58:03 +02:00
Vincent Ambo
79944a66ef feat(dotfiles/fish): Add alias for 'servedir' 2018-04-24 12:08:52 +02:00
Vincent Ambo
636b1396f8 feat(emacs): Install nginx-mode 2018-04-23 15:34:51 +02:00
Vincent Ambo
95ce089815 feat(desktop): Install Helvetica Neue font 2018-04-23 15:34:45 +02:00
Vincent Ambo
676531c5aa feat(packages): Pin stable channel to git commit
Instead of relying on nix-channel, pin the stable channel and override
it on the whole machine.
2018-04-22 13:38:17 +02:00
Vincent Ambo
605b455c93 refactor(packages): Pin unstable using builtins.fetchTarball
This is fetched at evaluation time and removes the dependency on first
having some packages in scope.
2018-04-22 13:37:50 +02:00
Vincent Ambo
7c581e4f64 feat(emacs): Pin EXWM to 0.18
There are several severe regressions from EXWM 0.15 to EXWM 0.17. This
commit pins the version to the somewhat newer 0.18 in hope that it
resolves those issues again.
2018-04-22 13:18:20 +02:00
Vincent Ambo
79ce1dc693 refactor(packages): Pin unstable channel in packages.nix
Pins the unstable Nix channel to a specific commit and uses package
overrides to move select packages from that channel into the system
Nix packages.
2018-04-22 13:17:30 +02:00
Vincent Ambo
47b6f24977 fix(dotfiles/fish): Fix shell setup for Nix 2.0 2018-04-22 12:51:54 +02:00
Vincent Ambo
6987d5b66e feat(services): Enable PostgreSQL on all machines 2018-04-22 12:49:02 +02:00
Vincent Ambo
37c182cebb feat(desktop): Add "screen-lock with wallpapers" shell script 2018-04-22 12:49:02 +02:00
Vincent Ambo
6b40b8af85 feat(adho): Add The Dubliner's wifi 2018-04-22 12:49:02 +02:00
Vincent Ambo
01aed568e5 feat: Update to NixOS 18.03
As the subject says ...

This only includes some minor changes in configuration. Most
interestingly several packages that I used to have in this repository
as custom packages are now available in `nixos-unstable`.

Unfortunately they weren't included in NixOS 18.03 though ...

Either way, this is cleaner.
2018-04-04 17:10:12 +02:00
Vincent Ambo
eaac33465d fix(custom): Mark gruber-darker safe, again.
This comes up again and again and again and again, for reasons I don't
understand or have time to care about.
2018-03-31 21:06:50 +02:00
Vincent Ambo
ec3e2da506 feat(bindings): Bind project-find-file & helm-occur globally 2018-03-30 12:16:00 +02:00
noqcks
ac445d5235 refactor(templater) Refactor templator to use exec.Command directly instead of executing in sh 2018-03-29 20:05:30 +02:00
noqcks
e1c2c19330 feat(templater) Add a template function to insert surrounding repo's Git hash
A template function has been added that allows one to template the
Git hash of the surrounding repo. This is useful to be able to inspect the
deployment revision of an object in Kubernetes.
2018-03-29 20:05:30 +02:00
Vincent Ambo
2a6d57e97b feat(emacs): Install elm-mode 2018-03-26 23:06:25 +02:00
Vincent Ambo
e017868640 feat(adho): Open Chromecast-related ports in firewall 2018-03-22 17:49:08 +01:00
Vincent Ambo
df29b08bff docs(README): Add simple README to project 2018-03-19 14:10:48 +01:00
Vincent Ambo
ade52d2423 fix(main): Fix formatting of queue name in ls-output 2018-03-19 14:10:37 +01:00
Vincent Ambo
cfbfe1a355 chore(cargo): Bump dependency versions 2018-03-19 14:07:51 +01:00
Vincent Ambo
fc7b24245f refactor(pkgs): Install kontemplate from nixpkgs
Kontemplate has been upstreamed into Nix (yay!).
2018-03-19 13:43:18 +01:00