about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Integrate Postfix config into module-list.nix.aszlig2015-03-184-7/+6
| | | | | | | | This currently is just a dummy module for now with a big fat TODO, but at least we now have a homogenous module namespace starting with "labernix." and categorized by services/config/tasks/whatnot. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* tests/make-test: Actually use testArgsWithCommon.aszlig2015-03-181-6/+8
| | | | | | | | I shouldn't be wondering why it doesn't find the module options if we prepare the override but don't actually use it. So this also fixes a few other errors related to that we're now actually using our own modules. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules/labernix-pkgs: Fix stupid typo.aszlig2015-03-181-1/+1
| | | | Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* tests: Add make-test.nix with labernix packages.aszlig2015-03-172-1/+27
| | | | | | | | We're going not only to modify all VM test nodes, but also inject the updated pkgs into the tests own arguments, so we can refer to them even outside of testing machine configuration modules. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Add common.nix and use it for all machines.aszlig2015-03-174-2/+12
| | | | | | | | We now have "pkgs.labernix" available for every machine. Also, we're deactivating the packet filter by default, so we can use it whenever we _really_ need it. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules: Add module-list with labernix packages.aszlig2015-03-172-0/+10
| | | | | | | | | | We're going to add this as common modules for all machines in the repository, so we can define own options easily and without the need to refer to the modules directly. Also, we can easily create a manual for labernix specific modules. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* pkgs/beehive: Update to latest upstream master.aszlig2015-03-171-2/+2
| | | | | | This includes pull request muesli/beehive#49 from @Profpatsch. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* release.nix: Add pkgs to the Hydra jobs.aszlig2015-03-171-0/+6
| | | | | | | We want to be easily able to fetch the store paths and to monitor build results. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Add package beehive and dependencies.aszlig2015-03-173-0/+403
| | | | | | | | | Roughly generated using go2nix, but patched a few of the examples out and cleaned up the dependencies expression. Somehowe go2nix fetched appstats, which did not build but somehow wasn't required in order to build beehive. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* README: Add URL to the continuous builds.aszlig2015-03-171-0/+1
| | | | Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* release.nix: Include VM test for heinrich.aszlig2015-03-171-1/+6
| | | | Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines/labtop: Fix evaluation of systemPackages.aszlig2015-03-171-1/+4
| | | | | | | | We don't have a Nix package for pronterface yet and slic3r is broken right now, so we need to investigate it after the first build from Hydra. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* default.nix: Simplify/split up into release.nix.aszlig2015-03-172-16/+17
| | | | | | | | | | | | Unfortunately, using builtins.readDir isn't very good idea here, because all file references from expression files found via readDir will have imports relative to the Nix store. We can only work around it if we copy the whole source tree into the store, but for the sake of simplicity it's also better if we use explicit imports. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines: Add dummy boot/fileSystems attributes.aszlig2015-03-173-0/+12
| | | | | | | | As these machines are not deployed yet, we need to put in dummy values, because if we're not building VMs those attributes are expected to be set and end up with an evaluation error. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Add a default.nix for referencing machines.aszlig2015-03-171-0/+17
| | | | | | | | | At the moment this is also the release Nix expression we're going to use for Hydra. Right now, the machine expressions don't evaluate because they're lacking hardware information. But apart from that we should get out full system builds afterwards. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* labtop: Add some commonly needed packages.aszlig2015-03-141-0/+11
| | | | | | | | | | | At least, this is after I asked around who wanted to have which software on the LabTop by default. For repetierhost, we don't have a package yet and we're going to package it first. Unfortunately it's proprietary software, so we may need to patchelf :-/ Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* labtop: Switch to US keyboard layout.aszlig2015-03-141-2/+2
| | | | | | | The hardware has a US keyboard layout, so let's match it with the configuration. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Add rudimentary mail server config.aszlig2015-03-112-0/+167
| | | | | | | | | | | | A still unfinished version of @waaaaargh's ansible deployment: https://github.com/waaaaargh/mailserver-ansible The idea here is to create a NixOS profile specific to large-scole mail server deployments. All with a 100% fleshed out Postfix configuration of course :-) Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* COPYING: Default to GPLv3 even for non-Nix files.aszlig2015-03-111-0/+3
| | | | | | | | I found this to be a better idea rather than leaving them unlicensed, so in the event someone likes to distribute the repository it shouldn't raise questions about whether it's legal. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Release the sources under the terms of the GPLv3.aszlig2015-03-112-0/+688
| | | | | | | | Right now, the license is only for all Nix expression files, which means, that patches and other files are unlicensed for now. If someone would like to redistribute them, feel free to open an issue. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Add preliminary VM test for heinrich.aszlig2015-03-111-0/+51
| | | | | | | | | | Currently, this one is unfinished and I was working on it while I've been at the Lab and don't have a clue right now where I left off. But it's still a good idea to add it here, so someone[TM] can finish it someday. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Move heinrich and labtop into machines/.aszlig2015-03-112-0/+0
| | | | | | | If we want to make tests or modules for those machines, it makes sense to properly namespace them. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Add machine expression for heinrich.aszlig2015-03-111-0/+139
| | | | | | | | Posted this at openlab-aux/labnetz-doku#2 already, so it's more or less the same but with minor enhancements. For example the routes are now specified using an attribute set and we have option declarations now. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Add a README.md, describing the repository.aszlig2015-03-111-0/+9
| | | | | | | | | Currently nothing too fance, it only describes what it is for and why the name starts with "laber". Thanks to @grindhold for coming up with this name. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Add basic NixOS configuration for "labtop".aszlig2015-03-111-0/+52
It's not nearly complete and I have a more complete version on my own Laptop, but it's a start to get all Lab-related Nix expressions together. Signed-off-by: aszlig <aszlig@redmoonstudios.org>