Updated name of vm to match sdimage.

This commit is contained in:
Bailey Stevens 2023-09-21 03:55:51 -04:00
parent f41af3f7e6
commit f319dfb046
2 changed files with 5 additions and 5 deletions

View file

@ -20,12 +20,12 @@
];
};
# Native VM config.
clementine = nixpkgs.lib.nixosSystem {
riversong = nixpkgs.lib.nixosSystem {
inherit pkgs;
modules = [
./citrus.nix
"${nixpkgs}/nixos/modules/virtualisation/qemu-vm.nix"
./platforms/clementine.nix
./platforms/riversong.nix
];
};
in rec {
@ -34,9 +34,9 @@
packages = with pkgs; [ colmena ];
};
# Run testing VM using `nix run`
packages.default = clementine.config.system.build.vm;
packages.default = riversong.config.system.build.vm;
}) // (let
# Target device (RPi3 aarch64) nixpkgs.
# Target device (RPi4 aarch64) nixpkgs.
pkgs = import nixpkgs {
system = "aarch64-linux";
overlays = [

View file

@ -1,6 +1,6 @@
{pkgs, ...}:
{
networking.hostName = "clementine";
networking.hostName = "riversong";
virtualisation = {
forwardPorts = [
{ from = "host"; host.port = 2222; guest.port = 22; }