Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-12-20 | r/215 fix(buildGo): Use builder directory as fake $HOME | Vincent Ambo | 1 | -0/+1 | |
It turns out that the `go` tool writes a bunch of stuff into $HOME, or rather, tries to - Nixery doesn't let it. | |||||
2019-12-20 | r/214 fix(cgit-taz): Depot checkout is no longer a bare repository | Vincent Ambo | 1 | -1/+1 | |
To be compatible with sync-gcsr, the `.git` folder must be referenced directly as there is an actual worktree on the filesystem now. | |||||
2019-12-20 | r/213 fix(sync-gcsr): Use local worktree & pull changes into it | Vincent Ambo | 1 | -13/+25 | |
Just fetching the remote of a bare repository does not update local tracking branches, which means that changes do not become visible in cgit. | |||||
2019-12-20 | r/212 chore(cgit-taz): Remove git synchronisation from startup script | Vincent Ambo | 1 | -7/+0 | |
This will be moved into a sidecar container using sync-gcsr that updates the repo periodically. | |||||
2019-12-20 | r/211 feat(services/sync-gcsr): Add git synchronisation helper | Vincent Ambo | 2 | -0/+90 | |
Adds a tiny program that keeps a checkout of a remote git repository in sync with a folder on the local filesystem. This is going to be used to mirror the GCSR repository onto a local disk for cgit serving. | |||||
2019-12-20 | r/210 feat(infra/k8s): Add git cookie secret for repository sync | Vincent Ambo | 2 | -0/+10 | |
2019-12-20 | r/209 fix(tools): Correctly resolve kms_pass->pass | Vincent Ambo | 1 | -1/+2 | |
The binary name doesn't match the one inside of the derivation, but this is intentional. | |||||
2019-12-20 | r/208 fix(emacs.d): Correctly restore default font size in randr-single | Vincent Ambo | 1 | -1/+1 | |
2019-12-19 | r/207 feat(infra/k8s): Add deployment configuration for cgit | Vincent Ambo | 2 | -0/+51 | |
This is not yet done because repository cloning doesn't work at all, in any way whatsoever. | |||||
2019-12-19 | r/206 feat(third_party): Add Go packages for src-d/go-git | Vincent Ambo | 11 | -0/+173 | |
This is going to be used in my git syncing tool for the cgit setup. | |||||
2019-12-19 | r/205 fix(buildGo): Skip subtree under overrides/buildGo | Vincent Ambo | 1 | -0/+2 | |
This subtree is internal to buildGo.nix and can not be imported by readTree. | |||||
2019-12-19 | r/204 chore(build): Add package required for buildGo at the top-level | Vincent Ambo | 1 | -1/+10 | |
This is required to maintain buildGo compatibility with non-depot setups. | |||||
2019-12-19 | r/203 feat(readTree): Add support for skipping directory subtrees | Vincent Ambo | 1 | -2/+9 | |
Placing a special `.skip-subtree` file in any directory will now prevent readTree from further traversing that part of the tree. This makes it possible to have packages with internal Nix files that are incompatible with the larger depot structure, for example for projects like buildGo.nix which need to be compatible with the external nixpkgs model. | |||||
2019-12-19 | r/202 merge(buildGo): Integrate buildGo.nix into depot | Vincent Ambo | 9 | -0/+723 | |
2019-12-19 | r/201 chore(overrides): Remove buildGo.nix to prepare for depot merge | Vincent Ambo | 1 | -6/+0 | |
2019-12-19 | chore(buildGo): Relayout for depot merge | Vincent Ambo | 9 | -0/+0 | |
2019-12-19 | r/200 feat(emacs.d): Add key binding for opening telega | Vincent Ambo | 1 | -1/+5 | |
2019-12-19 | r/199 feat(emacs): Add telega.el support | Vincent Ambo | 4 | -0/+30 | |
Packages the telega-server binary and adds the required mode into Emacs. Unread message count is displayed in the modeline, which is neat. Probably need to figure out some key bindings for this. | |||||
2019-12-19 | r/198 fix(nix-util): Correctly enable lexical scope in this library | Vincent Ambo | 2 | -1/+2 | |
2019-12-19 | r/197 feat(emacs-pkgs): Introduce nix-util helper library | Vincent Ambo | 3 | -2/+80 | |
Adds an Emacs library with so far a grand total of one helper function that can prefetch and insert a git repository at point. This is very useful for the various Go repo imports I am doing at the moment. | |||||
2019-12-18 | r/196 fix(cgit-taz): Force gcloud to use specific CA bundle | Vincent Ambo | 1 | -0/+3 | |
It doesn't like reading the bundle from /etc/ssl apparently. | |||||
2019-12-18 | r/195 chore(infra/gcp): Allow k8s nodes to access GCSR | Vincent Ambo | 1 | -0/+1 | |
2019-12-18 | r/194 refactor(cgit-taz): Use Google Cloud SDK to authenticate repo access | Vincent Ambo | 1 | -13/+4 | |
Fighting SSH's peculiarities around how hard it tries to not be scriptable is tiresome. | |||||
2019-12-18 | r/193 fix(cgit-taz): Create users required by SSH in the container | Vincent Ambo | 1 | -0/+4 | |
This might not actually work because SSH will have issues with key permissions, presumably. | |||||
2019-12-18 | r/192 fix(cgit-taz): Pin SSH into image via Nix | Vincent Ambo | 1 | -0/+1 | |
2019-12-18 | r/191 fix(cgit-taz): Clone depot via SSH | Vincent Ambo | 1 | -4/+2 | |
Keys are provided in a Kubernetes secret. | |||||
2019-12-18 | r/190 fix(cgit-taz): Explicitly configure CA certs for git | Vincent Ambo | 1 | -1/+3 | |
2019-12-18 | r/189 feat(cgit-taz): Clone depot on container launch | Vincent Ambo | 1 | -1/+9 | |
This makes for a pretty static server for now, but we'll get there. | |||||
2019-12-18 | r/188 fix(build): Add missing packages for Nixery images | Vincent Ambo | 2 | -0/+5 | |
2019-12-18 | r/187 chore(infra/k8s): Bump Nixery popularity URL | Vincent Ambo | 1 | -1/+1 | |
2019-12-18 | r/186 chore(infra/k8s): Point Nixery at the depot on GCSR | Vincent Ambo | 1 | -2/+2 | |
2019-12-18 | r/185 feat(third_party/nixery): Add OpenSSH to Nixery image | Vincent Ambo | 1 | -1/+1 | |
2019-12-18 | r/184 feat(cgit-taz): Apply cgit configuration by patching thttpd | Vincent Ambo | 1 | -22/+29 | |
This is just an optimisation because it compiles faster v0v | |||||
2019-12-18 | r/183 fix(build): Fix compatibility with Nixery instance | Vincent Ambo | 1 | -1/+14 | |
2019-12-18 | r/182 feat(infra/k8s): Provision certificate for git.tazj.in | Vincent Ambo | 1 | -0/+4 | |
2019-12-18 | r/181 feat(infra/gcp): Configure source repository for the depot | Vincent Ambo | 1 | -0/+7 | |
2019-12-18 | r/180 feat(services/cgit-taz): Check in initial cgit configuration | Vincent Ambo | 3 | -0/+66 | |
This is currently just a test to serve examples from my local machine, nothing more fancy than that. | |||||
2019-12-17 | r/179 feat(emacs.d): Set screen-specific default text scales | Vincent Ambo | 1 | -3/+5 | |
2019-12-17 | r/178 feat(emacs.d): Add functions & bindings to manage global font size | Vincent Ambo | 2 | -4/+33 | |
This makes it possible to quickly adjust the size of text in all frames using one keyboard shortcut. Each of these functions understands a prefix argument to mean "please only operate on the current buffer", hence the following bindings and effects: Global: * `C-=`: Increase the global font size (chosen because `+` lies on the `=` key) * `C--`: Decrease the global font size * `C-x C-0`: Restore the global default font size Local: * `C-u C-=`: Increase the local font size * `C-u C--`: Decrease the local font size * `C-u C-x C-0`: Restore the local default font size | |||||
2019-12-17 | r/177 chore(emacs.d): Clean up unused functions | Vincent Ambo | 1 | -23/+0 | |
2019-12-17 | r/176 feat(emacs.d): Add function to insert TODO comments | Vincent Ambo | 2 | -0/+15 | |
2019-12-17 | r/175 chore(emacs.d): Include all git repos under ~/ in magit | Vincent Ambo | 1 | -1/+1 | |
2019-12-17 | r/174 fix(emacs.d): Fix regex passing in counsel-rg | Vincent Ambo | 1 | -1/+4 | |
2019-12-17 | r/173 refactor(emacs.d): Move ivy configuration to use-package | Vincent Ambo | 3 | -21/+31 | |
2019-12-17 | r/172 fix(emacs.d): Disable C-x C-c | Vincent Ambo | 1 | -0/+1 | |
2019-12-17 | r/171 fix(emacs.d): Change binding for ivy-browse-repositories | Vincent Ambo | 1 | -1/+1 | |
This avoids a conflict with some work tooling. | |||||
2019-12-17 | r/170 fix(emacs): `withLocalEmacs` now loads packages via $EMACSLOADPATH | Vincent Ambo | 1 | -2/+4 | |
For some reason setting the initial load-path via `--directory` does not work and leads to an Emacs without any packages. | |||||
2019-12-17 | r/169 merge(PR#16): Add override function to run Nix-built Emacs configuration ↵ | Vincent Ambo | 1 | -0/+13 | |
with external Emacs Say you're on a non-NixOS system and need to run this Emacs configuration, but without using an Emacs from Nix, building ... ```nix tools.emacs.withLocalEmacs "/usr/bin/emacs" ``` ... will create a derivation that does exactly that. | |||||
2019-12-16 | feat(emacs): Add 'withLocalEmacs' override function | Vincent Ambo | 1 | -0/+12 | |
This function makes it possible to build an Emacs instance that, instead of launching an Emacs built by Nix, configures an Emacs already present on the system to use the packages built by Nix. This **requires** that the versions of the two Emacsen (i.e. the one used by Nix to build and the one used to run the packages) are kept in sync, otherwise byte-code incompatibilities may lead to undefined behaviour. | |||||
2019-12-16 | feat(emacs): Install 'request.el', an HTTP client | Vincent Ambo | 1 | -0/+1 | |