patch: properly configure screen configuration
(post `greetd` introduction)
This commit is contained in:
16
blueplum.nix
16
blueplum.nix
@@ -6,7 +6,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
concat = strings: lib.concatStringsSep " " strings;
|
||||
concat = strings: builtins.concatStringsSep " " strings;
|
||||
in
|
||||
{
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
@@ -21,22 +21,20 @@ in
|
||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
};
|
||||
|
||||
services.xserver.displayManager.setupCommands = concat [
|
||||
home-manager.users.anton.xsession.profileExtra = concat [
|
||||
"${lib.getExe pkgs.xorg.xrandr}"
|
||||
concat
|
||||
[
|
||||
"--output DP-0"
|
||||
"${concat [
|
||||
"--output DP-2"
|
||||
"--mode 1920x1080"
|
||||
"--pos 0x0"
|
||||
"--rate 144"
|
||||
"--primary"
|
||||
]
|
||||
concat
|
||||
[
|
||||
]}"
|
||||
"${concat [
|
||||
"--output HDMI-0"
|
||||
"--mode 1920x1080"
|
||||
"--pos 1920x0"
|
||||
"--rate 144"
|
||||
]
|
||||
]}"
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user