Added cockbox support and documentation (#103)

* Added required modules for Cockbox

* Added cockbox to the docs
This commit is contained in:
Cabia Rangris 2022-06-13 03:17:46 +04:00 committed by GitHub
parent 90dbc4b073
commit 95c32c17ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View file

@ -16,6 +16,7 @@ This script has successfully been tested on at least the follow hosting provider
* [OVHcloud](https://www.ovh.com/)
* [Oracle Cloud Infrastructure](https://www.oracle.com/cloud/)
* [GalaxyGate](https://galaxygate.net)
* [Cockbox](https://cockbox.org)
Should you find that it works on your hoster,
feel free to update this README and issue a pull request.
@ -211,3 +212,11 @@ Aliyun ECS tested on ecs.s6-c1m2.large, region **cn-shanghai**, needs a little b
|Distribution| Name | Status | test date|
|------------|-----------------|-----------|----------|
|Ubuntu | 20.04 |**success**|2022-04-02|
### Cockbox
Requred some Xen modules to work out, after that NixOS erected itself without a hinch.
#### Tested on
|Distribution| Name | Status | test date|
|------------|-----------------|-----------|----------|
|Ubuntu | 20.04 |**success**|2022-06-12|

View file

@ -60,6 +60,7 @@ EOF
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
$bootcfg
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" ];
boot.initrd.kernelModules = [ "nvme" ];
fileSystems."/" = { device = "$rootfsdev"; fsType = "$rootfstype"; };
$swapcfg