[NixOS] Try more things to make monitor setup work at startup

This commit is contained in:
Ivan Malison 2023-08-05 21:02:01 -06:00
parent f289424c26
commit 724872d389
4 changed files with 19 additions and 3 deletions

View File

@ -56,7 +56,7 @@
services.blueman.enable = true;
# Printing
services.printing.enable = true;
# services.printing.enable = true;
# Keyboard/Keymap
console.keyMap = "us";

View File

@ -22,6 +22,22 @@
};
};
services.autorandr = {
enable = true;
};
systemd.services.autorandr-startup = {
partOf = [ "graphical-session.target" ];
description = "autorandr";
serviceConfig = {
Type = "oneshot";
ExecStart = "${pkgs.autorandr}/bin/autorandr --change";
};
wantedBy = [ "graphical-session.target" ];
};
# This is for the benefit of VSCODE running natively in wayland
environment.sessionVariables.NIXOS_OZONE_WL = "1";

View File

@ -107,7 +107,7 @@ inputs: { pkgs, config, ... }: {
animation-clamping = false;
animation-for-open-window = "zoom";
animation-for-unmap-window = "zoom";
animation-for-transient-window = "slide-up";
animation-for-transient-window = "slide-down";
};
wintypes = {

View File

@ -32,7 +32,7 @@
enable = true;
rate = "59.95";
mode = "2560x1440";
position = "0x0";
position = "440x0";
};
};
};