feat(krz01): add basic microvm exprs
All checks were successful
Check meta / check_meta (pull_request) Successful in 18s
Check meta / check_dns (pull_request) Successful in 19s
build configuration / build_storage01 (pull_request) Successful in 1m14s
build configuration / build_compute01 (pull_request) Successful in 1m22s
build configuration / build_krz01 (pull_request) Successful in 1m24s
build configuration / build_vault01 (pull_request) Successful in 1m10s
build configuration / build_web02 (pull_request) Successful in 1m7s
lint / check (pull_request) Successful in 25s
build configuration / build_web01 (pull_request) Successful in 1m45s
build configuration / build_geo02 (pull_request) Successful in 1m2s
build configuration / build_geo01 (pull_request) Successful in 1m9s
build configuration / build_rescue01 (pull_request) Successful in 1m17s
build configuration / build_bridge01 (pull_request) Successful in 1m7s
build configuration / push_to_cache_storage01 (pull_request) Successful in 1m18s
build configuration / push_to_cache_compute01 (pull_request) Successful in 1m54s
build configuration / push_to_cache_web02 (pull_request) Successful in 1m28s
build configuration / push_to_cache_krz01 (pull_request) Successful in 1m41s
build configuration / push_to_cache_vault01 (pull_request) Successful in 1m41s
build configuration / push_to_cache_geo02 (pull_request) Successful in 1m16s
build configuration / push_to_cache_web01 (pull_request) Successful in 2m13s
build configuration / push_to_cache_geo01 (pull_request) Successful in 1m20s
build configuration / push_to_cache_bridge01 (pull_request) Successful in 1m11s
build configuration / push_to_cache_rescue01 (pull_request) Successful in 1m21s
build configuration / build_krz01 (push) Successful in 1m20s
build configuration / build_compute01 (push) Successful in 1m15s
build configuration / build_storage01 (push) Successful in 1m7s
build configuration / build_vault01 (push) Successful in 1m13s
build configuration / build_web02 (push) Successful in 1m11s
build configuration / build_rescue01 (push) Successful in 1m12s
build configuration / build_geo01 (push) Successful in 1m4s
build configuration / build_geo02 (push) Successful in 1m0s
build configuration / build_web01 (push) Successful in 1m36s
lint / check (push) Successful in 24s
build configuration / build_bridge01 (push) Successful in 1m6s
build configuration / push_to_cache_krz01 (push) Successful in 1m35s
build configuration / push_to_cache_web02 (push) Successful in 1m30s
build configuration / push_to_cache_storage01 (push) Successful in 1m45s
build configuration / push_to_cache_vault01 (push) Successful in 1m49s
build configuration / push_to_cache_compute01 (push) Successful in 2m6s
build configuration / push_to_cache_rescue01 (push) Successful in 1m23s
build configuration / push_to_cache_geo01 (push) Successful in 1m13s
build configuration / push_to_cache_geo02 (push) Successful in 1m8s
build configuration / push_to_cache_bridge01 (push) Successful in 1m4s
build configuration / push_to_cache_web01 (push) Successful in 1m50s
All checks were successful
Check meta / check_meta (pull_request) Successful in 18s
Check meta / check_dns (pull_request) Successful in 19s
build configuration / build_storage01 (pull_request) Successful in 1m14s
build configuration / build_compute01 (pull_request) Successful in 1m22s
build configuration / build_krz01 (pull_request) Successful in 1m24s
build configuration / build_vault01 (pull_request) Successful in 1m10s
build configuration / build_web02 (pull_request) Successful in 1m7s
lint / check (pull_request) Successful in 25s
build configuration / build_web01 (pull_request) Successful in 1m45s
build configuration / build_geo02 (pull_request) Successful in 1m2s
build configuration / build_geo01 (pull_request) Successful in 1m9s
build configuration / build_rescue01 (pull_request) Successful in 1m17s
build configuration / build_bridge01 (pull_request) Successful in 1m7s
build configuration / push_to_cache_storage01 (pull_request) Successful in 1m18s
build configuration / push_to_cache_compute01 (pull_request) Successful in 1m54s
build configuration / push_to_cache_web02 (pull_request) Successful in 1m28s
build configuration / push_to_cache_krz01 (pull_request) Successful in 1m41s
build configuration / push_to_cache_vault01 (pull_request) Successful in 1m41s
build configuration / push_to_cache_geo02 (pull_request) Successful in 1m16s
build configuration / push_to_cache_web01 (pull_request) Successful in 2m13s
build configuration / push_to_cache_geo01 (pull_request) Successful in 1m20s
build configuration / push_to_cache_bridge01 (pull_request) Successful in 1m11s
build configuration / push_to_cache_rescue01 (pull_request) Successful in 1m21s
build configuration / build_krz01 (push) Successful in 1m20s
build configuration / build_compute01 (push) Successful in 1m15s
build configuration / build_storage01 (push) Successful in 1m7s
build configuration / build_vault01 (push) Successful in 1m13s
build configuration / build_web02 (push) Successful in 1m11s
build configuration / build_rescue01 (push) Successful in 1m12s
build configuration / build_geo01 (push) Successful in 1m4s
build configuration / build_geo02 (push) Successful in 1m0s
build configuration / build_web01 (push) Successful in 1m36s
lint / check (push) Successful in 24s
build configuration / build_bridge01 (push) Successful in 1m6s
build configuration / push_to_cache_krz01 (push) Successful in 1m35s
build configuration / push_to_cache_web02 (push) Successful in 1m30s
build configuration / push_to_cache_storage01 (push) Successful in 1m45s
build configuration / push_to_cache_vault01 (push) Successful in 1m49s
build configuration / push_to_cache_compute01 (push) Successful in 2m6s
build configuration / push_to_cache_rescue01 (push) Successful in 1m23s
build configuration / push_to_cache_geo01 (push) Successful in 1m13s
build configuration / push_to_cache_geo02 (push) Successful in 1m8s
build configuration / push_to_cache_bridge01 (push) Successful in 1m4s
build configuration / push_to_cache_web01 (push) Successful in 1m50s
For a router01. Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
This commit is contained in:
parent
4d689fee33
commit
3aeae4e33f
5 changed files with 32 additions and 0 deletions
|
@ -9,9 +9,11 @@ lib.extra.mkConfig {
|
|||
# INFO: This list needs to stay sorted alphabetically
|
||||
# TODO: re-enable me when #139 is merged. "proxmox"
|
||||
"nvidia-tesla-k80"
|
||||
"microvm-router01"
|
||||
];
|
||||
|
||||
extraConfig = {
|
||||
microvm.host.enable = true;
|
||||
dgn-hardware = {
|
||||
useZfs = true;
|
||||
zfsPools = [
|
||||
|
|
16
machines/krz01/microvm-router01.nix
Normal file
16
machines/krz01/microvm-router01.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
_: {
|
||||
microvm.autostart = [ "router01" ];
|
||||
microvm.vms.router01 = {
|
||||
config = {
|
||||
networking.hostName = "router01";
|
||||
microvm.shares = [
|
||||
{
|
||||
source = "/nix/store";
|
||||
mountPoint = "/nix/.ro-store";
|
||||
tag = "ro-store";
|
||||
proto = "virtiofs";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
|
@ -62,6 +62,7 @@
|
|||
++ [
|
||||
"${sources.agenix}/modules/age.nix"
|
||||
"${sources.arkheon}/module.nix"
|
||||
"${sources."microvm.nix"}/nixos-modules/host"
|
||||
]
|
||||
++ ((import sources.nix-modules { inherit lib; }).importModules (
|
||||
[
|
||||
|
|
|
@ -43,6 +43,7 @@ in
|
|||
|
||||
config = mkIf cfg.enable (mkMerge [
|
||||
{
|
||||
microvm.host.enable = lib.mkDefault false;
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
hardware.cpu.intel.updateMicrocode = true;
|
||||
|
||||
|
|
|
@ -182,6 +182,18 @@
|
|||
"url": null,
|
||||
"hash": "0m9il1lllw59a6l9vwfi1bika7g4pxs20clc48kklpflnk0scb1f"
|
||||
},
|
||||
"microvm.nix": {
|
||||
"type": "Git",
|
||||
"repository": {
|
||||
"type": "GitHub",
|
||||
"owner": "RaitoBezarius",
|
||||
"repo": "microvm.nix"
|
||||
},
|
||||
"branch": "main",
|
||||
"revision": "49899c9a4fdf75320785e79709bf1608c34caeb8",
|
||||
"url": "https://github.com/RaitoBezarius/microvm.nix/archive/49899c9a4fdf75320785e79709bf1608c34caeb8.tar.gz",
|
||||
"hash": "0sz6azdpiz4bd36x23bcdhx6mwyqj8zl5cczjgv48xqfmysy8zwy"
|
||||
},
|
||||
"nix-lib": {
|
||||
"type": "GitRelease",
|
||||
"repository": {
|
||||
|
|
Loading…
Reference in a new issue