about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* auto-patchelf: Fix adding env hookaszlig2018-02-011-1/+1
| | | | | | | | | | | | | | The semantics of adding env hooks has changed in NixOS/nixpkgs@7f3ca3e21a22fd3101b40cadb86899542dec2e35 so that it's now broken up into several hook variables (envBuildBuildHook, envBuildHostHook, envBuildTargetHook, envHostHostHook, envHostTargetHook and envTargetTargetHook). Fortunately commit NixOS/nixpkgs@a036473a0a0c6100fce316e1444fc33ec6674b adds a helper function (addEnvHooks) to deal this without referencing those hook variables directly and rather just providing an offset. Signed-off-by: aszlig <aszlig@nix.build>
* fetchHumbleBundle: Run get-captcha off-the-recordaszlig2018-02-011-1/+4
| | | | | | | | | | | | | | | | | | | | | We don't want this little helper to leave all kinds of junk on the disk, so let's enable offTheRecord mode for the default QtWebEngine profile. This in turn causes all stuff like cache, cookies, local storage and whatnot to only reside in memory. For example on my machine I had lots of files like this in ~/.local/share and ~/.cache: * 014bxyklf1xm99jd5rg8y4q0blmqw6yc-get-captcha * 18j0knrwrsamsrpwjz741midspxbqmpp-get-captcha * 4817rvjnj249ifvk7dsvv2p0kxi2jwkg-get-captcha So if you ran this helper you should probably remove *-get-captcha in XDG_DATA_HOME (by default ~/.local/share) and XDG_CACHE_HOME (by default ~/.cache). Signed-off-by: aszlig <aszlig@nix.build> Cc: @Profpatsch, @Sternenseemann, @layus
* profiles/packages: Add pixzdevhell2018-02-011-0/+1
| | | | For good measure, add pixz to the parallel compression collection.
* machines/titan: Disable dnscryptdevhell2018-02-011-2/+2
| | | | | | I'm spending too much time at Uni and dnscrypt will not work properly in this network and is causing lookup timeouts, so I'm going to have to disable it until I find a solution.
* games/invisigun-heroes: Update to version 1.6.1aszlig2018-01-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New features: * New hero: Cronus * New planet: Cerebrus (Kickstarter Cartographers' designs) * New Cerebrus map: Temple Garden * New Cerebrus map: Triple Trouble * New Cerebrus map: The Four Seasons * New Cerebrus map: Aqueduct * New Cerebrus map: Ice Prison * New Cerebrus map: Cold Storage * New Cerebrus map: The Conundrum * Localization: Spanish (Latin American, ES-419) Updates: * UI: Added ability to change the game mode in the post-match menu * UI: Improved map thumbnails (reflects game-lighting) * UI: Time-based game modes modifier increment changed from 10s to 5s * UI: Changed UI title font to support more localization glyphs * GFX: Cluster bombs match their owner's color Fixes: * UI: Fixed "FREE" resolution setting in windowed mode always reverting back to fixed sizes * UI: Fixed resolution / bluriness when using Alt+Enter to toggle fullscreen Full upstream change log: https://s3-us-west-1.amazonaws.com/sombr-invisigun/messages/ReleaseNotes.txt Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/santander: Update for Wine 3.0aszlig2018-01-312-298/+16
| | | | | | | | | | | | | | | | | The wine-no-unixfs.patch doesn't apply anymore, so we need to get a newer version of the patch now from http://achurch.org/patch-pile/, which is a bit different in that it adds --disable-unixfs as a flag to configure. We don't have autoreconfHook in nativeBuildInputs, so that flag will simply be ignored but unixfs will be disabled regardless because the flag in config.h.in is ENABLE_UNIXFS and it's not defined by default. The reason why I still added it to configureFlags is to prevent enabling it by accident if autoreconfHook should be part of the wine derivation in upstream <nixpkgs>. In addition to that I've made disabling getuid a bit more clear and with a comment about why we need to disable it. Signed-off-by: aszlig <aszlig@nix.build>
* profiles/base: Add corefontsdevhell2018-01-281-0/+1
|
* profiles/packages: Fix compton line and add agdevhell2018-01-261-1/+2
|
* profiles/packages: Add parallel vers of compression algosdevhell2018-01-251-1/+4
|
* machines/titan,profiles/packages: Compton as a servicedevhell2018-01-252-2/+9
| | | | | Instead of just running compton when i3 starts, we'll try to run it as an actual service here.
* profiles/packages: Add timewarriordevhell2018-01-191-0/+1
| | | | Blessed be thy name taskwarrior. I shall add your brother/sister.
* profiles/packages: Fix typodevhell2018-01-181-1/+1
|
* profiles/packages: Add taskdowndevhell2018-01-171-0/+1
| | | | This is actually qute handy for timing exams.
* profiles/packages: Add taskshdevhell2018-01-171-0/+1
|
* pkgs/vim: Remove vimErl pluginaszlig2018-01-091-7/+0
| | | | | | | This one is no longer required and the syntax and indent files are already part of Vim since version 7.4. Signed-off-by: aszlig <aszlig@nix.build>
* profiles/packages: Add sxivdevhell2018-01-081-1/+1
| | | | Better than `feh` I hope. Also, vim bindings.
* machines/eris: Change stop charge threshold to 90devhell2018-01-081-1/+1
| | | | | This battery is getting old, and leaving the max charge at 80 just isn't cutting it anymore.
* profiles/services: Switch enableKVM to qemuPackagedevhell2018-01-021-1/+1
| | | | | The option `enableKVM` has been deprecated in favor of defining the qemu package to use instead.
* profiles/base: Add 'dev' to 'plugdev' groupdevhell2017-12-301-1/+1
| | | | This is necessary for `adb` to stop complaining.
* Revert "profiles/{packages,modules}: Disable VirtualBox"devhell2017-12-222-9/+9
| | | | | | | This reverts commit 6edeead10bcabbd86cf499589f1b1911e0ccd2f2. Nope, can't do this. I still need VBox for uni work as it's part of a series of lectures I have to give.
* profiles/{packages,modules}: Disable VirtualBoxdevhell2017-12-212-9/+9
| | | | Hydra has some issues with this, so disabling again for now.
* core/tests: Remove openstack testsdevhell2017-12-161-6/+0
| | | | | | Openstack has been removed from nixpkgs (see PR #32637). Hydra's eval is failing because of this, so we should probably remove the tests here too.
* games/humblebundle: Add Opus Magnumaszlig2017-12-132-0/+119
| | | | | | | | | | | | | | | | | | | | | | | | | Upstream URL: http://www.zachtronics.com/opus-magnum/ For this I've ripped apart all of the bundled shared objects including Mono itself, so we're using Mono from <nixpkgs> instead of the provided one. In addition to that I had to patch the intermediate language because the game really doesn't cope very well when the data files are read-only, which is the case in the Nix store. Instead of replacing the CIL, I could have used an LD preloader as well, but I think this is way less error-prone even though we had to patch a few internal classes where we couldn't match the name properly. Compared to this an LD preloader would involve patching several symbols and also implement some logic to distinguish between files read from the data directory and files read/written to XDG_DATA_HOME. The reason why I added $HOME/Desktop to the required sandbox paths is because the game saves gif images into that directory. Signed-off-by: aszlig <aszlig@nix.build>
* machines: Remove tyreeaszlig2017-12-112-48/+0
| | | | | | | Tyree is dead, no further comment... Signed-off-by: aszlig <aszlig@nix.build> Cc: @brokkoliberta
* machines/dnyarri/i3: Replace Chromium with FireFoxaszlig2017-12-111-2/+2
| | | | | | | I'm using Firefox now and also having a label which only says "Browser" is a bit more browser-agnostic. Signed-off-by: aszlig <aszlig@nix.build>
* programs/gajim: Switch browser to Firefoxaszlig2017-12-111-1/+1
| | | | | | | I no longer use Chromium on a regular basis, so let's open URLs in Firefox instead. Signed-off-by: aszlig <aszlig@nix.build>
* machines/titan: Re-add Google nameserversdevhell2017-12-081-1/+1
| | | | | DNSCrypt doesn't cope well with Uni's network configuration. We need Google nameservers so dnscrypt can fetch its information. Meh.
* core/lazy-packages: Silence stdout of nix-store -raszlig2017-12-081-1/+1
| | | | | | | | | | | | For example if you have something like cabal2nix as a lazy package, using "cabal2nix --shell . > default.nix" will result in the store path of cabal2nix being present in the resulting default.nix as the first line. We obviously do not want that, so let's redirect stdout of nix-store -r to /dev/null. Signed-off-by: aszlig <aszlig@nix.build>
* machines/titan: Make networking.* less eye-destroyingdevhell2017-12-041-4/+6
| | | | | One of many attempt to follow in making the code more readable and DRY if possible.
* machines/titan: Add powertop auto-tuningdevhell2017-12-041-1/+4
| | | | | I find myself turning this on manually more and more, so might as well turn it on automatically.
* machines/titan: Add docker stuffdevhell2017-12-031-0/+3
| | | | I'll need some docker love for a bit, so here it is.
* devhell/profiles: Add dev to docker groupdevhell2017-12-031-1/+1
|
* machines/titan: Stop networkd using advertised DNSdevhell2017-11-301-0/+3
| | | | | | | DNSCrypt is pretty cool so far, but networkd is using the nameservers adviertised through DHCP on respective interfaces which defeats the point of DNSCrypt a bit. So, unfortunately we'll have to work around it this way.
* modules/bfq: Rebase patch against kernel 4.15-rc1aszlig2017-11-302-1/+16
| | | | | | | The patch for <= 4.14 no longer applies, because elevator_get() now has an additional argument. Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/sandbox: Check for absolute path in makedirsaszlig2017-11-301-0/+5
| | | | | | | | Though we're already checking the realpath() let's actually make sure that the path begins with a slash, otherwise we'll run into a segfault later when we try to access the second byte of path. Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/sandbox: Add handling for XDG_CACHE_HOMEaszlig2017-11-302-20/+32
| | | | | | | | | | | | We only handle XDG_DATA_HOME and XDG_CONFIG_HOME, but we've missed XDG_CACHE_HOME. While the latter is used very rarely as it doesn't matter a lot if it ends up within a tmpfs anyway. However if the cache directory gets pretty large we might run out of space. Not only do we now have proper fallbacks but this also adds tests for all of the XDG environment variables we're using. Signed-off-by: aszlig <aszlig@nix.build>
* tests/sandbox: Use top-level buildSandboxaszlig2017-11-301-2/+1
| | | | | | | | In 38d3fe573f4d0ad2115eaca71a0b8f67fd01a580 we have moved the sandbox builder to the top-level vuizvui namespace so we no longer need to do weird workarounds by providing an empty game configuration. Signed-off-by: aszlig <aszlig@nix.build>
* machines/eris: Enable compton and disable pasystraydevhell2017-11-301-2/+2
| | | | | | I'll move eris over to the same setup titan has now as it has been working like a charm. At some point I'll eliminate network-manager here too.
* pkgs/sandbox: Handle mounting of regular filesaszlig2017-11-301-33/+43
| | | | | | | | | | | | | | | While we already have support for mounting plain files, this is done on a very specific basis, mainly the .Xauthority file. Whenever we use bind_mount() and the file is a regular file, mounting that file will fail. So let's actually do a stat on the file and decide whether we want to do bind_file() or bind_mount(). I've stumbled on this because one of the store paths of the run time dependency graph was a plain file and thus the sandbox wrapper was unable to mount it. Signed-off-by: aszlig <aszlig@nix.build>
* build-sandbox: Move to top-level build-supportaszlig2017-11-3012-1/+3
| | | | | | | This is not only useful for packaging games, so let's make it available from the vuizvui scope, so we can use it from other packages as well. Signed-off-by: aszlig <aszlig@nix.build>
* pkg/profpatsch/nman: remove original C implementationProfpatsch2017-11-271-80/+0
|
* pkgs/profpatsch/nman: rewrite in golangProfpatsch2017-11-272-3/+140
| | | | | | | Apart from using the go compiler, switch from `nix-shell -p`, which only worked in certain cases, to a `nix-build` with fallback for `man` and default outputs. Thanks to @muesli for the golang intro.
* machines/titan: Remove Google DNS serversdevhell2017-11-261-1/+1
| | | | | It seems that dnscrypt is working, so for now I'll remove Google's nameservers.
* virtualbox: Reenabledevhell2017-11-252-9/+9
| | | | I tried. I can't work without it at the moment.
* machines/titan: Remove cruft and enable dnscryptdevhell2017-11-251-4/+3
| | | | I want to test this and see how it performs.
* games/invisigun-heroes: Add missing sandbox pathaszlig2017-11-241-0/+2
| | | | | | | | | For replays and custom phrases, Invisigun Heroes writes them to "$HOME/Invisigun Heroes", so we need to bind-mount that directory to the chroot as well. Signed-off-by: aszlig <aszlig@nix.build> Cc: @Profpatsch
* machines/titan: Reenable ipmitooldevhell2017-11-231-1/+1
| | | | | Forgot that I do like to use this at Uni when I can't be bothered with the IPMI webinterface (which I have yet to update from Java to HTML5).
* machines/katara: add jq, remove openvpn, fix gutenprintProfpatsch2017-11-221-11/+12
|
* machines/katara: switch back to network-managerProfpatsch2017-11-221-8/+8
| | | | | The wlp-supplicant module is just too buggy (especially after waking from standby it mostly doesn’t reinitialize the connection).
* machines/katara: config should not use recProfpatsch2017-11-221-1/+1
| | | | That’s from back when I wasn’t accustomed to the module system yet.