fix(shinkirou): scale login screen
This commit is contained in:
parent
5cd18434c8
commit
58bc0734ba
|
@ -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 = [ ];
|
||||
|
|
Loading…
Reference in a new issue