diff --git a/spec/shinkirou/default.nix b/spec/shinkirou/default.nix index faf06ae7..d93f5920 100644 --- a/spec/shinkirou/default.nix +++ b/spec/shinkirou/default.nix @@ -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 = [ ];