diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-04-13 19:12:42 +0200 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-05-09 12:08:17 +0000 |
commit | a6ea2c6376b49a6bfbe66613c6034c587bac8738 (patch) | |
tree | abd177436c384a23804ab190e5a0bef683357b33 | |
parent | 275f903f9e6e1365f6837fcb37524d99cd04735f (diff) | |
download | spectrum-a6ea2c6376b49a6bfbe66613c6034c587bac8738.tar spectrum-a6ea2c6376b49a6bfbe66613c6034c587bac8738.tar.gz spectrum-a6ea2c6376b49a6bfbe66613c6034c587bac8738.tar.bz2 spectrum-a6ea2c6376b49a6bfbe66613c6034c587bac8738.tar.lz spectrum-a6ea2c6376b49a6bfbe66613c6034c587bac8738.tar.xz spectrum-a6ea2c6376b49a6bfbe66613c6034c587bac8738.tar.zst spectrum-a6ea2c6376b49a6bfbe66613c6034c587bac8738.zip |
vm: disable VT in kernels
We have no use for VTs in guests, and disabling them means that we don't need a console parameter on the kernel command line on aarch64. Signed-off-by: Alyssa Ross <hi@alyssa.is>
-rw-r--r-- | img/app/default.nix | 8 | ||||
-rw-r--r-- | vm/sys/net/default.nix | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/img/app/default.nix b/img/app/default.nix index 37561f0..7bcb2dd 100644 --- a/img/app/default.nix +++ b/img/app/default.nix @@ -70,6 +70,14 @@ let VIRTIO_BLK = yes; VIRTIO_CONSOLE = yes; EXT4_FS = yes; + EXPERT = yes; + FONTS = lib.mkForce unset; + FONT_8x8 = lib.mkForce unset; + FONT_TER16x32 = lib.mkForce unset; + FRAMEBUFFER_CONSOLE = lib.mkForce unset; + FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER = lib.mkForce unset; + FRAMEBUFFER_CONSOLE_ROTATION = lib.mkForce unset; + VT = no; }; }).overrideAttrs ({ installFlags ? [], ... }: { installFlags = installFlags ++ [ diff --git a/vm/sys/net/default.nix b/vm/sys/net/default.nix index 59549a4..c43f347 100644 --- a/vm/sys/net/default.nix +++ b/vm/sys/net/default.nix @@ -79,6 +79,14 @@ let VIRTIO_BLK = yes; VIRTIO_CONSOLE = yes; EXT4_FS = yes; + EXPERT = yes; + FONTS = lib.mkForce unset; + FONT_8x8 = lib.mkForce unset; + FONT_TER16x32 = lib.mkForce unset; + FRAMEBUFFER_CONSOLE = lib.mkForce unset; + FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER = lib.mkForce unset; + FRAMEBUFFER_CONSOLE_ROTATION = lib.mkForce unset; + VT = no; }; }).overrideAttrs ({ installFlags ? [], ... }: { installFlags = installFlags ++ [ |