about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2020-04-21 r/651 fix(web/tvl): Use correct stylesheet nameVincent Ambo1-1/+1
2020-04-21 r/650 feat(ops/nixos/camden): Add vhost for TVL homepageVincent Ambo1-0/+15
2020-04-21 r/649 feat(web/tvl): Add initial homepage for TVLVincent Ambo1-0/+59
2020-04-21 r/648 feat(ops/nixos/camden): Provision certificate for tvl.fyiVincent Ambo1-0/+7
2020-04-21 r/647 chore(fun): //fun/tvl -> //fun/streamTVLVincent Ambo1-0/+0
Otherwise this is confusing because //web/tvl is now a thing.
2020-04-21 r/646 chore(web/tvl): Bootstrap static assets for TVL pageVincent Ambo4-0/+1
2020-04-21 r/645 chore(fun/tvl): Add more missing personsVincent Ambo1-1/+3
2020-04-21 r/644 style(fun/tvl): Use a different font for the TVL graphVincent Ambo1-15/+15
... plus some other minor changes
2020-04-20 r/643 feat(fun/tvl): Add graph for how loungers know each otherVincent Ambo1-0/+130
Rendered version at https://tazj.in/blobs/tvl.png Rendered using `neato`.
2020-04-20 r/642 feat(defzone): Add plist argument format for SOA recordsVincent Ambo2-34/+52
These records have so many fields that it's difficult to track what's what in a long list. For convenience they're now specified in plist format (see the example). There isn't really a point to this because the SOA record is the one I care the *least* about practically as Cloud DNS sets it for me, but whatever.
2020-04-20 r/641 feat(defzone): Add an Emacs package for generating zone filesVincent Ambo2-0/+87
This currently only supports a small subset of available records, but I actually kind of like the nesting.
2020-04-20 r/640 feat(ops/nixos/camden): Add static IPv6 address to camdenVincent Ambo1-0/+7
2020-04-19 r/639 feat(ops/nixos/camden): Configure honk serviceVincent Ambo1-0/+18
2020-04-19 r/638 fix(third_party/honk): Create a fake $HOMEVincent Ambo1-0/+5
2020-04-19 r/637 feat(ops/nixos/camden): Install honkVincent Ambo1-0/+1
2020-04-19 r/636 chore(build): Exclude nugget from CI buildsVincent Ambo1-1/+5
2020-04-19 r/635 feat(third_party): Add derivation for honkVincent Ambo2-0/+22
2020-04-19 r/634 feat(fun): Add wallpaper collectionVincent Ambo22-0/+0
2020-04-19 r/633 fix(third_party/cgit): Correctly make "about links" on about pageVincent Ambo1-0/+4
2020-04-19 Revert adler32 (#345)Felipe Martins Diel1-7/+23
* Revert adler32 * Fix checksum
2020-04-19 Fix device name (#342)Felipe Martins Diel1-1/+1
2020-04-19 Add missing "self." to calculate_crc16 uses (#344)Kevin Eifinger1-2/+2
2020-04-18 r/632 feat(tools/emacs): Add screen layouts for nugget to EXWM configVincent Ambo1-9/+35
2020-04-17 r/631 feat(tools/emacs): Refactor monitor layout setup in EXWMVincent Ambo1-41/+47
vauxhall (my laptop) now has an additional screen connected at home, but sometimes I use that screen for my desktop computer (nugget). This refactors the randr configuration for EXWM to support somewhat more dynamic, multi-monitor layouts and adds key bindings to toggle between some of the different configurations I want.
2020-04-17 r/630 feat(ops/nixos/nugget): Add chromium with VAAPI patchesVincent Ambo2-2/+8
These patches enable hardware-accelerated video decoding, which is useful for Stadia. The main issue with this is that Hydra doesn't currently cache Chromium with these patches, which means that it is built from scratch which takes in the order of 5 hours on an otherwise unused nugget.
2020-04-16 0.13.1Daniel Høyer Iversen1-1/+1
2020-04-15 Extend support to RM4 Pro (0x6026) (#340)Felipe Martins Diel1-2/+3
2020-04-13 Merge pull request #339 from felipediel/patch-3Matthew Garrett1-1/+1
Fix padding algorithm for CBC mode
2020-04-13 Fix padding algorithm for CBC modeFelipe Martins Diel1-1/+1
Due to the lack of a parenthesis, the packets were getting 16 bytes larger than necessary.
2020-04-11 r/629 chore(ops/nixos/nugget): Install steam againVincent Ambo1-0/+1
2020-04-10 Bump versionEelco Dolstra1-1/+1
2020-04-10 installer: Fix terminal colors.Greg Price1-6/+6
The install-multi-user script uses blue, green, and red colors, as well as bold and underline, to add helpful formatting that helps structure its rather voluminous output. Unfortunately, the terminal escape sequences it uses are not quite well-formed. The relevant information is all there, just obscured by some extra noise, a leading parameter `38`. Empirically, the result is: * On macOS, in both Terminal.app and iTerm2, the spurious `38` is ignored, the rest of the escape sequence is applied, and the colors show up as intended. * On Linux, in at least gnome-terminal and xterm, the spurious `38` and the next parameter after it are ignored, and what's left is applied. So in the sequence `38;4;32`, the 4 (underline) is ignored but the 32 (green) takes effect; in a more typical sequence like `38;34`, the 34 (blue) is ignored and nothing happens. These codes are all unchanged since this script's origins as a Darwin-only script -- so the fact that they work fine in common macOS terminals goes some way to explain how the bug arose. Happily, we can make the colors work as intended by just deleting the extra `38;`. Tested in all four terminals mentioned above; the new codes work correctly on all of them, and on the two macOS terminals they work exactly the same as before. --- In a bit more technical detail -- perhaps more than anyone, me included, ever wanted to know, but now that I've gone and learned it I'll write it down anyway :) -- here's what's happening in these codes: An ECMA-48 "control sequence" begins with `\033[` aka "CSI", contains any number of parameters as semicolon-separated decimal numbers (plus sometimes other wrinkles), and ends with a byte from 0x40..0x7e. In our case, with `m` aka "SGR", "Select Graphic Rendition". An SGR control sequence `\033[...m` sets colors, fonts, text styles, etc. In particular a parameter `31` means red, `32` green, `34` blue, `4` underline, and `0` means reset to normal. Those are all we use. There is also a `38`. This is used for setting colors too... but it needs arguments. `38;5;nn` is color nn from a 256-color palette, and `38;2;rr;gg;bb` has the given RGB values. There is no meaning defined for `38;1` or `38;34` etc. On seeing a parameter `38` followed by an unrecognized argument for it, apparently some implementations (as seen on macOS) discard only the `38` and others (as seen on Linux) discard the argument too before resuming. (cherry picked from commit 7313aa267b5be1e5264e4577e7bc3daec2fef282)
2020-04-10 Fix PR_SET_PDEATHSIG results in Broken pipe (#2395)Tobias Möst1-2/+8
The ssh client is lazily started by the first worker thread, that requires a ssh connection. To avoid the ssh client to be killed, when the worker process is stopped, do not set PR_SET_PDEATHSIG. (cherry picked from commit 3e347220c82d1537723f49aa03a93a6f9d294417)
2020-04-10 SimplifyEelco Dolstra1-5/+2
(cherry picked from commit d1b238ec3cd74d652af46f577f992c9a44ac8e32)
2020-04-10 libstore/ssh: Improve error message on failing `execvp`Profpatsch1-2/+6
If the `throw` is reached, this means that execvp into `ssh` wasn’t successful. We can hint at a usual problem, which is a missing `ssh` executable. Test with: ``` env PATH= ./result/bin/nix-copy-closure --builders '' unusedhost ``` and the bash version with ``` env PATH= ./result/bin/nix-copy-closure --builders '' localhost ``` (cherry picked from commit 38b29fb72ca4a07afbec1fd5067f59ca7d7f0fab)
2020-04-10 fix placeholder not substituted in passAsFilemlatus1-1/+1
(cherry picked from commit 12556e570924315eb25ad6057b6c2c5162955e4f) Signed-off-by: Domen Kožar <domen@dev.si>
2020-04-10 libexpr: show expression in assertion errorsDaiderd Jordan1-4/+7
Includes the expression of the condition in the assertion message if the assertion failed, making assertions much easier to debug. eg. error: assertion (withPython -> (python2Packages != null)) failed at pkgs/tools/security/nmap/default.nix:11:1 (cherry picked from commit 307bcb9a8e7a16bfc451e055a620b766df9d3f7d) Signed-off-by: Domen Kožar <domen@dev.si>
2020-04-10 Don't retry on "unsupported protocol" errorCole Helbling1-0/+1
When encountering an unsupported protocol, there's no need to retry. Chances are, it won't suddenly be supported between retry attempts; error instead. Otherwise, you see something like the following: $ nix-env -i -f git://git@github.com/foo/bar warning: unable to download 'git://git@github.com/foo/bar': Unsupported protocol (1); retrying in 335 ms warning: unable to download 'git://git@github.com/foo/bar': Unsupported protocol (1); retrying in 604 ms warning: unable to download 'git://git@github.com/foo/bar': Unsupported protocol (1); retrying in 1340 ms warning: unable to download 'git://git@github.com/foo/bar': Unsupported protocol (1); retrying in 2685 ms With this change, you now see: $ nix-env -i -f git://git@github.com/foo/bar error: unable to download 'git://git@github.com/foo/bar': Unsupported protocol (1) (cherry picked from commit c976cb0b8ab5d0f2c4ab8c9826fc7db56e2f1b3e) Signed-off-by: Domen Kožar <domen@dev.si>
2020-04-10 Downloader: Only write data to the sink on a 200 responseEelco Dolstra1-2/+9
Hopefully fixes #3278. (cherry picked from commit 1ab8d6ac1861e9405ae34af3deb681020c03e82d) Signed-off-by: Domen Kožar <domen@dev.si>
2020-04-10 Adding new supported devices (#325)tiagofreire-pt1-2/+3
2020-04-10 Removed PyCRC as dependency; implemented CRC16 directly (#327)majuss2-4/+38
* Removed PyCRC as dependency; implemented CRC16 directly * replace crc16 with integrated function * Added self to calculate crc
2020-04-06 r/628 feat(tools/emacs): Install polymode & protobuf-modeVincent Ambo1-0/+2
... how did I not have protobuf-mode installed? What?
2020-04-05 Adding support for LB1 (RGB Light Bulb - 0x60e8) (#332)csabavirag1-1/+61
2020-04-05 Add support for RM4 0x62bc (#331)Felipe Martins Diel1-1/+2
* Add support for RM4 0x62bc * Fix device name
2020-04-04 r/627 feat(tools/emacs): Title the TVL window correctlyVincent Ambo1-0/+5
2020-04-04 r/626 chore(ops/nixos/camden): Enable HSTS headers on *.tazj.inVincent Ambo1-0/+2
2020-04-04 r/625 chore(third_party): Bump telega versionVincent Ambo1-2/+2
2020-04-04 r/624 fix(tools/emacs): Include date in scrot screenshot namesVincent Ambo1-1/+1
2020-04-04 r/623 chore(ops/nixos/camden): Use upstream tailscale moduleVincent Ambo1-18/+1
2020-04-04 r/622 chore(ops/nixos/nugget): Use upstream tailscale moduleVincent Ambo1-8/+1