about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* manual: improve first-time setupProfpatsch2015-12-221-1/+9
|
* 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>
* pkgs/tomahawk: Fix quazip evaluation erroraszlig2015-12-211-2/+2
| | | | | | | | In NixOS/nixpkgs@1d33148, quazip moved from a top-level attribute down to a sub-attribute of qt5LibsFun, which in turn gets exposed via the "qt5" top-level attribute. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* fliewatüt: Added addtional packages plus steam fixlukasepple2015-12-201-4/+18
|
* Add missing ;lukasepple2015-12-191-1/+1
| | | | Not my day I guess. Aahhhhhhh
* Add missing {}lukasepple2015-12-191-1/+1
| | | | I am stupid
* Further additions to fliewatuetlukasepple2015-12-191-1/+11
|
* Add fliewatuet to machines/default.nixlukasepple2015-12-191-0/+3
|
* Adds my nixos laptoplukasepple2015-12-191-0/+248
|
* katara: clean upProfpatsch2015-12-181-68/+59
|
* katara: remove some boot configProfpatsch2015-12-181-2/+1
|
* katara: document packagesProfpatsch2015-12-181-59/+57
|
* katara: misc changesProfpatsch2015-12-181-7/+4
|
* katara: misc programsProfpatsch2015-12-181-1/+5
|
* katara: add taffybar dependenciesProfpatsch2015-12-181-1/+7
|
* katara: offlineimap wrapper (for gpg unlock)Profpatsch2015-12-182-5/+10
|
* katara: Remove lyx fuckeryProfpatsch2015-12-181-15/+1
|
* 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>
* machines/notsure: Drop kwallet from systemPackagesaszlig2015-12-171-1/+0
| | | | | | | It's already included by services.xserver.desktopManager.kde5.enable so we really don't need to keep it around in systemPackages. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines/notsure: Fix evaluationaszlig2015-12-171-1/+1
| | | | | | See 6184dfd33d07c7c7abf93adb2174197dbdfabb11 for more information. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* pkgs/tomahawk: Fix evaluationaszlig2015-12-171-3/+3
| | | | | | | | | | Since NixOS/nixpkgs@0a81a0d, kf5_latest expects an attribute set as an argument (in this case the attribute set/scope for qt55libs). This however is passed by kde5_latest, so let's switch to use that attribute set instead. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* lib/call-machine: Fix evaluation of ISO imagesaszlig2015-12-151-1/+1
| | | | | | | | | Regression introduced by 8c1b7661ae7801233df2ef5cacb07c7382d74fdd. We now have an "eval" attribute, so we shouldn't try to reference or shadow it. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* doc/install: Replace .use with .configaszlig2015-12-151-1/+1
| | | | | | | | | Since 8c1b766, we do not have the .use attribute anymore. This repository aims to have experimental stuff that's not in nixpkgs, so we do not care about backwards-compatibility. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* lib/call-machine: Clean up expressionaszlig2015-12-153-35/+39
| | | | | | | | | | | | | | | This gets rid of the use attribute, which is now called "config". We had the "config" attribute before but it was kinda pointless, because it was just the import of the path and nothing else. So the config attribute now is the machine configuration with all of the vuizvui modules imported as well. The "build" attribute is now called "eval", which is more appropriate, because it's the evaluation of the configuration and not the finished system build. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines/tishtushi: Enable taalo-build.aszlig2015-12-141-0/+1
| | | | | | | It's my primary laptop and it has a very limited bandwidth to the internet right now. 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>
* release.nix: Unconditionally add vuizvui tests.aszlig2015-12-111-1/+3
| | | | | | | | | | We want to have non-machine-specific tests as well, so let's ensure that we build all tests listed in the tests directory. This is especially useful if we want to have tests on build products within release.nix or tests which are unrelated to machines. 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>
* release.nix: Improve arg name in gatherTests.aszlig2015-12-111-1/+1
| | | | | | No change in functionality, I'm just dead tired so I fucked up the name. 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>
* release.nix: Fix channel constituents.aszlig2015-12-111-6/+9
| | | | | | | | After switching the requiresTests option to be a list of paths we no longer can just pass them verbatim to the constituents but rather do a lookup on all of these paths to get the derivations. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* release.nix: Properly import vuizvui tests.aszlig2015-12-112-4/+9
| | | | | | | | The tests from vuizvui itself weren't properly included in release.nix, because we're patching up our own source tree and thus the evaluator is unable to find the right path. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules: Make requiresTests a list of paths.aszlig2015-12-114-22/+16
| | | | | | | | | | | 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>
* release.nix: Include all tests that are enabled.aszlig2015-12-111-2/+16
| | | | | | | | | | | | | | This now includes both upstream NixOS and Vuizvui tests. Unfortunately, evaluation now takes a ton of time and also a ton of memory, so let's hope our Hydra can sustain it. The reason is that we need to look through all of the available tests and recurse through _all_ machine configurations to see if they're defined there. If it is too heavyweight we might need to find a better solution for that. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* lib/get-test: Fix collecting upstream NixOS tests.aszlig2015-12-111-2/+3
| | | | | | | | | | The upstream tests all have their attributes cleaned up by the "hydraJob" function, so we can't check for the "test" attribute. Luckily this isn't a problem, because we're only searching for "anything not plain attribute namespacing" anyway. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* release.nix: Only import machines once.aszlig2015-12-111-4/+6
| | | | | | | | This removes a bit of redundant code and also makes instantiation with --eval-only a bit more convenient, because we're testing whether we have vuizvuiSrc and if not we're importing a plain path directly. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profiles/common: Move gathering tests to lib/.aszlig2015-12-112-13/+20
| | | | | | | | | | 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-112-1/+11
| | | | | | | | | | 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>
* README: Replace content with a link to the manual.aszlig2015-12-111-31/+7
| | | | | | | | We don't want to have duplicate and different versions of documentation laying around, so let's just provide a link to the latest Hydra build of the manual. 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>
* doc: Add preliminary installation instructions.aszlig2015-12-112-0/+73
| | | | | | | | | | This pretty much resembles what we already have in README.md but will be extended by an improved bootstrap process. Because right now bootstrapping is a pain in the ass mainly because we need to include the binary cache public key and the correct NIX_PATH. Signed-off-by: aszlig <aszlig@redmoonstudios.org>