about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* games/gog: Add Hollow Knight version 1.4.3.2aszlig2020-06-072-0/+25
| | | | | | | | | | | | | | | | | Hollow Knight is a 2D Metroidvania action-adventure game, which takes place in Hallownest, a fictional ancient kingdom. The player controls an insect-like, silent, and nameless knight while exploring the underground world. Packaging the game would have been almost straightforward, would there not be another occasion where the developer has mixed up the persistent data path with the non-persistent data path, which is quite common in many games. Fortunately, this is pretty easy to fix with our Mono game patcher. Signed-off-by: aszlig <aszlig@nix.build>
* games/gog: Add Freedom Planet version 1.21.5aszlig2020-06-072-0/+118
| | | | | | | | | | | | | | | A game that I had laying around since quite a while but I was too lazy to patch properly, since the game expects its data files as well as its save files in the current working directory. While I did patch the game via an LD_PRELOAD wrapper of fopen it also feels kinda rendundant with code we have in preloaders of other games. So in the long term we might want to implement something a bit more generic, but for now the game works and config and saves are properly placed in XDG_CONFIG_HOME and XDG_DATA_HOME. Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/games/fetch-gog: fix fetch redirection in curlProfpatsch2020-06-061-0/+1
| | | | Upstream has 30x redirects for some URLs.
* pkgs/profpatsch/netencode: add shallow parserProfpatsch2020-06-061-53/+160
| | | | | | | | | | | | | | | The “shallow” parser uses the fact that every netencode value is length-encoded (or a scalar with a fixed length). It does not need to parse the inner values in order to get the structure of the thing. That means that we can implement very fast structure-based operations, like “take the first 5 elements of a list” or “get the record value with the key name `foo`”. We can even do things like intersperse elements into a list of values and write the resulting netencode structure to a socket, without ever needing to copy the data (it’s all length-indexed pointers to bytes).
* pkgs/profpatsch: rename encode to netencodeProfpatsch2020-06-064-9/+9
| | | | | Less generic, has the spirit of “netstrings, but extended to a structured encoding format”.
* pkgs/profpatsch/encode: add list/dict lengths to rust parserProfpatsch2020-06-061-18/+26
|
* pkgs/profpatsch/encode/spec: records and lists have length markersProfpatsch2020-06-061-8/+12
|
* core/tests: Fix eval of wireguard tests for realaszlig2020-06-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | I even mentioned the full names of the test attributes in bc4203d221c87a0622d089aaa61884f86d40fd44: tests.wireguard.wireguard-basic-linux-5_4 tests.wireguard.wireguard-basic-linux-latest tests.wireguard.wireguard-generated-linux-5_4 tests.wireguard.wireguard-generated-linux-latest tests.wireguard.wireguard-namespaces-linux-5_4 tests.wireguard.wireguard-namespaces-linux-latest tests.wireguard.wireguard-wg-quick-linux-5_4 tests.wireguard.wireguard-wg-quick-linux-latest So I forgot about the additional "wireguard-" prefix, so Hydra fails to evaluate again: in job 'tests.nixos.wireguard.basic-linux-5_4': evaluation aborted with the following error message: 'cannot find attribute `nixos.wireguard.basic-linux-5_4'' Signed-off-by: aszlig <aszlig@nix.build>
* core/tests: Add missing wireguard attr suffixesaszlig2020-06-031-4/+8
| | | | | | | | | | | | | | | | | | | | | | Commit 89c3cda819da5dc32e4a29ff8f2aad118bde64c7 changed the wireguard attributes to use nested attributes because it was changed upstream. However what the commit has missed is that the attributes are not just plain attributes but come with a kernel version suffix, for example like this: tests.wireguard.wireguard-basic-linux-5_4 tests.wireguard.wireguard-basic-linux-latest tests.wireguard.wireguard-generated-linux-5_4 tests.wireguard.wireguard-generated-linux-latest tests.wireguard.wireguard-namespaces-linux-5_4 tests.wireguard.wireguard-namespaces-linux-latest tests.wireguard.wireguard-wg-quick-linux-5_4 tests.wireguard.wireguard-wg-quick-linux-latest Adding the "-linux-${version}" suffix should fix evaluation. Signed-off-by: aszlig <aszlig@nix.build>
* core/tests: Fix attribute paths for wireguardaszlig2020-06-031-3/+6
| | | | | | | | | | | | | | | | | | A few days ago, the wireguard tests were consolidated[1] into a single attribute with various subattributes, similar to how the virtualbox tests and many other tests are structured. I fixed the attributes and also added the wg-quick attribute that was also introduced in the meantime[2]. This should fix the evaluation errors occuring whenever a channel contains a machine configuration with wireguard enabled. [1]: https://github.com/NixOS/nixpkgs/commit/41bd6d2614749d12ce5ded3e991555b56ea6b2dc [2]: https://github.com/NixOS/nixpkgs/commit/abf60791e2bd274d39e0f18def46795798f9aefd Signed-off-by: aszlig <aszlig@nix.build> Cc: @Profpatsch
* pkgs/profpatsch: export encode-rsProfpatsch2020-06-022-2/+10
|
* pkgs/profpatsch/display-infos: add dottimeProfpatsch2020-06-021-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://dotti.me/ DOT-TIME(7) TIME FORMATS DOT-TIME(7) NAME dot-time - a universal convention for conveying time DESCRIPTION For those of us who travel often or coordinate across many timezones, working with local time is frequently impractical. ISO8601, in all its wisdom, allows for time zone designators, but still represents the hours and minutes as local time, thus making it inconvenient for quickly comparing timestamps from different locations. Dot time instead uses UTC for all date, hour, and minute indications, and while it allows for time zone designators, they are optional infor‐ mation that can be dropped without changing the indicated time. It uses an alternate hour separator to make it easy to distinguish from regular ISO8601. When a time zone designator is provided, one can easily obtain the matching local time by adding the UTC offset to the UTC time. EXAMPLES These timestamps all represent the same point in time. ┌─────────────────────┬─────────────────────┐ │ dot time │ ISO8601 │ ├─────────────────────┼─────────────────────┤ │ 2019-06-19T22·13-04 │ 2019-06-19T18:13-04 │ ├─────────────────────┼─────────────────────┤ │ 2019-06-19T22·13+00 │ 2019-06-19T22:13+00 │ ├─────────────────────┼─────────────────────┤ │ 2019-06-19T22·13+02 │ 2019-06-20T00:13+02 │ └─────────────────────┴─────────────────────┘ 2019-06-19 DOT-TIME(7)
* pkgs/profpatsch: add binify helperProfpatsch2020-06-021-1/+15
|
* pkgs/profpatsch: writeRustSimple, wrapper around buildRustCrateProfpatsch2020-06-022-0/+49
|
* pkgs/profpatsch/encode: add function for printing T valuesProfpatsch2020-06-021-1/+52
|
* pkgs/profpatsch/encode: put parser in submoduleProfpatsch2020-06-022-284/+282
|
* pkgs/profpatsch/encode: initial rust parserProfpatsch2020-06-022-0/+381
| | | | Uses the nom parsing combinator library.
* pkgs/profpatsch/encode: listify spec examplesProfpatsch2020-06-021-21/+21
|
* pkgs/profpatsch/encode: change number format and defined recordsProfpatsch2020-06-021-19/+26
| | | | | | | | | Change the number format to be more concise, working in steps of 2^n, going from 2^1 (1 bit) to 2^9 (512 bits), though implementations are free to define the biggest numbers they want to support. Records get the marker `{` and are closed by `}`, so parens match up nicely, similar to lists.
* pkgs/profpatsch: alpha-grade encode specProfpatsch2020-06-011-0/+81
|
* machines/shiki: qualify fontsProfpatsch2020-06-011-9/+9
|
* modules/base: Fix bashdevhell2020-05-301-1/+0
| | | | I shouldn't be working today I think.
* modules/{base,packages}: Fix screendevhell2020-05-302-3/+1
| | | | Duh.
* modules/{base,packages}: Use programs.* wrapperdevhell2020-05-302-15/+22
| | | | | Replacing the simple inclusion of some programs in packages with their respective programs.* equivalent.
* machines/{eir,hildr}: Enable wavemon properlydevhell2020-05-302-4/+8
| | | | Using the wrapper rather than normal.
* machines/hildr: Enable podmandevhell2020-05-301-0/+2
| | | | Kinda forgot that just adding the packages is probably not enough.
* profpatsch/pkgs: Switch to using wrapMpvaszlig2020-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | | Recently, the way to add scripts to the mpv wrapper has changed[1] and instead of using .override, there is now a dedicated wrapMpv function that can be used to compose the wrapped mpv derivation, similar on how it's done for wrapFirefox and wrapNeovim. The change also introduced the following evaluation error when using the old mpv-with-scripts package: Use wrapMpv for editing the environment of mpv Since this evaluation error essentially blocks Vuizvui channel generation, I decided to fix this, even though I usually try to avoid touching other people's machine configurations. [1]: https://github.com/NixOS/nixpkgs/commit/f93918bdc387d353285f458c06c6a111ae90b7b2 Signed-off-by: aszlig <aszlig@nix.build> Cc: @Profpatsch
* modules/{packages,services}: Remove keybasedevhell2020-05-262-2/+0
| | | | Aquired by Zoom, no thanks.
* pkgs/aszlig/xournal: Switch to xournal++aszlig2020-05-214-91/+2
| | | | | | | | | | | | | The patch I added to xournal was for keeping the aspect ratio when annotating PDFs with images. However, looking at xournal++ the aspect ratio is kept by default when resizing via corners so the patch is not needed. Since I don't really care a lot whether it's xournal or xournal++ and as long as it does the very little things I intend to use it for, I don't mind if it has too many features for my taste. Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/sternenseemann/logbook: 0.2 → 0.3sternenseemann2020-05-211-8/+6
|
* profiles/packages: Add signal-desktopdevhell2020-05-161-1/+2
| | | | Knew I forgot something in the last clean-up.
* machines/hildr: Add podman packagesdevhell2020-05-141-0/+2
| | | | We'll need these to replace docker.
* devhell-wide: Remove unnecessary packagesdevhell2020-05-144-12/+0
| | | | Still a continuation of some housekeeping.
* machines/{eir,hildr}: Remove docker/servicedevhell2020-05-142-6/+1
| | | | | I think I'll switch to `podman` now. I was never a fan of docker needing a daemon to begin with.
* pkgs/sternenseemann/logbook: always use jingoo patchsternenseemann2020-05-141-1/+1
|
* pkgs/sternenseemann/logbook: fix build for jingoo >= 1.3.0sternenseemann2020-05-141-1/+6
|
* pkgs/sternenseemann/logbook: unstable -> 0.2sternenseemann2020-05-131-3/+3
| | | | Fixed for newer cow versions
* pkgs/profpatsch/xdg-open: make possible to parse protocolsProfpatsch2020-05-112-60/+101
| | | | | | | | This is now on par with the original script in https://github.com/Profpatsch/dotfiles/blob/a25c6c419525bef7ef5985f664b058dc9eb919e9/scripts/scripts/xdg-open Eventually it should probably migrate away from a generated bash script, but for now it’s fine.
* pkgs/profpatsch/dhall-flycheck: update to dhall 1.31.0Profpatsch2020-05-111-2/+3
|
* pkgs/profpatsch/xdg-open: implement special commandsProfpatsch2020-05-103-30/+73
|
* pkgs/profpatsch: add xdg-open, WIPProfpatsch2020-05-0912-0/+322
|
* pkgs/profpatsch: add importDhall/importDhall2/readDhallFileAsJsonProfpatsch2020-05-092-0/+68
| | | | | | Like a normal `import`, but for dhall files. `importDhall2` can additionally handle dependencies and additional source files, though the interface is not stable yet.
* pkgs/profpatsch: add exactSourceProfpatsch2020-05-092-0/+86
|
* pkgs/profpatsch: update dhall-flycheckProfpatsch2020-05-091-4/+5
|
* pkgs/profpatsch: update easy-dhall-nix, add dhall-jsonProfpatsch2020-05-091-2/+3
|
* pkgs/profpatsch: add buildDhallPackageProfpatsch2020-05-092-0/+71
|
* zsh: Fix XTerm-specific shell initialisationaszlig2020-05-081-1/+1
| | | | | | | | | | | | | In 7faaaab0af1e30bdfb72eca02abdfe92efefe4e0, I've changed the TERM variable to contain "xterm-256color". However, in our shell initialisation, we check whether $TERM is "xterm" rather than whether $TERM *starts* with xterm. Doing the latter fixes title setting and home/end keys in Vi normal mode. Signed-off-by: aszlig <aszlig@nix.build>
* gopass: Rebase pager colour patch against v1.9.0aszlig2020-05-081-9/+9
| | | | | | | | The import list of list.go has changed upstream, so the rebase of this patch doesn't change anything in its functionality but just makes sure that it applies against gopass version 1.9.0. Signed-off-by: aszlig <aszlig@nix.build>
* vim: Add vim-css-color pluginaszlig2020-05-081-1/+12
| | | | | | | | | | | | | This is quite useful in CSS files and others to directly highlight the colours in the actual colour value rather than with the generic colour of the syntax file. To make sure we don't break the after/syntax files for Haskell and HTML, I also changed the way we install those files in the output directory so that if a file already exists, it is appended to rather than overwritten. Signed-off-by: aszlig <aszlig@nix.build>
* vim: Remove file artifacts for ATS syntax pluginaszlig2020-05-081-2/+3
| | | | | | | | | | | We essentially only want to have the ftdetect and syntax files, everything else is just cruft that is not in any way related to Vim. Ideally we want to do a whitelist approach instead of the "remove everything unneeded" we're doing right now, but since I don't want to refactor the whole Vim expression I'll leave it the dirty[TM] way. Signed-off-by: aszlig <aszlig@nix.build>