summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2022-06-13 23:33:15 +0200
committerAlan Pearce2022-06-13 23:33:15 +0200
commit277f2b013756a03258d849bf5438170a0f149439 (patch)
tree8126b8a95d7cfb86a02bf6e2caf65c57a7095ea3
parent6d18e777fbf8168b416f3e44f684c0c4d3932d0f (diff)
downloadnixfiles-277f2b013756a03258d849bf5438170a0f149439.tar.lz
nixfiles-277f2b013756a03258d849bf5438170a0f149439.tar.zst
nixfiles-277f2b013756a03258d849bf5438170a0f149439.zip
kde: fix screen artifacts and flickering
-rw-r--r--system/settings/hardware/nvidia-gpu.nix4
-rw-r--r--system/settings/programs/kde.nix1
2 files changed, 3 insertions, 2 deletions
diff --git a/system/settings/hardware/nvidia-gpu.nix b/system/settings/hardware/nvidia-gpu.nix
index b508fbab..b93b0284 100644
--- a/system/settings/hardware/nvidia-gpu.nix
+++ b/system/settings/hardware/nvidia-gpu.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, ... }:
+{ config, pkgs, lib, ... }:
 
 let
   nvidia_x11 = config.boot.kernelPackages.nvidia_x11;
@@ -12,6 +12,6 @@ in { services.xserver.videoDrivers = [ "nvidia" ];
 
   nixpkgs.config.allowUnfree = true;
   services.picom = {
-    enable = true;
+    enable = lib.mkDefault true;
   };
 }
diff --git a/system/settings/programs/kde.nix b/system/settings/programs/kde.nix
index 7a22da72..b7c7443e 100644
--- a/system/settings/programs/kde.nix
+++ b/system/settings/programs/kde.nix
@@ -20,6 +20,7 @@ with lib;
     kde-gtk-config
   ];
 
+  services.picom.enable = false;
   services.blueman.enable = false;
   services.redshift.enable = false;
 }