From 56c8a320afa704bab3cb8b0561205ccd5af56447 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 14 Dec 2019 10:54:51 +0100 Subject: xconfig on sif --- sif.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sif.nix b/sif.nix index 427f4d99..43cdde9e 100644 --- a/sif.nix +++ b/sif.nix @@ -53,6 +53,7 @@ environment.systemPackages = with pkgs; [ git rebuild-system + nvtop ]; nixpkgs.config.allowUnfree = true; @@ -99,6 +100,10 @@ dpi = 282; videoDrivers = [ "nvidia" ]; + + screenSection = '' + Option "metamodes" "nvidia-auto-select +0+0 { ForceCompositionPipeline = On }" + ''; }; yggdrasilTinc = { @@ -388,7 +393,7 @@ services.compton = { enable = true; - backend = "glx"; + backend = "xrender"; vSync = true; settings = { glx-swap-method = 3; -- cgit v1.2.3