about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* pkgs/games: Add a new buildGame functionaszlig2017-09-133-0/+178
| | | | | | | | | | | | | | | The main functionality for this function is to gather missing dependencies in ELF executables and shared libraries and using patchelf to set the right RPATH. All of the dependencies are searched based on what we have in one of the buildInputs variables, so all we need to do is list them in there. One thing that's still left to solve is adding libraries to the RPATH which are only required at runtime. An example for this would be the pulseaudio library. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* devhell/titan: Add neomuttdevhell2017-09-131-0/+1
|
* pkgs/build-unity: Create desktop entryaszlig2017-09-101-2/+19
| | | | | | | | | | | | This automatically creates a desktop entry based on the given fullName and the standard path for the icon (Resources/UnityPlayer.png). Well, at least I hope that the icon path is standard, but we'll see once we use buildUnity for more games. Tested using Plasma 5 for Invisigun Heroes. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* pkgs/build-unity: Wrap binary instead of linkingaszlig2017-09-101-2/+4
| | | | | | | | The executable of Unity games at the moment is unable to find its own path if it can't do a stat() on argv[0]. So wrapping the program helps here for now. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* games/invisigun-heroes: Factor out into buildUnityaszlig2017-09-104-38/+67
| | | | | | | | | | | There are a lot of Unity games out there, so it's a good idea to have a generic builder just for Unity, which we then can apply to a lot more games. Right now this is a pretty basic abstraction which I've only tested with Invisigun Heroes. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* pkgs/games: Inline base-module.nixaszlig2017-09-102-14/+11
| | | | | | | This is such a short expression that really shouldn't belong in its own file, so that everything we want to know is there in default.nix. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* games/invisigun-heroes: Update to version 1.5.30aszlig2017-09-101-2/+3
| | | | | | | | | | | | The full upstream changes are a bit long to list here between 1.5.1 and 1.5.30, so here are the release notes from the official site: http://www.sombr.com/pub/SIG/tools/ReleaseNotes.php We're now using a version attribute for the fetchItch function, so that future updates won't break the package expression. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* games/fetch-itch: Allow to pass a versionaszlig2017-09-101-4/+30
| | | | | | | | | | | | | | | | | | So far we had a similar "experience" with itch.io as we had with humblebundle having upstream URLs being updated in-place and thus whenever we're trying to get an earlier revision than the latest one, our fetcher would fail. However, itch.io has build IDs which even contain version string that we can actually use in our packages as-is and they directly map to a build ID. This commit implements just that, so that whenever a version attribute is passed to fetchItch, an explicit version is selected. If such a version couldn't be found, a list of the most recent versions is displayed, which should also make it easier for updating packages. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/workstation: Move gpodder to dnyarriaszlig2017-09-072-2/+1
| | | | | | | Actually this is the only one workstation where I use gpodder, so let's move it there and also don't make it a lazy package. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/workstation: Don't make Firefox lazyaszlig2017-09-072-1/+1
| | | | | | | | I might move to Firefox as my primary browser again. Apart from that, I regularily use it anyway, so having it as a lazy package doesn't make sense. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines: Unify most options for brawndo and tyreeaszlig2017-09-073-121/+77
| | | | | | | | | | | | | | | | | | | Both machines are using Plasma along with a few common KDE applications, so let's actually be more aggressive about deduplicating the options, because after all whenever these machines start to deviate more from each other, we can still either override those options or move them out. I've also cleaned up a few packages, so instead of having mpv *and* vlc we now have mpv and bomi for both machines. The latter is mostly about figuring out whether it's actually a good GUI video player, as it is basically a front-end for mpv. With this unification this means that some packages which are generally useful, such as okular and gwenview are now not only available to tyree but brawndo as well. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @dwenola, @BrokkoliBerta
* machines/tyree: Add a few more KDE applicationsaszlig2017-09-071-4/+11
| | | | | | | | | | | Most of them are KDE PIM applications and kmail so far was already within the systemPackages in the configuration.nix directly so far. The one exception to these is kmix (an audio volume mixer), which is generally useful to have I think. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @BrokkoliBerta
* modules/bfq: Reintroduce SCSI_MQ_DEFAULT for 4.13aszlig2017-09-061-1/+1
| | | | | | | | | | | The change dropping the SCSI_MQ_DEFAULT option has been reverted in torvalds/linux@cbe7dfa26eee4819db7b5846181d56fd0cece0ea, so while the release canidate versions didn't have this option, the final release however does have it again. So we need to wait until 4.14 for it to become removed hopefully. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* tests/bfq: Use SCSI disk interfaceaszlig2017-09-061-1/+2
| | | | | | | | | Using the virtio disk interface isn't very suitable for real-world simulation, so let's use the SCSI interface, because SATA is exposed to userland as a SCSI device. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @devhell
* devhell/packages: Fix attribute for glancesaszlig2017-09-051-1/+1
| | | | | | | | | Eval error introduced by 761856c84d8abae87aa1cd3b2a0f70f9f1bf4397. It's actually in pythonPackages. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @devhell
* profiles/workstation: Add pv to systemPackagesaszlig2017-09-051-0/+1
| | | | | | | I tend to use it more frequently than I thought I would and it's quite small, so let's make it the default for my workstations. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* pkgs/vim: Clean up autocommandsaszlig2017-09-051-13/+13
| | | | | | | | | | | | I was using set for a bunch of these, but these autocommands are only used for single buffers so let's actually make sure they are set only there by using setlocal. In addition to that I've corrected usage of '==' to use '==#', because '==' actually depends on user settings whether it's case sensitive or not (set ignorecase). Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* pkgs/vim: Add sleuth plugin for indent detectionaszlig2017-09-051-0/+7
| | | | | | | | I work with a lot of differente repositories and different indentation styles, so I hope this plugin will help cope with that so I no longer need to set those settings manually. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* pkgs/vim: Add plugin for editing CSV filesaszlig2017-09-051-2/+16
| | | | | | | | | | | I happen to work with CSV files quite a bit lately but it's a major nuisance doing so with a normal text editor and I don't want to use a full-blown spreadsheet programm just for a few CSV files or even write a script every time I need to edit only a tiny bit. So this plugin solves that problem for me. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* pkgs/vim: Be more agressive with including pluginsaszlig2017-09-051-22/+33
| | | | | | | | | | | Originally I only wanted to make sure the ftplugin gets loaded before the syntax file, but while at it I thought just prepending/appending stuff to the runtimepath is not enough for me. So now my version of Vim has all the plugins directly in the standard directories just as if they came with upstream. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* devhell/packages: Add glancesdevhell2017-09-051-0/+1
|
* machines/titan: Add netalyzrdevhell2017-09-051-0/+1
|
* profiles/workstation: Add xournal to lazy-packagesaszlig2017-09-041-0/+1
| | | | | | | I'm not going to use this a lot, so let's not clutter up the closure size with it, even though the package is actually quite small. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* pkgs/aszlig: Add xournal with aspect ratio patchaszlig2017-09-043-1/+90
| | | | | | | | | This is an override of xournal with a patch that allows to keep the aspect ratio while resizing. Origin of the patch: https://sourceforge.net/p/xournal/patches/58/ Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines/schnurrkadse: add surfsternenseemann2017-09-031-0/+1
|
* machines/schnurrkadse: add pulseaudio zeroconf discoverysternenseemann2017-09-031-0/+2
|
* devhell/packages: Fix attribute for "jrnl"aszlig2017-09-021-1/+1
| | | | | | | | The jrnl package is now a top-level attribute since NixOS/nixpkgs@3ff173ffde475f96f12b379f4ae21658e63045c1. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @devhell
* madules/programs: Remove xpdf moduleaszlig2017-09-024-22/+1
| | | | | | | | | Since version 4.0 of xpdf, the UI has vastly changed and the configuration setting I'm using in this module no longer is necessary for me. So let's drop the module altogether until I'm getting used to the new xpdf and find new things I don't like :-) Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines/haku: Revert setting addSSL to trueaszlig2017-09-011-1/+0
| | | | | | | | | | | | | This reverts commit 0cfbc3bcd4be9ba3798f1752f82f6ea2d3aba650. Since NixOS/nixpkgs@ae9d311565d8c790900ebbc0976e447034930112 the addSSL option is now mutually exclusive to forceSSL. Turns out that this actually was a bug that got introduced in NixOS/nixpkgs@a912a6a291eaa5f6a2ad9143c9e276779c357a41. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @Profpatsch
* haku: add static vpn interfaceProfpatsch2017-09-011-0/+8
|
* machines/haku: add test mailinglistProfpatsch2017-09-011-1/+1
|
* devhell/packages: Remove arc-themedevhell2017-08-311-1/+1
| | | | | Currently I'm not using GNOME anyway, and it's failing on Hydra, so might as well disable it at the moment.
* pkgs/games: Add Invisigun Heroesaszlig2017-08-254-1/+138
| | | | | | | | | | This introduces support for fetching games from itch.io, because the Humble Bundle version unfortunately only provides a Steam key and we obviously don't want that. I only played two levels, but so far it works as intended. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* devhell/profiles: Fix package overridesaszlig2017-08-251-13/+11
| | | | | | | | | | | | | | | | | | | Regression introduced by 5990a4d62f2d3146ddd03ec2461d45b2102e5f42. In this commit, I copied over the nixpkgs.config.packageOverrides attribute, but didn't trim off the "nixpkgs.config", so the packageOverrides attribute didn't get evaluated correctly. While converting everything to overlays in 0feae9218e6f922366665e6515bc, I noticed that for @devhell's profile the store paths were different. In hindsight, this is pretty obvious given that overrides didn't apply *at* *all* but with the move to nixpkgs.overlays they suddenly applied. So this moves the overrides to overlays instead and drops the override on gnupg, because gnupg is already gnupg21 in upstream <nixpkgs>. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @devhell
* devhell/packages: Remove vivaldidevhell2017-08-201-1/+0
| | | | Tried it. Meh.
* machines/haku: Fix evaluation error for nginxaszlig2017-08-191-0/+1
| | | | | | | | In order to use forceSSL you now also need to use addSSL and there is an assertion now to check that since NixOS/nixpkgs@a912a6a291eaa5f6a2ad914. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @Profpatsch
* core/tests: Fix eval error for nixos.hardenedaszlig2017-08-191-1/+1
| | | | | | | | The configuration option boot.kernel.sysctl is of type attrsOf, so we can't assume that the attribute "user.max_user_namespaces" is actually there. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Rename all occurences of gpg2 to gpgaszlig2017-08-192-7/+7
| | | | | | | | | | | | This is in reaction to upstream commit NixOS/nixpkgs@e34ce9d1c551fb43742aada6bb43ccb1a52e64a1. One of the changes in GnuPG 2.1.23 is that the main binary is now called gpg instead of gpg2. See the full release announcement here: https://lists.gnupg.org/pipermail/gnupg-announce/2017q3/000412.html Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* core/tests: Update upstream NixOS testsaszlig2017-08-191-3/+14
| | | | | | | | | | | | | | | | | | | New tests as of NixOS/nixpkgs@77dfa05bd5a296476143f02f2cfc0e47bdded01a: * cloud-init * hardened * ldap * snapper Removed tests: * grsecurity Renamed tests: * installer.simpleUefiGummiboot -> installer.simpleUefiSystemdBoot Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profpatsch/pkgs: Fix attribute for searxaszlig2017-08-011-1/+1
| | | | | | | | | | Since NixOS/nixpkgs@c217f48c358db05bd0ad7893e8e3ebabe4784cbe, the searx package is no longer in pythonPackages but a top-level attribute. Tested eval by "nix-instantiate machines -A profpatsch.haku.build". Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @Profpatsch
* profiles: Remove IPv6 patch for systemd v233aszlig2017-07-312-19/+0
| | | | | | | | | | | This reverts commit 224a63100f6233fda762c72818cad57173411802 and 85f3d5340e53e2624f65248740ed04cb1f5e94e9. Since the last staging merge done in commit NixOS/nixpkgs@740d76371e6c1c76bae4801fc5b736a796c1ebbe we have systemd version 234, which already has the change this patch has addressed. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* pkgs/vim: Update vim-nix to latest master versionaszlig2017-07-311-2/+2
| | | | | | | The current master contains a few fixes with indentation which I regularly hit while writing Nix expressions. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Merge pull request #14 (add Antichamber)aszlig2017-07-282-0/+57
|\ | | | | | | | | | | | | | | | | | | | | Pull request is from @layus and I haven't tested the game, because I don't own it myself, but apparently @Profpatsch seems to got it working to the point of having a black screen, but that could be a rendering issue. So I'm merging this anyway, because even if only one person (@layus) is going to play it, it won't hurt and if multiple people using the expressions we probably get bug reports :-)
| * antichamber: init at 1.1Guillaume Maudoux2017-07-242-0/+57
| |
* | games: Add DOTT and Grim Fandangoaszlig2017-07-283-0/+249
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both are the remastered versions available via Humble Bundle and both also needed a bit of patching via an LD preloader in order to work as intended. Day of the Tentacle conforms to XDG but it assumes that the data directory is in the same directory of the executable, so we fake /proc/self/exe to point to the "$out/share/dott/DUMMY". The "DUMMY" here is because the implementation does a dirname() on the directory. Grim Fandango on the other hand needs a bit more patching, so we first of all override the _first_ chdir() the game does to point to the data directory but we also override fopen64() and opendir() to use the XDG_DATA_HOME-based save directory whenever one of these calls point to "./Saves/..." because the data directory resides inside the store and thus is (of course) read-only. I had the expressions for these two games laying around for quite a while, so while merging another game from a PR I thought it would be a good opportinity to merge them as well. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* | profiles/managed: Add patch for networkd IPv6 fixaszlig2017-07-261-0/+11
| | | | | | | | | | | | | | | | | | | | This is exactly the same patch/implementation as I've added for my machines in 85f3d5340e53e2624f65248740ed04cb1f5e94e9. I wanted to delay this a bit until I have tested it by myself, which I have by now. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* | pkgs/vim: Add vim-multiple-cursors pluginaszlig2017-07-251-0/+7
|/ | | | | | | | | While I find visual (block) mode quite useful, it doesn't cope well if you have multiple lines that aren't aligned perfectly. This plugin adds that missing feature. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Revert "pkgs/games: add antichamber"Profpatsch2017-07-242-59/+0
| | | | | This reverts commit 1fcecd0b9d6424f32f304c4fda0598894aac2011. It was written by @layus and the code came from PR #14.
* pkgs/vim: Switch Haxe plugin to vaxeaszlig2017-07-241-12/+9
| | | | | | | | | | | | | | | | The Haxe plugin(s) I've used so far (vim-haxe and vim-haxe-syntax) are no longer actively maintained since 2014. On the other hand "vaxe" is based on the work on vim-haxe and vim-haxe-syntax, is actively maintained and supports newer language features of Haxe as well. I've patched out syntax highlighting for ',' and ';', because I really get eye cancer with this and reminds me a bit about the annoying bold colons when using nickname completion back in the days where BitchX users were widely seen on IRC. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* pkgs/vim: Wrap lines at 79 chars instead of 80aszlig2017-07-241-4/+4
| | | | | | | | | | The reason is that for terminals that have a width of 80 characters, having a line with exactly 80 characters will wrap it. I've wrapped most of my code in 79 characters since a while manually, so it's time to enforce this by the editor. Signed-off-by: aszlig <aszlig@redmoonstudios.org>