Updated name of vm to match sdimage.
This commit is contained in:
parent
f41af3f7e6
commit
f319dfb046
|
@ -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 = [
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{pkgs, ...}:
|
||||
{
|
||||
networking.hostName = "clementine";
|
||||
networking.hostName = "riversong";
|
||||
virtualisation = {
|
||||
forwardPorts = [
|
||||
{ from = "host"; host.port = 2222; guest.port = 22; }
|
Loading…
Reference in a new issue