about summary refs log tree commit diff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* profpatsch/programs: add support for scanningProfpatsch2016-02-042-0/+14
|
* profiles/workstation: Add my PlayStation 2 gamepadaszlig2016-01-261-0/+26
| | | | | | | This one is a PlayStation 2 gamepad connected via USB using some GreenAsia adapter. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules: Add a new gamecontroller moduleaszlig2016-01-262-0/+110
| | | | | | | | This module is for declaratively specifying SDL_GAMECONTROLLERCONFIG, an environment variable used by SDL 2 to map arbitrary controllers to that of an XBox reference controller. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/base: Add Headcounter Hydra as log serveraszlig2016-01-191-0/+1
| | | | | | | | | | Quite useful for paging logs so that I don't all the time need to either scroll back the buffer (which is also limited so it's not very useful for large builds) or use something like: curl https://headcounter.org/hydra/log/$drvbasename | less Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* programs/taalo-build: Directly connect to taaloaszlig2016-01-191-3/+3
| | | | | | | | As I'm moving away the deployment from mmrnmhrm, it's not a very good idea to rely on the deployment machine being up, which also makes it two machines that need to be up in order to build from tishtushi. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/tests: Revert disabling quake3 testaszlig2016-01-161-2/+0
| | | | | | | | | This reverts commit 71d24b28c16fbae58d1ecfeaecf5a26c7ec015da. Evaluation has been fixed upstream at NixOS/nixpkgs@c4de45b and the test should succeed after NixOS/nixpkgs@5caa8ab as well. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/tests: Temporarily disable quake3 testaszlig2016-01-151-0/+2
| | | | | | | | | | | | | The Quake 3 demo data have been marked as "unfreeRedistributable" in NixOS/nixpkgs@6b447a3, which causes this test to not evaluate unless we set config.allowUnfree to true. I guess the best solution to fix this upstream is to use something like OpenArena for the Quake 3 tests, because I didn't manage to find anything regarding the demo files and/or whether those are redistributable or not. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines/tyree: Factor out T100HA specific stuffaszlig2016-01-142-0/+21
| | | | | | | | This should go into its own hardware module, so it might be helpful for others as well (especially if we're going to put it into upstream <nixpkgs>). Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules/README: Put hardware into own namespaceaszlig2016-01-141-1/+5
| | | | | | | | That way we can separate completely hardware-related stuff from things like bootup and kernel, although the lines between kernel and hardware are quite blurry. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules: Add my own custom xpdf configurationaszlig2016-01-144-1/+22
| | | | | | | | | It's only a very handy keybinding for toggling the outline, because it sometimes gets very annoying if you don't want to go full screen but still don't want that outline eating up space (and no, I don't want to reach for the mouse). Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/workstation: Add more printing driversaszlig2016-01-141-0/+1
| | | | | | | For example at the place where I am right now, I need hplip to access the printer. Also, it won't hurt to include gutenprint as well. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/base: Switch to nix.buildCoresaszlig2016-01-141-1/+1
| | | | | | | | | This option has been there for a long time (since NixOS/nixpkgs@e8dace2), so let's actually use it instead of putting it into extraOptions to make sure we get an error should the option be renamed or removed. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* aszlig/kernel: Update to version 4.4.0-rc8.aszlig2016-01-071-3/+3
| | | | | | This is -rc8 plus 36 commits ahead. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* hardware.tinkpad: module for thinkpad optionsProfpatsch2015-12-222-0/+32
|
* profiles/workstation: Reboot 30m after panicaszlig2015-12-211-1/+1
| | | | | | | | | | Just happened to have a kernel panic on mmrnmhrm and no way to physically access the machine, which is quite a bummer. While we can't prevent kernel panics, we can at least prevent the machine to hang indefinitely. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/base: Enable beets-alternatives pluginaszlig2015-12-181-0/+3
| | | | | | | | This has been introduced in NixOS/nixpkgs@662ab05 and it's quite useful for creating USB sticks for crappy audio players which are only able to read crappy audio formats ;-) Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/tests: Add networking.*.loopback testaszlig2015-12-181-0/+3
| | | | | | | | | | | | I've added that test in NixOS/nixpkgs@4c61faa and it fails at the moment, still leaving the channels in a broken state in regards to networkd. The reason I'm doing this anyway is to ensure I won't forget to add that test here as well. We can't easily go back to the "not broken" state anymore, except if we roll back to a version with systemd < 228. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* aszlig/programs: Add a new "taalo-build" program.aszlig2015-12-142-0/+66
| | | | | | | | | | | | | | | This is primarily for whenever I'm on the road with varying degrees of internet connectivity. What it essentially does is ssh to mmrnmhrm, then ssh to taalo and then run nix-store --serve --write on it. Taalo is the Hydra master of https://headcounter.org/hydra/ and it has remote builds enabled. The script essentially only builds on the remote host but doesn't fetch the builds. The latter can be done if the Hydra is added as a build cache to the local system, which in case of vuizvui is by default. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/tests: Add a check for allProxy.aszlig2015-12-111-1/+3
| | | | | | | This was just pushed a few minutes ago as commit NixOS/nixpkgs@565707c57abc6ee9e81d4f6c9bd5fed5bbac2d40. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/tests: Avoid scanning full linuxPackages.aszlig2015-12-111-1/+2
| | | | | | | | | | | | | Using an equality test on an attribute set is actually a very bad idea, because it forces strict evaluation. In this case a simple test on the kernel version between the defined one and the available one should be sufficient. And if we have a false-positive in test inclusions it doesn't hurt anyway. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/tests: Fix evaluation for real.aszlig2015-12-111-3/+5
| | | | | | | | | | This time I've gone through the hoops of almost running out of memory, because evaluating the channel expression now eats lots of RAM. Meaning: I've now actually tested it on my system without just throwing it at the Hydra box which has lots of RAM... unlike my local machine :-( Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/tests: Fix evaluation.aszlig2015-12-111-1/+1
| | | | | | Forgot to include pkgs to module args. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/tests: Add most of the NixOS tests.aszlig2015-12-111-6/+217
| | | | | | | | | | | I've added all tests that are not related to packages in environment.systemPackages or are otherwise tricky to include or to distinguish (for example NFSv3 vs. NFSv4). So we now should have a pretty good test coverage for all of our machines. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/common: Move requiresTests to tests.aszlig2015-12-112-13/+15
| | | | | | | That way we have everything regarding the vuizvui testing system in one module instead of two. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/tests: Fix attributes of network tests.aszlig2015-12-111-1/+1
| | | | | | | We should emit the actual derivations but instead just the main attribute "nixos.networking" was added to vuizvui.requiredTests. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules: Make requiresTests a list of paths.aszlig2015-12-113-11/+11
| | | | | | | | | | | Unfortunately, we went into trouble and the Hydra machine not only consumed lots of ram during evaluation but it also triggered a bunch of evaluation errors because the available tests were strictly evaluated. Using attribute paths consisting of plain strings doesn't have the same problem, even though they look a bit uglier. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/common: Move gathering tests to lib/.aszlig2015-12-111-13/+2
| | | | | | | | | | So my gut feeling in 90c080e was't wrong after all, so we need to create jobs for all the tests the machines include. In order to make this easier, we're going to re-use the collection of all test attributes from release.nix so putting it in lib/ makes sense. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* services/i3: Add i3 test to requiresTests.aszlig2015-12-111-20/+24
| | | | | | | | We have that i3 dummy test in here for quite a long time, so it's actually time that the test will mean anything (even though the test really isn't doing anything right now). Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules: Add a few basic NixOS networking tests.aszlig2015-12-112-0/+16
| | | | | | | | This is basically just to get started and for testing whether our idea will actually work out as planned. My gut feeling is that Hydra explicitly needs jobs for these tests, but we'll see. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/common: Pass tests attribute to modules.aszlig2015-12-111-2/+20
| | | | | | | | | | | | | | | | | | | | | | | This is going to be used in modules or configurations to include tests specific to the module, for example let's say you have a foo.nix module that defines a foo service and you have a test named "foo" in the tests.vuizvui namespace. You can use it like this: { config, tests, lib, ... }: { ... other options of the foo service module ... config = lib.mkIf config.foo.enable { vuizvui.requiresTests = [ tests.vuizvui.foo ]; }; } If a machine config enables the module foo (foo.enable = true) then the "foo" test is also a constituent of the machine channel for the machine. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/common: Add a new requiresTests option.aszlig2015-12-111-0/+9
| | | | | | | | | | The idea is that modules can define a list of test jobs which need to succeed whenever the module is used. In the end this should make channel updates a bit less frightening for people not already confident in using NixOS. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/base: Remove patch for nixUnstable.aszlig2015-12-111-9/+2
| | | | | | | | | This reverts commit c4915296f064587b7ead2c8ddb7bf42aeca522dc. We no longer need this because the nixUnstable version has been updated in NixOS/nixpkgs@2de76b275366a700f7f79709bf30d67358f2838a. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* programs/vim: Indent docbook files with 2 spaces.aszlig2015-12-111-0/+1
| | | | | | | Having 4 spaces indentation for docbook files is going to get a bit too far to the right. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* programs/vim: Update vim-nix to latest master.aszlig2015-12-111-2/+2
| | | | | | | This includes a merge of my additional syntax file improvements as well as the addition of a license. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* programs/vim: Update vim-nix to latest master.aszlig2015-12-081-2/+2
| | | | | | | | | This contains both (LnL7/vim-nix#1 and LnL7/vim-nix#3) of my syntax-related pull requests. Thanks to @LnL7 for merging. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* programs/vim: Add DiffOrig command.aszlig2015-12-081-0/+3
| | | | | | | | Especially useful if you get a kernel panic and have swapfiles laying around. This command is actually from the Vim example config file and is documented in the diff-original-file help of Vim. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* services/vlock: Fix evaluation error.aszlig2015-12-081-1/+1
| | | | | | | | Regression introduced by 5e1ad35657c05f409a29ddc7a29501fc611111b0. Geesh, that's what happens if you're already tired out. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* services/vlock: Only include socket when enabled.aszlig2015-12-081-21/+23
| | | | | | | | Just stumbled over this... even systems that do not define vuizvui.user.aszlig.services.vlock.enable accidentally got the socket file, which now is no longer the case. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* aszlig/packages: Add mumble.aszlig2015-12-081-0/+1
| | | | Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* aszlig/kernel: Update to version 4.4.0-rc4.aszlig2015-12-081-3/+3
| | | | | | This is -rc4 plus 16 commits ahead. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* programs/vim: Fix ftdetect support for plugins.aszlig2015-12-071-0/+1
| | | | | | | | Because I'm not using plugin managers and do things manually, I have missed to source all ftdetect files in order to correctly recognize the filetypes that are coming with plugins by its suffix. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* programs/vim: Add vader plugin.aszlig2015-12-071-0/+7
| | | | | | | For tests I'm using a separate Nix expression, but it's quite useful to have syntax highlighting for .vader files. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* programs/vim: Combine vim-addon-nix with vim-nix.aszlig2015-12-071-5/+33
| | | | | | | | | | | | I want to have the syntax highlighting and indentation rules of @LnL7's vim-nix (https://github.com/LnL7/vim-nix) - or more exactly my pull request overhauling the syntax highlighting file (LnL7/vim-nix#1) - while having everything else from @MarcWeber's vim-addon-nix (https://github.com/MarcWeber/vim-addon-nix). At least until both projects hopefully merge :-D Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* packages: Remove miro and add gpodder.aszlig2015-12-051-1/+1
| | | | | | | | Finally finished switching to gpodder, because it's less buggy than Miro (for example it's without that whole gconf mess) and also it's maintained. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/common: Add NIXPKGS_CONFIG env variable.aszlig2015-12-051-0/+8
| | | | | | | | | | | | | Having <nixpkgs-config> in PATH doesn't help in anything if we actually forget to add the right environment variable where we import the <nixpkgs-config> from NIX_PATH. The reason why I choose to use <nixpkgs-config> instead of directly specifying the config in NIXPKGS_CONFIG is that we now have _one_ environment variable (NIX_PATH) to override everything from the <nixpkgs> version to its config. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* programs/vim: Update Nix addon to latest upstream.aszlig2015-12-031-2/+2
| | | | | | | Among other fixes, this contains a small fix for multiline statements by @domenkozar, thanks a lot :-) Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* programs/vim: Fix execution of flake8 command.aszlig2015-12-031-0/+1
| | | | | | | Got a bit annoying over time to constantly get command-not-found errors, so it's time to fix it. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/base: Enable global nixpkgs config.aszlig2015-12-011-0/+1
| | | | | | | | | | | | | | Until now I had a ~/.nixpkgs/config.nix with content like this: (import <vuizvui/machines> {}).aszlig.mmrnmhrm.build.config.nixpkgs.config Unfortunately, this has side-effects on a lot of things, essentially whenever I import <nixpkgs> without a config attribute, so I'd like to disable this by just modifying NIX_PATH instead of either moving ~/.nixpkgs/config.nix out of place or replace all imports of nixpkgs with an empty config attribute. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* common: Add option for global nixpkgs config.aszlig2015-12-011-7/+26
| | | | | | | | | | | | This should make creating ~/.nixpkgs/config.nix obsolete and we can solely decide whether we actually want these overrides by modifying NIX_PATH alone. The option isn't enabled by default, because this doesn't work if for example /etc/nixos/configuration.nix is not readable by the user using nix-env or importing <nixpkgs> by other means. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/base: Use overrides for nixUnstable.aszlig2015-12-011-2/+2
| | | | | | | | Setting nix.package uses nixUnstable for the deamon but not for packages depending on Nix, so instead of setting nix.package, let's just override the "nix" attribute directly. Signed-off-by: aszlig <aszlig@redmoonstudios.org>