add wlr-randr, set output scale to 2
This commit is contained in:
parent
1c61ff87b2
commit
c5a546f10f
@ -41,6 +41,14 @@ in {
|
||||
];
|
||||
|
||||
config = {
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
wlr-randr = prev.wlr-randr.overrideAttrs(o: {
|
||||
depsBuildBuild = [ final.pkgsBuildBuild.pkg-config ];
|
||||
});
|
||||
})
|
||||
];
|
||||
|
||||
mobile = {
|
||||
adbd.enable = true;
|
||||
boot.stage-1.firmware = [
|
||||
@ -143,6 +151,7 @@ SUBSYSTEM=="wwan", ENV{DEVNAME}=="/dev/wwan0qmi0", ENV{DEVTYPE}=="wwan_port", \
|
||||
RUN+="${pkgs.libqmi}/bin/qmicli -pd $env{DEVNAME} --loc-set-engine-lock=none"
|
||||
|
||||
'';
|
||||
|
||||
systemd.services.ModemManager = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig =
|
||||
@ -173,6 +182,7 @@ SUBSYSTEM=="wwan", ENV{DEVNAME}=="/dev/wwan0qmi0", ENV{DEVTYPE}=="wwan_port", \
|
||||
|
||||
services.cage =
|
||||
let wlinit = pkgs.writeScript "wlinit" ''
|
||||
${pkgs.wlr-randr}/bin/wlr-randr --output DSI-1 --scale 2
|
||||
exec ${saturn}/bin/saturn
|
||||
'';
|
||||
in {
|
||||
@ -185,6 +195,7 @@ SUBSYSTEM=="wwan", ENV{DEVNAME}=="/dev/wwan0qmi0", ENV{DEVTYPE}=="wwan_port", \
|
||||
drm-framebuffer
|
||||
saturn
|
||||
satellite
|
||||
wlr-randr
|
||||
];
|
||||
|
||||
users.users.dan = {
|
||||
|
Loading…
Reference in New Issue
Block a user