summaryrefslogtreecommitdiff
path: root/sif.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2019-12-14 10:54:51 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2019-12-14 10:54:51 +0100
commit56c8a320afa704bab3cb8b0561205ccd5af56447 (patch)
tree23f322eb0ca00f0328f37376083e3c2d8b69edd0 /sif.nix
parent710b93158168f5b688f42e6005409523f1907132 (diff)
downloadnixos-56c8a320afa704bab3cb8b0561205ccd5af56447.tar
nixos-56c8a320afa704bab3cb8b0561205ccd5af56447.tar.gz
nixos-56c8a320afa704bab3cb8b0561205ccd5af56447.tar.bz2
nixos-56c8a320afa704bab3cb8b0561205ccd5af56447.tar.xz
nixos-56c8a320afa704bab3cb8b0561205ccd5af56447.zip
xconfig on sif
Diffstat (limited to 'sif.nix')
-rw-r--r--sif.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/sif.nix b/sif.nix
index 427f4d99..43cdde9e 100644
--- a/sif.nix
+++ b/sif.nix
@@ -53,6 +53,7 @@
53 53
54 environment.systemPackages = with pkgs; [ 54 environment.systemPackages = with pkgs; [
55 git rebuild-system 55 git rebuild-system
56 nvtop
56 ]; 57 ];
57 58
58 nixpkgs.config.allowUnfree = true; 59 nixpkgs.config.allowUnfree = true;
@@ -99,6 +100,10 @@
99 dpi = 282; 100 dpi = 282;
100 101
101 videoDrivers = [ "nvidia" ]; 102 videoDrivers = [ "nvidia" ];
103
104 screenSection = ''
105 Option "metamodes" "nvidia-auto-select +0+0 { ForceCompositionPipeline = On }"
106 '';
102 }; 107 };
103 108
104 yggdrasilTinc = { 109 yggdrasilTinc = {
@@ -388,7 +393,7 @@
388 393
389 services.compton = { 394 services.compton = {
390 enable = true; 395 enable = true;
391 backend = "glx"; 396 backend = "xrender";
392 vSync = true; 397 vSync = true;
393 settings = { 398 settings = {
394 glx-swap-method = 3; 399 glx-swap-method = 3;