about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-01-10 08:53:18 -0800
committerFranck Cuny <franck@fcuny.net>2023-01-10 08:53:18 -0800
commit115e4746bdb0024c14536d8185b285718918038a (patch)
tree7115b9f388b1195dba2fcd71fe08c02e251c10b9
parentfix(services/unifi): remove prometheus.exporters.unpoller (diff)
downloadworld-115e4746bdb0024c14536d8185b285718918038a.tar.gz
feat(hosts/tahoe): rotate the screen 90 degree
The machine is connected to a rotated screen.
-rw-r--r--hosts/tahoe/boot.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/hosts/tahoe/boot.nix b/hosts/tahoe/boot.nix
index f013f34..9bc68f7 100644
--- a/hosts/tahoe/boot.nix
+++ b/hosts/tahoe/boot.nix
@@ -2,8 +2,12 @@
 
 {
   boot = {
-    # get an IP address on boot, so we can unlock the root disk remotely
-    kernelParams = [ "ip=dhcp" ];
+    kernelParams = [
+      # get an IP address on boot, so we can unlock the root disk remotely
+      "ip=dhcp"
+      # rotate the screen 90 degree counter clockwise
+      "fbcon=rotate:1"
+    ];
     initrd = {
       # driver for the NIC, required in order to get an IP address
       kernelModules = [ "r8169" ];