diff options
| author | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2026-01-02 23:17:56 +0100 |
|---|---|---|
| committer | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2026-01-06 18:29:41 +0100 |
| commit | 24ae3d26155fc70cf381422f9dedbbbb33b425d8 (patch) | |
| tree | ab67b79065402633c07a20fc97b78b510239d7be /hosts/omega-relay | |
| parent | e25041e3722a716338a568a1395bb17c8e09e49c (diff) | |
Add omega-relay prototype host
Diffstat (limited to '')
| -rw-r--r-- | hosts/omega-relay/default.nix | 1 | ||||
| -rw-r--r-- | hosts/omega-relay/vm.nix | 15 |
2 files changed, 7 insertions, 9 deletions
diff --git a/hosts/omega-relay/default.nix b/hosts/omega-relay/default.nix index 73bb853..25a8f30 100644 --- a/hosts/omega-relay/default.nix +++ b/hosts/omega-relay/default.nix @@ -8,7 +8,6 @@ desktop.hyprland.enable = lib.mkForce false; desktop.xfce.enable = lib.mkForce false; - virtialisation.guest = config.addons.virtualization.isTestVM; gpg.enable = true; }; diff --git a/hosts/omega-relay/vm.nix b/hosts/omega-relay/vm.nix index e2b80d1..a0da57b 100644 --- a/hosts/omega-relay/vm.nix +++ b/hosts/omega-relay/vm.nix @@ -14,6 +14,7 @@ in { virtualisation.vmVariant = { addons.virtualisation.isTestVM = true; + addons.virtualisation.guest = true; fileSystems."/" = { device = "none"; fsType = "tmpfs"; @@ -23,16 +24,14 @@ in { "mode=755" ]; }; - virtualization = { + virtualisation = { forwardPorts = [ - (tcpFromHost 80 8080) - (tcpFromHost 22 8022) + # (tcpFromHost 80 8080) + # (tcpFromHost 22 8022) ]; - virtualisation = { - memorySize = 2048; # Use 2048MiB memory. - cores = 3; - graphics = true; - }; + memorySize = 2048; # Use 2048MiB memory. + cores = 3; + graphics = false; }; }; } |
