Fix qemu without rutabagaSupport
This commit is contained in:
parent
0b512ba9d1
commit
5dbb297adf
@ -1,5 +1,11 @@
|
||||
{ lib, ... }:
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
"${modulesPath}/profiles/base.nix"
|
||||
#"${modulesPath}/virtualisation/qemu-vm.nix"
|
||||
];
|
||||
|
||||
networking.hostName = "visionfive-nix";
|
||||
|
||||
boot = {
|
||||
@ -12,10 +18,17 @@
|
||||
"9pnet"
|
||||
"9pnet_virtio"
|
||||
];
|
||||
|
||||
loader = {
|
||||
grub.enable = false;
|
||||
generic-extlinux-compatible.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs.overlays = [ (import ./overlay.nix) ];
|
||||
|
||||
# Enable ssh on boot
|
||||
services.openssh.enable = true;
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
@ -14,7 +14,7 @@
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
modules = [
|
||||
./configuration.nix
|
||||
"${nixos-hardware}/starfive/visionfive/v2/sd-image-installer.nix"
|
||||
#"${nixos-hardware}/starfive/visionfive/v2/sd-image-installer.nix"
|
||||
];
|
||||
in {
|
||||
overlay = import ./overlay.nix;
|
||||
|
@ -18,4 +18,6 @@ final: prev:
|
||||
systemd = prev.systemd.overrideAttrs (old: {
|
||||
CFLAGS = "-Wno-error=format-overflow";
|
||||
});
|
||||
|
||||
qemu = prev.qemu.override { rutabagaSupport = false; };
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user