~ruther/nixos-config

06e300d08e08ce1614eddde3ed51acaf245e62bb — Frantisek Bohacek 1 year, 6 months ago 930c4f3
feat: enable autorandr service
1 files changed, 5 insertions(+), 1 deletions(-)

M modules/desktop/qtile/home.nix
M modules/desktop/qtile/home.nix => modules/desktop/qtile/home.nix +5 -1
@@ 3,6 3,10 @@
{
  # services.udev.extraRules =
  #     ''ACTION=="change", SUBSYSTEM=="drm", RUN+="${pkgs.autorandr}/bin/autorandr -c"'';
  services.autorandr = {
    enable = true;
  };

  programs.autorandr = {
    enable = true;
    hooks = {


@@ 59,7 63,7 @@
            position = "0x0";
            mode = "1920x1080";
          };
          Virtual-2= {
          Virtual-2 = {
            enable = true;
            primary = false;
            position = "1920x0";

Do not follow this link