From 472f359f80a85118e9549bedd26eedad8441ad72 Mon Sep 17 00:00:00 2001 From: aaron Date: Sat, 3 Oct 2026 13:35:50 +0200 Subject: [PATCH 1/2] fix: adapt kryptons sddm for hidpi using the qt scale factor --- hosts/krypton/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/krypton/configuration.nix b/hosts/krypton/configuration.nix index ae8ddea..ed38b7d 100644 --- a/hosts/krypton/configuration.nix +++ b/hosts/krypton/configuration.nix @@ -32,6 +32,9 @@ # host-specific niri config (input devices, laptop binds) home-manager.users.aaron.imports = [ ./niri.nix ]; + # hidpi panel (2880x1920): the sddm greeter runs in weston, which doesn't scale + services.displayManager.sddm.settings.General.GreeterEnvironment = "QT_SCALE_FACTOR=2"; + networking.hostName = "krypton"; system.stateVersion = "26.05"; # don't change } -- 2.52.0 From 620c415be91b7ec2d28b9770e632d5ab5ada11ca Mon Sep 17 00:00:00 2001 From: aaron Date: Sat, 3 Oct 2026 13:39:35 +0200 Subject: [PATCH 2/2] fix: adapt systemd-boot for kryptons hidpi screen by using the right console mode --- hosts/krypton/configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/krypton/configuration.nix b/hosts/krypton/configuration.nix index ed38b7d..956963c 100644 --- a/hosts/krypton/configuration.nix +++ b/hosts/krypton/configuration.nix @@ -35,6 +35,10 @@ # hidpi panel (2880x1920): the sddm greeter runs in weston, which doesn't scale services.displayManager.sddm.settings.General.GreeterEnvironment = "QT_SCALE_FACTOR=2"; + # bigger boot menu font, mode found with "r" in the menu; mode 6 is beyond + # what boot.loader.systemd-boot.consoleMode accepts, so set via lanzaboote + boot.lanzaboote.settings.console-mode = "6"; + networking.hostName = "krypton"; system.stateVersion = "26.05"; # don't change } -- 2.52.0