about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
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
2020-04-04 r/621 chore(third_party): Remove Tailscale derivationVincent Ambo3-146/+0
This is now part of nixpkgs itself.
2020-04-04 r/620 chore(third_party/default): Bump NixOS channel to nixos-20.03Vincent Ambo1-3/+3
2020-04-04 r/619 chore(fun/tvl): Increase framerate to 60fps & limit queue sizeVincent Ambo1-1/+2
The queue size setting will drop frames if the encoding starts to lag behind, which should prevent delay from being introduced on the serving side. Maybe.
2020-04-04 r/618 feat(ops/nixos/camden): Enable RTMP support in nginxVincent Ambo1-1/+25
This makes it possible to live-stream various things at rtmp://tazj.in/tvl
2020-04-04 r/617 fix(ops/nixos/nugget): Point camden host at new internal IPVincent Ambo1-4/+1
This changed due to the router replacement.
2020-04-04 r/616 chore(ops/nixos/nugget): Install ffmpeg (including libnpp support)Vincent Ambo1-0/+1
2020-04-04 r/615 feat(ops/nixos/nugget): Add module for v4l2loopback supportVincent Ambo2-0/+13
This kernel module creates a fake video input device to which I can stream various things, such as screen grabs or qyliss' video stream for TVL.
2020-04-04 r/614 feat(third_party/ffmpeg): Add "libnpp" support to ffmpegVincent Ambo2-0/+14
Builds ffmpeg with CUDA Toolkit as a dependency, which includes a library called "libnpp" that provides something related to hardware accelerated video stream resizing. v0v
2020-04-04 r/613 feat(fun/tvl): Implement hardware-accelerated stream rescalingVincent Ambo2-14/+18
By randomly copy & pasting options that are impenetrable to mere mortals from NVIDIA's developer blog and a bunch of gists scattered throughout the internet, Andi and I managed to "get this to work". The idea is that the x11grab stream should be resized into 720p (which is the maximum supported by Google Meet), but with hardware acceleration.
2020-04-04 r/612 feat(fun/tvl): Initial working ffmpeg -> nginx stream commandVincent Ambo1-0/+14
2020-04-04 r/611 feat(ops/nixos/nugget): Install clang & friends system-wideVincent Ambo1-0/+3
2020-04-02 r/610 chore(third_party): Remove ormoluVincent Ambo1-8/+0
2020-04-02 r/609 fix(tools/emacs): Fix notmuch-show-open-or-close-subthreadVincent Ambo1-4/+4
Accidentally dropped a key parameter, also restored interactive functionality via prefix arguments..
2020-04-02 r/608 feat(tools/emacs): Bindings for (un)collapsing notmuch subthreadsVincent Ambo2-7/+15
Modifies notmuch-show-open-or-close-subthread to take a parameter instead of using prefix to toggle the argument, and binds that function to C-, and C-. in notmuch-show-mode-map to enable convenient collapsing/uncollapsing of subthreads from point.
2020-04-01 r/607 feat(tools/emacs): Implement 'notmuch-show-open-or-close-subthread'Vincent Ambo1-0/+13
Does what it says on the tin.
2020-03-31 r/606 fix(nix/buildGo): Remove absolute references to GOROOT from binariesVincent Ambo1-0/+1
Setting the GOROOT_FINAL environment variables replaces the absolute location of the Go standard library sources in the final build artefacts with a fake location (in this case starting with go/src/...). This is despite the documentation for 'trimpath' (in 'go tool compile') stating that it would affect all source paths: That's only true for user code! I figured this out by reading through the implementation of the other 'trimpath' (in 'gob build'): https://go-review.googlesource.com/c/go/+/173345
2020-03-29 r/605 style(web/homepage): Shorten description for TWiVVincent Ambo1-4/+2
2020-03-29 r/604 feat(web/homepage): Link to TWiVVincent Ambo1-0/+12
2020-03-29 r/603 feat(tools/emacs): Install eglot & dependenciesVincent Ambo1-0/+3
2020-03-24 0.13.0Daniel Høyer Iversen1-1/+1
2020-03-24 Obtain device name and cloud byte from HELLO_RESPONSE (#322)Felipe Martins Diel1-29/+35
2020-03-23 Add temperature and humidity for RM4 mini (0x610e) (#321)hakana1-7/+20
* Add temperature and humidity reading for RM4 Mini * Change divider for tem and humi (RM4 mini)