about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* pkgs/sternenseemann/nix-env-diff: utility for comparing nix-env evalssternenseemann2021-03-183-0/+173
| | | | | | | | | | | | | | | | | | | | | | | | nix-env-diff is a tiny utility which parses and compares the output of `nix-env -qaP --out-path`, printing all changed and added out paths (or attributes if desired). This facilitates a simple way to determine rebuilds or changed reverse dependencies when working on nixpkgs in a similar way as nixpkgs-review and ofborg do it. Both the new evaluation and the base evaluation to compare against have to be created manually using nix-env, which in turn also allows considering attribute sets that are normally not evaluated do to missing `lib.recurseIntoAttrs`. As an example, here is an example building all changed attributes in `ocaml-ng.ocamlPackages_4_12`: ``` nix-env -qaP -A ocaml-ng.ocamlPackages_4_12 --out-path -f . \ | nix-env-diff --attrs ./base-ocamlPackages_4_12 \ | xargs -n 1 -P 4 nix-instantiate --quiet -A \ | xargs nix-store --realise --builders 'ssh://edwin' ``` `./base-ocamlPackages_4_12` contains the result of the `nix-env` invocation executed on the master branch.
* machines/sternenseemann: add bonk shell functionsternenseemann2021-03-171-0/+9
| | | | | | | | | Shared by adisbladis in #nixos-chat this is a very stupid fish function which bonks a nixpkgs package into the PATH in the current shell. This is often useful if you need a package ad-hoc and opening a nix-shell is too much hassle or you find yourself perpetually opening and closing a nix-shell. Extremely racy with the garbage collector, but this is yolo ops territory anyways.
* machines/sternseemann/wolfgang: add njal.la VPN configsternenseemann2021-03-152-1/+40
|
* machines: Add temporary laptop slylandroaszlig2021-03-122-0/+53
| | | | | | | | | | | | | | Since Tishtushi had a SSD failure and thus became a majoor nuisance to work with, I got a temporary laptop from someone (since I don't know whether they want to be mentioned, I leave out their name for now) in order to be able to be more productive than waiting for several seconds for a 1 KiB text file to be saved. Right now, I'm not sure whether any firmware is needed for the temporary laptop, so this is a hardware configuration just to get started with a proper Hydra channel. Signed-off-by: aszlig <aszlig@nix.build>
* tests/psi: Work around OCR recognition failureaszlig2021-03-091-1/+1
| | | | | | | | | | | | For some reason I currently don't have time to investigate, the test has stopped to recognise the "Register new account" text, because the text extracted via OCR was "Reg ster new account" (note: without the "i"). Since we're not testing OCR in general and all we really care here in the test is whether the application starts up, I just changed the "i" to a "." (any character in regex) to make sure the detection passes. Signed-off-by: aszlig <aszlig@nix.build>
* flameshot: Rebase config against version 0.9.0aszlig2021-03-091-16/+8
| | | | | | | | The conflicting changes here are largely because of changed context, except one hunk which is dropped because the "saveAfterCopyPath" no longer existists in version 0.9.0. Signed-off-by: aszlig <aszlig@nix.build>
* programs/vim: Add vim-illuminatedevhell2021-03-061-0/+1
| | | | This is quite useful to the eye.
* pkgs/profpatsch/deploy: change gcroot locationProfpatsch2021-03-062-1/+3
|
* pkgs/profpatsch/execline: add missing execline depProfpatsch2021-03-061-1/+1
|
* pkgs/profpatsch: remove stray fileProfpatsch2021-03-051-77/+0
|
* pkgs/profpatsch: add gpg-private-offline-keyProfpatsch2021-03-053-0/+136
| | | | | | | | | | | | | | | | | These are the scripts I used to print my gpg private key onte a bunch of A4 papers, as QR codes of the paperkey output. It also contains an example of how to automatically read it back in with a ScanSnap „Einzugsscanner“. I think there also was a test that checks that the full roundtrip works :) The QR codes generation was designed in a way that they contain the highest amount of data when printed on A4 paper, while still being high-redundancy enough that you can destroy about 1/4th of them before they become unreadable. The key was also printed as plain paperkey format, so in the worst case when I don’t have a scanner I can type it in by hand.
* machines/shiki: do a barrel roll!Profpatsch2021-03-051-0/+18
| | | | Do a barrel roll!
* machines/shiki: remove openlab scanner hostnameProfpatsch2021-03-051-3/+0
|
* machines/shiki: enable docker daemon againProfpatsch2021-03-051-1/+3
| | | | Plus add some other virtualization thingies I can uncomment if I need them.
* machines/legosi: add --name to duplicity invocationProfpatsch2021-03-051-0/+1
|
* machines/shiki: add ghcProfpatsch2021-03-051-0/+1
| | | | why not lol
* machines/shiki: add xautomationProfpatsch2021-03-051-0/+2
|
* machines/shiki: add digitallyinduced cachixProfpatsch2021-03-051-0/+7
| | | | Used for IHP development https://ihp.digitallyinduced.com/Guide/index.html
* pkgs/profpatsch/nix-eval: add --read-write-modeProfpatsch2021-03-051-1/+5
|
* pkgs/profpatsch.de: add talkiesProfpatsch2021-03-051-1/+12
|
* services/Profpatsch: add gonic server & enable on hakuProfpatsch2021-03-053-0/+63
| | | | | | | gonic is a modern alternative to mpd, it indexes music directories and provides a server with a protocol to request files and metadata. It has an Android app.
* pkgs/profpatsch/sandbox: fix the env callProfpatsch2021-03-051-1/+1
|
* pkgs/profpatsch/xdg-open: improve tool a bitProfpatsch2021-03-056-38/+100
|
* pkgs/profpatsch/importDhall: fix importDhall2 wrapperProfpatsch2021-03-051-0/+1
|
* services/profpatsch/weechat: start factoring out some optionsProfpatsch2021-03-052-13/+29
| | | | | | The goal is to be able to have multiple weechat services on one machine, so a bunch of people can run their weechat clients under different service users.
* machines/legosi: enable xandikos caldav/carddav serverProfpatsch2021-03-051-0/+17
|
* machines/{shiki,legosi}: enable tailscale moduleProfpatsch2021-03-052-0/+4
|
* machines/profpatsch/base-workstation: add binutilsProfpatsch2021-03-051-0/+1
|
* machines/shiki: make dunst follow keyboard focusProfpatsch2021-03-052-0/+4
|
* machines/shiki: reenable fcitx Japanese inputProfpatsch2021-03-051-10/+10
|
* machines/profpatsch: fix git overwriting gitFullProfpatsch2021-03-052-2/+8
| | | | | | I had a clash between the base config and my workstation, which lead to `git send-email` not being available because `git` (minimal) was shadowing `gitFull`.
* machines/herja: Disable light programdevhell2021-03-041-1/+1
| | | | | | | | | I've been using `illum` to make the screen brightness keys work on this machine. It's better than invoking light manually or via a xbindrc call. Although, `illum` is a bit outdated in nixpkgs, and I'm guessing that's the reason why it crashes when the machine boots. After restarting the service it's fine. If `illum` isn't updated in nixpkgs soon, I'll have a look at it.
* machines/sternenseemann/wolfgang: set builders-use-substitutes = truesternenseemann2021-03-042-4/+9
|
* profiles/packages: Replace tldr with tealdeerdevhell2021-03-021-1/+1
| | | | | | | The normal `tldr-c-client` from `tldr`'s own repository hasn't been updated in about 5 years and there is a really annoying update bug that has a fix but upstream has just "forgot" about it it seems. So, this alternative works as expected and is written in Rust. Yay.
* Revert "machines/herja: Add non-functioning mute btn event"devhell2021-03-011-10/+0
| | | | | | `xbindkeys` seems to be the solution, at least via user-space. This reverts commit 59dbc84cb214ed3df6506e95d3bf59b89f9d3548.
* machines/eir: Remove some unneeded CUPS packagesdevhell2021-03-011-1/+1
|
* machines/herja: Add non-functioning mute btn eventdevhell2021-03-011-0/+10
| | | | | | For some reason this doesn't work yet. It works fine when run manually as root or my own user, but when acpid runs it nothing happens. Dunno yet why.
* machines/sternenseemann/wolfgang: add nix-output-monitorsternenseemann2021-02-281-0/+1
| | | | Kinda need despite my eternal hate for terminal ui.
* machines/shiki: “solve” the keyboard speed reset problemProfpatsch2021-02-271-0/+18
| | | | | External keyboards never keep the speed I set. I don’t want that. I don’t want to interact with udev, either.
* pkgs/profpatsch/nman: add readmesternenseemann2021-02-251-0/+12
| | | | | I think nman is of general interest, so general pointers on setting it up may be useful for others.
* pkgs/profpatsch/nman: use unicode replacement characterssternenseemann2021-02-251-1/+1
| | | | | Should give the user more information about what exactly went wrong in the event of a store path being garbage.
* pkgs/profpatsch/nman: check all man files for matchessternenseemann2021-02-251-20/+76
| | | | | | | | | | Instead of generating n hypothetical filenames for the man page we search for and checking if one of them exists, we now iterate through the files in the man dir we are checking and match each of them against our desired man page and section. I feel like this makes the code more cumbersome, but on the upside it is now more unit-testable.
* pkgs/profpatsch/nman: check that empty sections are disallowedsternenseemann2021-02-251-3/+4
|
* pkgs/profpatsch/nman: unit test testable stuffsternenseemann2021-02-253-4/+87
| | | | | | | This is parsing and rendering of stuff currently mostly, since our main logic is relatively interwoven with IO stuff (to avoid copying stuff a lot). This is fine however as the application logic is tested using the nixos vm test we also have!
* pkgs/profpatsch/nman(1): examples after descriptionsternenseemann2021-02-251-30/+17
|
* pkgs/profpatsch/nman(1): reorder invocation descriptionssternenseemann2021-02-251-25/+26
| | | | Now shortest is listed first.
* pkgs/profpatsch/nman: let nix tools inherit stderr handlesternenseemann2021-02-251-12/+25
| | | | | | | | | This relieves us of the burden to print the error message and lets the user see what's going on, for example why they have to wait for years when running `nman duplicity` (we have to fetch all transitive python dependencies). We also print the exit status in case of errors and the signal that killed a process (in the case of SIGKILL, SIGSEGV and maybe more?).
* pkgs/profpatsch/nman(1): please mandoc -Tlintsternenseemann2021-02-251-1/+1
|
* pkgs/profpatsch/nman: use 100 for usage errorssternenseemann2021-02-252-3/+3
| | | | | | | In the Profpatsch universe, execline reigns surpreme. Therefore we must bow to its (understandable) rejection of POSIX and use 100 as the user error instead of the 64 of sysexits.h. This makes a lot of sense, as we are already using execline conventions for the other exit codes.
* pkgs/profpatsch/nman(1): add DISCLAIMER sectionsternenseemann2021-02-251-0/+13
| | | | | | | | We want to discourage scripting with nman, as we may want to tweak the user interface or internal behavior of nman in the future without maintaining backwards compatibilty. In other words: You have been warned.