[NixOS] Try more things to make monitor setup work at startup
This commit is contained in:
parent
f289424c26
commit
724872d389
@ -56,7 +56,7 @@
|
|||||||
services.blueman.enable = true;
|
services.blueman.enable = true;
|
||||||
|
|
||||||
# Printing
|
# Printing
|
||||||
services.printing.enable = true;
|
# services.printing.enable = true;
|
||||||
|
|
||||||
# Keyboard/Keymap
|
# Keyboard/Keymap
|
||||||
console.keyMap = "us";
|
console.keyMap = "us";
|
||||||
|
@ -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
|
# This is for the benefit of VSCODE running natively in wayland
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ inputs: { pkgs, config, ... }: {
|
|||||||
animation-clamping = false;
|
animation-clamping = false;
|
||||||
animation-for-open-window = "zoom";
|
animation-for-open-window = "zoom";
|
||||||
animation-for-unmap-window = "zoom";
|
animation-for-unmap-window = "zoom";
|
||||||
animation-for-transient-window = "slide-up";
|
animation-for-transient-window = "slide-down";
|
||||||
};
|
};
|
||||||
|
|
||||||
wintypes = {
|
wintypes = {
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
rate = "59.95";
|
rate = "59.95";
|
||||||
mode = "2560x1440";
|
mode = "2560x1440";
|
||||||
position = "0x0";
|
position = "440x0";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user