From 0749b4e023861357ae9cdd09c09d0a02bec6eea8 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Thu, 26 Jul 2018 19:27:07 +0200 Subject: Force correct TTY resolution on obelix previous commit did not do the trick --- host/obelix.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/host/obelix.nix b/host/obelix.nix index ae2d00b..5d6206c 100644 --- a/host/obelix.nix +++ b/host/obelix.nix @@ -4,12 +4,13 @@ imports = [ ./hardware/obelix.nix ]; boot = { - kernelParams = [ "vga=0x034D" ]; - loader.grub = { - enable = true; + enable = true; version = 2; - device = "/dev/sdb"; + device = "/dev/sdb"; + extraConfig = '' + set gfxpayload=1920x1200x32 + ''; }; initrd.luks.devices = [ { @@ -22,7 +23,7 @@ systemd.services.spin-down-storage = { enable = true; - description = "Spin down storage drive by default"; + description = "Spin down storage drive"; serviceConfig = { Type = "oneshot"; ExecStart = "${pkgs.hdparm}/bin/hdparm -q -S 120 -y /dev/disk/by-label/storage"; -- cgit v1.2.3