dumpyourvms: fix Error switching console mode to 1 unsupported

This commit is contained in:
teutat3s 2022-11-26 04:23:53 +01:00
parent 6c83d67887
commit f791ceccd0
Signed by untrusted user: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -1,10 +1,14 @@
{ config, pkgs, lib, self, ... }: {
with lib; config,
let pkgs,
lib,
self,
...
}:
with lib; let
psCfg = config.pub-solar; psCfg = config.pub-solar;
xdg = config.home-manager.users."${psCfg.user.name}".xdg; xdg = config.home-manager.users."${psCfg.user.name}".xdg;
in in {
{
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
@ -32,6 +36,9 @@ in
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
#boot.resumeDevice = "/dev/mapper/cryptroot"; #boot.resumeDevice = "/dev/mapper/cryptroot";
# fix for Error switching console mode to 1: unsupported on startup
boot.loader.systemd-boot.consoleMode = mkForce "0";
boot.binfmt.emulatedSystems = ["aarch64-linux"]; boot.binfmt.emulatedSystems = ["aarch64-linux"];
systemd.sleep.extraConfig = '' systemd.sleep.extraConfig = ''
@ -133,7 +140,6 @@ in
extraGroups = ["unbound"]; extraGroups = ["unbound"];
}; };
# WLAN frequency compliance (e.g. check for radar with DFS) # WLAN frequency compliance (e.g. check for radar with DFS)
# #
# Radeon driver seems to work better than amdgpu with Radeon R9 M370X # Radeon driver seems to work better than amdgpu with Radeon R9 M370X