fix(shinkirou): scale login screen

This commit is contained in:
514fpv 2024-03-06 10:26:31 +08:00
parent 5cd18434c8
commit 58bc0734ba
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw

View file

@ -1,4 +1,6 @@
{ pkgs
{ lib
, pkgs
, config
, ... }: {
global = {
id = "23c46cfc573f4f889af9ba5d4678c2ab";
@ -43,6 +45,13 @@
nvidiaBusId = "PCI:1:0:0";
};
services.greetd.settings.default_session.command = let
cfg = config.programs.regreet;
in "${pkgs.dbus}/bin/dbus-run-session ${lib.getExe pkgs.cage} ${lib.escapeShellArgs cfg.cageArgs} -- ${pkgs.writeShellScript "cageResolution" ''
${lib.getExe pkgs.wlr-randr} --output DP-3 --scale 2.25
${lib.getExe cfg.package}
''}";
hardware.enableRedistributableFirmware = true;
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];