about summary refs log tree commit diff
path: root/machines/default.nix
Commit message (Collapse)AuthorAgeFilesLines
...
* machines/labnet: generic labtop configProfpatsch2016-04-251-1/+2
| | | | | Draws out the general config for all Labtops in its own module and creates a structure to specify the setting which are different.
* Remove all references to "heinrich"aszlig2016-03-051-2/+1
| | | | | | | | | This was a very old effort to NixOSify "heinrich" which unfortunately didn't happen and I'm not sure whether "heinrich" even exists anymore. The tests were broken anyway, so I doubt anyone would grief over it. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines/haenk: Machine is obsolete, remove itaszlig2016-02-231-1/+0
| | | | | | | | Obsoleted by tyree, even though tyree isn't fully working yet it doesn't make sense to build a lot of stuff just for a machine that doesn't get updated anymore. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* profpatsch: remove insane experimentProfpatsch2016-02-081-1/+0
|
* profpatsch: sane experimentProfpatsch2016-02-081-0/+1
|
* machines: Add new managed machine "tyree"aszlig2016-01-131-0/+1
| | | | | | | | | | | | | Currently this is just a somewhat basic configuration, because the hardware (an ASUS T100HA) is going to get us in trouble. For example right now not even the display is working correctly, neither is WiFi, but we're going to fix that real soon[TM] :-) The configuration is pretty much based on the "haenk" config, which this machine will replace once everything is working. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines/aszlig: Add managed machine "haenk"aszlig2015-12-271-0/+1
| | | | | | | Another machine I manage for someone else, currently nothing too fancy or complex here yet, except that it's very old hardware. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Add missing ;lukasepple2015-12-191-1/+1
| | | | Not my day I guess. Aahhhhhhh
* Add missing {}lukasepple2015-12-191-1/+1
| | | | I am stupid
* Add fliewatuet to machines/default.nixlukasepple2015-12-191-0/+3
|
* lib/call-machine: Clean up expressionaszlig2015-12-151-11/+11
| | | | | | | | | | | | | | | 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: Move callMachine function to lib/.aszlig2015-12-101-63/+1
| | | | | | | | The function is gettin rather large, so it makes sense to move it into another file so that the default.nix in machines/ won't be cluttered up with all the implementation-specific details. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines: Add attribute to build a VM.aszlig2015-12-101-0/+4
| | | | | | | | | | | | | | This is to make it easier testing various vuizvui machine configurations for example with my machine "mmrnmhrm" by using the following command: nix-build machines -A aszlig.mmrnmhrm The build product is a VM that can be started using: ./result/bin/run-*-vm Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines: Add a new managed machine "notsure".aszlig2015-12-101-0/+3
| | | | | | | I've added a "managed" namespace here, which should include all machines that are not my own but I manage for other people. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines: Patch "nomodeset" out of iso-image.nix.aszlig2015-12-051-1/+6
| | | | | | | | | | | | | | | | | | | | | This is a very hacky approach, because patching that file also requires us to patch the imports it's referencing. The first reason why I needed to patch is that there is no "modeset" you can add to kernelParams and re-enable modesetting that way. And the second reason is because we don't have something like mkRemove or mkFilter in the module system, so we could filter out items from a list. Another option here would be to mkForce-override the kernelParams, which would imply that we'd need to duplicate a lot of these options (for example init=...). So in the long run we surely need to have a better way to override lists, but until that I'm leaving it with the patched approach. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines: Remove /boot options from ISO images.aszlig2015-06-291-1/+7
| | | | | | | | We can't really do a "mkForce {}" or "mkForce null" on the submodule type and the upstream module throws an error on null values, so we simply define a dummy fileSystem with the noauto option set. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines: Properly override ISO configuration.aszlig2015-06-291-9/+19
| | | | | | | | | | | | | | | | | | | | | | We now do it the exact opposite way than introduced in 27dce7b. Instead of evaluating the machine config and stripping off the options we don't want to conflict with the iso-image.nix module, we now wrap the iso-image.nix module itself and just mkForce the values we don't want to collide. The reason for this is that the previous implementation just didn't work because dependent module options from the machine config (for example config.system.build.*) were already evaluated and thus we end up with overriding configuration options but get an initrd with the machine options (which we actually want to override) instead of the fileSystem/boot options that come with the iso-image.nix module. Although I'm not quite happy with this approach, it's still better than the old one and if iso-image.nix gets conflicting options we at least get a better error message rather than the definitions simply being stripped off. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines: Set a proper boot loader label for ISOs.aszlig2015-06-281-0/+1
| | | | | | Introduced in NixOS/nixpkgs@f9bd72f24cfc8c160d144615522b0bc692cde9d0. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines: Allow to easily build ISO images.aszlig2015-06-271-1/+27
| | | | | | | | | | | | | I know it's a somewhat hacky approach to strip off "_module", "boot.loader" and "fileSystems" from the machine config, but that should be the options which are to be set by iso-image.nix but that way we can re-use the upstream module. Also, if one of our modules sets an option without a proper "vuizvui." namespace, we get an error as well. But it's our policy anyway to always namespace with "vuizvui." so it's even good to get an error here. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Integrate machine into vuizvui.Profpatsch2015-04-301-0/+3
|
* Handle all <nixpkgs> paths with nixpkgs-path.nix.aszlig2015-04-291-1/+1
| | | | | | | | | This file is just defaulting to <nixpkgs>, but we're going to substitue it by the channel generator. We also need to make sure that we don't have any other references to <nixpkgs>, but the latter can best be done on Hydra's side if we don't make <nixpkgs> available to vuizvui builds. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines: Add an "use" attr for configuration.nix.aszlig2015-04-011-0/+3
| | | | | | | | Useful to call the machine from configuration.nix like this: (import <vuizvui/machines> {}).aszlig.mmrnmhrm.use Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Move last machine from labernix to vuizvui.aszlig2015-03-181-0/+3
| | | | | | | | | | | | I've moved the restrictions config of Postfix into the default module for now and actually fixed it so that it's actually working (the config value wasn't set before). Also, the option type was incorrectly set to types.list, which aliases to types.listOf and expects another function (kind) as its argument. This marks the end of LaberNix and the beginning of a new Vuizvui! Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines: Integrate heinrich+labtop from labernix.aszlig2015-03-181-0/+4
| | | | | | | | | | | So far I'm not quite sure whether mailserver really belongs to labnet, so I'm leaving it at the labernix subtree. Maybe it even makes sense to just make it a profile until we have it on a real machine. We no longer need common.nix for these machines, because it is already done via callMachine. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Move common{-workstation}.nix into profiles.aszlig2015-03-181-1/+1
| | | | | | | | | | | | Both files are specific to my machines only and need to be generalized in order to be useful for anyone else. Moving these files has a few other censequences, such that we now need to automatically import the module-list.nix in callMachine. Speaking of module-list.nix, the file is now alphabetically sorted. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines: Move own machines into machines/aszlig.aszlig2015-03-181-0/+20
Introduces callMachine in machines/default.nix, which returns an attribute set containing the (input) configuration and also a build attribute containing the output configuration and thus also the builds. However, we still have references to ../../common-workstation.nix which we need to refactor very soon. Signed-off-by: aszlig <aszlig@redmoonstudios.org>