blob: 8e84ed5ae7e64d4c9c756d462d0b447871153bb5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{ ... }: {
imports = [ ./hardware/vm-aarch64-utm.nix ./vm-shared.nix ];
# Interface is this on my M1
networking.interfaces.enp0s10.useDHCP = true;
# Qemu
services.spice-vdagentd.enable = true;
# For now, we need this since hardware acceleration does not work.
environment.variables.LIBGL_ALWAYS_SOFTWARE = "1";
# Lots of stuff that uses aarch64 that claims doesn't work, but actually works.
nixpkgs.config.allowUnfree = true;
nixpkgs.config.allowUnsupportedSystem = true;
}
|