about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* pkgs/profpatsch/display-infos: add sfttime and AC chargerProfpatsch2019-04-202-7/+10
|
* pkgs/profpatsc: add sfttimeProfpatsch2019-04-203-0/+158
|
* machines/{eris,titan}: Fix 'light' inclusiondevhell2019-04-192-3/+4
| | | | | | The previous commit was wrong in that it was not the correct way to include the 'light' package. According to the manual, this is the correct way.
* machines/{eris,titan}: Add 'light' packagedevhell2019-04-192-2/+3
| | | | | | Since the 'modesetting' driver does not work with 'xbacklight' we have the choice of either 'light' or 'backlightctl'. For now we'll choose 'light' and see how it goes.
* machines/{eris,titan}: Switch to modesettingdevhell2019-04-192-2/+2
| | | | | The release notes for NixOS 19.03 state that the 'intel' driver has been superseded by the 'modesetting' driver.
* build-support/build-sandbox: add support for mounting /nixProfpatsch2019-04-183-19/+53
| | | | | | Enables us to run nix *inside* of a sandbox. We have to mount the whole store, because otherwise realized store paths built inside of the sandbox are not accessible.
* buildSandbox: return the exit status of wrapped executableProfpatsch2019-04-181-2/+18
| | | | | Since we want to create a transparent sandbox, returning the same exit code as the wrapped process is very important.
* profiles/services: Theme lightdm-greeter-minidevhell2019-04-071-0/+12
| | | | | This fits a bit better to the overall NixOS default background than the default hot pink window color and style.
* profiles/services: Switch to lightdm-greeters.minidevhell2019-04-071-1/+7
| | | | Much more visually pleaseing thane the default gtk greeter.
* profiles/packages: Add i3lock-fancydevhell2019-04-031-0/+1
| | | | Can't decide yet which one I'll prefer.
* machines/titan: Enable glx and vsync for comptondevhell2019-04-031-0/+2
|
* pkgs/profpatsch: add dhall types for s6 servicedirProfpatsch2019-04-0223-0/+285
| | | | | First version of a way to build s6 services using `dhall-to-nix`. Includes a small library that formalizes the tables in `man 7 signal`.
* profiles/base: Switch back to linuxPackages_latestdevhell2019-03-291-1/+1
| | | | VBox and BFQ issues solved.
* pkgs.profpatsch: add git-commit-index toolsProfpatsch2019-03-253-0/+178
| | | | | | | A set of utilities to generate and query a git commit index, which is a database that knows which revs (that is: commits) are in which git repository. That way we can query for the project that contains a commit and show them, e.g. with xdg-open.
* pkgs.profpatsch: add nixperimentsProfpatsch2019-03-251-0/+22
|
* machines/profpatsch: katara -> shiki (hostname)Profpatsch2019-03-251-3/+3
|
* machines/profpatsch: katara -> shiki (file rename)Profpatsch2019-03-252-1/+1
|
* modules/profpatsch/scanning: add hplipProfpatsch2019-03-251-1/+2
|
* machines/katara: miscProfpatsch2019-03-252-12/+15
|
* machines/katara: nix optionsProfpatsch2019-03-251-0/+4
|
* sandbox: Add an option to set up /bin/shaszlig2019-03-234-5/+45
| | | | | | | | | | | | | | | | So far I mostly used this implementation for the games we have packaged, where we pretty much patch out all commands that execute external programs. However in order to be useful in a more generic way, it makes sense to provide a /bin/sh implementation, especially when you have to deal with scripting languages. I'm using dash here, because it's a more minimal implementation rather than the default shell (bash) we use in nixpkgs and it practically only needs to be able to run constructs like "/bin/sh -c foo". Signed-off-by: aszlig <aszlig@nix.build>
* machines: Remove kzerzaaszlig2019-03-202-70/+0
| | | | | | | | This machine was used for controlling the LED lighting bars at Rockfabrik. I no longer work there and the machine has subsequently been replaced by something else, so I don't need kzerza anymore. Signed-off-by: aszlig <aszlig@nix.build>
* profiles/workstation: Remove lastwatchaszlig2019-03-191-1/+0
| | | | | | | I no longer use last.fm nor do I use this project (even though it's my own one), so let's remove it. Signed-off-by: aszlig <aszlig@nix.build>
* bfq: Fix kernel config with SCSI_MQ_DEFAULTaszlig2019-03-191-1/+1
| | | | | | | This option was removed in Linux 5.0, so let's make its absence non-fatal for the build of the config. Signed-off-by: aszlig <aszlig@nix.build>
* modules/vlock: Allow to change the user nameaszlig2019-03-112-1/+12
| | | | | | | | | | | | When writing that module back then in 88a10f1a6e2ea172ff985f64bfcf82e2, I had to work around a systemd limitation (which I need to check whether this is still the case today) and hardcoded the user name for the time being. While it's still quite ugly, there was interest from @Profpatsch, so I decided to add an internal option to change that username. Signed-off-by: aszlig <aszlig@nix.build>
* profiles/base: Switch to generic font-awesomedevhell2019-03-041-1/+1
| | | | | This will prevent version pinning and always install the latest and greatest.
* pkgs.profpatsch: remove stray local pathProfpatsch2019-03-031-1/+1
|
* pkgs.profpatsch: bump utils-hsProfpatsch2019-03-031-2/+2
|
* pkgs.profpatsch: add patched haskellPackagesProfpatsch2019-03-032-6/+66
|
* machines/katara: add tweag builderProfpatsch2019-03-031-0/+9
|
* modules/base: Switch to font_awesome_5devhell2019-02-281-1/+1
|
* stardew-valley: Update to version 1.3.33aszlig2019-02-131-2/+2
| | | | | | | | | | | | | | | | | Upstream changes: * Improved performance in locations with lots of light sources (e.g. torches). * Improved performance on farms with lots of animals. * Tweaked new "H" health icon. Upstream bug fixes: * Fixed multiplayer visual glitch when another player uses a tool and then starts moving in a new direction. * Fixed "fishing stance" visual glitches in multiplayer. Signed-off-by: aszlig <aszlig@nix.build>
* monogame-patcher: Fix SHA256 hashes for depsaszlig2019-02-131-2/+2
| | | | | | | | | | | I checked the archives against the previous versions and the contents match, however the archives themselves had differences with the file order so the hashes are different now. In the long term, we probably should use fetchzip instead so we don't get a hash mismatch if none of the actual contents change. Signed-off-by: aszlig <aszlig@nix.build>
* games: Use "mono" instead of "mono50"aszlig2019-02-134-9/+9
| | | | | | | | | | | The use of mono50 was just an old relic where I was debugging some issue with a game, but I used it as a template for packaging other games, so it spread throughout the code base. I've tested all these games just to make sure they still work with the latest version. Signed-off-by: aszlig <aszlig@nix.build>
* fetchHumbleBundle: Fix fetching productsaszlig2019-02-131-0/+2
| | | | | | | | | | The "Product" model expects to have a "supports_canonical" attribute in the JSON Product object, which since a while is no longer there. We really don't need that attribute for our purposes, so we can simply drop the line where we do the lookup. Signed-off-by: aszlig <aszlig@nix.build>
* fetchHumbleBundle: Fix getting recaptcha responseaszlig2019-02-131-1/+5
| | | | | | | | | | | | | | | | | | The object in question to get the response from the Recaptcha widget is now called "grecaptcha" instead of just "captcha" and the method to call now is also called "getResponse" instead of "get_response". Another change is that the grecaptcha object isn't available immediately once the page is loaded, so I added a try...catch loop for that. I know it's evil to do that, but I tried to check just for whether grecaptcha is available and then call the getResponse method but found out that during object construction there is a small time window where getResponse is available but isn't a callable method. There is still another issue with the HB fetcher, but the first step is hereby fixed. Signed-off-by: aszlig <aszlig@nix.build>
* taalo-build: Allow to build multiple derivationsaszlig2019-02-131-1/+1
| | | | | | | | | | | | | | | | If taalo-build is used on a Nix expression returning multiple derivations either by a list or an attribute set, nix-instantiate will return multiple paths. Quoting the argument to "nix-store -r" however will pass the newline- separated files returned by nix-instantiate as one big file name, which in turn causes the realize to fail. Removing those quotes doesn't have this problems and we also don't get into trouble because those paths are under our control and don't contain spaces or tabs (which would then be splitted by the shell). Signed-off-by: aszlig <aszlig@nix.build>
* machines/dnyarri: Stop bcache during sleep/scrubaszlig2019-02-091-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | I did have a major outage this week, because I was using bcache with writeback mode on a RAID10 backing storage. Fortunately, I was able to recover 99.9% of the data (only the most recent stuff wasn't recoverable), but I certainly don't want this to happen again in the future. While I did use bcache with hibernate and writeback, the interesting part is that the caching device went bonkers after a "normal" shutdown rather than a suspend/hibernate, with "normal" being "with a bunch of kernel warnings about zswap". Also, this happened around a btrfs scrub, so the inconsistency was all over the place. So first of all, I'm now going with writaround mode rather than writeback mode for the time being. Although it's slower than writeback, the chances that I need to do such a recovery again is close to 0% with writethrough and writearound because all writes are synchronous. Second, this very change makes sure that whenever the machine goes to sleep or a scrub is started, the caching is disabled and afterwards it's re-enabled. That way we shouldn't have lots of trash on the caching device. Signed-off-by: aszlig <aszlig@nix.build>
* machines/dnyarri: Enable btrfs auto-scrubaszlig2019-02-091-0/+2
| | | | | | | | I had this in my local configuration.nix since a while and while it might be annoying when this runs every month, I think it's better to do it regularily rather than having a dying disk go unnoticed. Signed-off-by: aszlig <aszlig@nix.build>
* sandbox: Fix linking against libnixmainaszlig2019-01-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since add_DT_NEEDED_for_dynamic is no longer the default for ld[1], we'll get a linking error like this: nix-query.o: undefined reference to symbol '_ZNK3nix5Store22followLinksToStorePathERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE' Unfortunately, the only way to work around this without re-enabling the same flag is directly specify dependencies we really *should* not need to specify because they're a transient dependency of libnixmain. So for now I'm reverting back to the previous behaviour with --copy-dt-needed-entries until I got time to look into it in detail. From the ld(1) manual page: --copy-dt-needed-entries --no-copy-dt-needed-entries This option affects the treatment of dynamic libraries referred to by DT_NEEDED tags inside ELF dynamic libraries mentioned on the command line. Normally the linker will add a DT_NEEDED tag to the output binary for each library mentioned in a DT_NEEDED tag in an input dynamic library. With --no-copy-dt-needed-entries specified on the command line however any dynamic libraries that follow it will have their DT_NEEDED entries ignored. The default behaviour can be restored with --copy-dt-needed-entries. This option also has an effect on the resolution of symbols in dynamic libraries. With the default setting dynamic libraries mentioned on the command line will be recursively searched, following their DT_NEEDED tags to other libraries, in order to resolve symbols required by the output binary. With --no-copy-dt-needed-entries specified however the searching of dynamic libraries that follow it will stop with the dynamic library itself. No DT_NEEDED links will be traversed to resolve symbols. [1]: https://github.com/NixOS/nixpkgs/commit/bcfe7af84b3628a31bfcc43dde30fc553a73adac Signed-off-by: aszlig <aszlig@nix.build>
* profiles/base: Switch to kernel 4.19devhell2019-01-051-1/+1
| | | | | | The currently available VBox version (5.2.22) in nixpkgs does not build with kernel 4.20, and Vbox 6 is still WIP, so switching to kernel 4.19 for now should hopefully result in VBox being available on my systems.
* taalo-build: Switch back to instantiate + realizeaszlig2019-01-041-7/+19
| | | | | | | | | | | | | | | | | | | | I refactored the two tools a while ago but eventually rendered taalo-realize useless, because it doesn't copy the derivation to realize to the remote host. This is done now, plus the taalo-build command now makes sure that we instantiate on the local machine, thus speeding up builds a lot (except maybe if the local host is under very high load). In addition I added an indirect gcroot inside a temporary directory, so that we don't get into a race condition when garbage collecting between instantiate and realize. Instead of nix-copy-closure, I now use "nix copy", which properly supports the ssh-ng store backend. However I didn't use "nix build" and friends, because these commands still lack a few features. Signed-off-by: aszlig <aszlig@nix.build>
* hardware/t100ha: Switch to kernel 4.19aszlig2019-01-031-1/+1
| | | | | | | | | | | | I have not yet tested this in production but will do shortly. Nevertheless, kernel 4.19 should bring a few improvements regarding hardware support to the table and kernel 4.14 doesn't build anymore with our BFQ patch, so let's move on :-) In case the kernel doesn't work, we can still patch it up accordingly. Signed-off-by: aszlig <aszlig@nix.build>
* Revert "machines/titan: Switch to iwd"devhell2019-01-031-1/+1
| | | | | | | This reverts commit 292099429d0bab51f0cb634c6bc5c9745c4c1383. Well, looks like iwd ist still not ready for primetime with my university's eduroam implementation.
* profiles/packages: Add rstudiodevhell2019-01-021-2/+3
| | | | It's time...
* Revert "profiles/services: Disable virtualbox"devhell2019-01-021-1/+1
| | | | | | This reverts commit 7415729ff62b9ad5ce5a166c227d5c882094fe6b. Nope, can't do without VBox right now. Damn work.
* machines/profpatsch: disable sshd for workstationsProfpatsch2018-12-301-1/+1
|
* machines/haku: add wireguard kernel moduleProfpatsch2018-12-301-0/+3
|
* machines/haku: add Thomas’s ssh pubkey to vorstandProfpatsch2018-12-301-0/+1
|
* profiles/services: Enable geoip-updater and geoclue2devhell2018-12-281-2/+4
| | | | | Let's try again with geoip2. This time I built and tested it locally before applying it to vuizvui. All seems well, for now...