[NixOS] Remove autorandr startup after dm

This commit is contained in:
Ivan Malison 2023-08-22 17:46:43 -06:00
parent 6c84d8b259
commit 36b8e8d584

View File

@ -29,17 +29,6 @@ makeEnable config "modules.desktop" true {
enable = true; enable = true;
}; };
systemd.services.autorandr-startup-after-dm = {
wantedBy = [ "display-manager.service" ];
after = [ "display-manager.service" ];
description = "autorandr after display manager";
serviceConfig = {
Type = "oneshot";
ExecStart = "${pkgs.autorandr}/bin/autorandr --change";
};
};
# This is for the benefit of VSCODE running natively in wayland # This is for the benefit of VSCODE running natively in wayland
environment.sessionVariables.NIXOS_OZONE_WL = "1"; environment.sessionVariables.NIXOS_OZONE_WL = "1";