mitchellh / nixos-config

My NixOS configurations.
https://twitter.com/mitchellh/status/1346136404682625024
MIT License
1.93k stars 191 forks source link

Better resolution management #19

Closed SamirHafez closed 2 years ago

SamirHafez commented 2 years ago

https://github.com/mitchellh/nixos-config/blob/639860c58debcf3c5b4727a8e487c1921c64d1b3/machines/vm-shared.nix#L59-L64

I think services.xserver.resolutions = [{ x = 2880; y = 1800; }] would be a simpler way to achieve this, instead of using xrandr directly

mitchellh commented 2 years ago

Perhaps, I'm happy with how it is for now... and eventually VMware should support automatic resolution setting and we can just delete all this.