[NixOS] Use jonaburg picom
This commit is contained in:
parent
613d6f3d97
commit
334fe8cab3
@ -42,6 +42,7 @@
|
||||
nixpkgs.overlays = [
|
||||
nix.overlay xmonad.overlay xmonad-contrib.overlay
|
||||
notifications-tray-icon.overlay (import ../dotfiles/config/taffybar/overlay.nix)
|
||||
(import ./overlay.nix)
|
||||
] ++ taffybar.overlays;
|
||||
imports = [
|
||||
home-manager.nixosModule
|
||||
|
@ -112,9 +112,7 @@
|
||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||
|
||||
Service = {
|
||||
# Temporarily fixes corrupt colours with Mesa 18.
|
||||
Environment = [ "allow_rgb10_configs=false" ];
|
||||
ExecStart = "${pkgs.picom}/bin/picom";
|
||||
ExecStart = "${pkgs.picom}/bin/picom --experimental-backends";
|
||||
Restart = "always";
|
||||
RestartSec = 3;
|
||||
};
|
||||
|
10
nixos/overlay.nix
Normal file
10
nixos/overlay.nix
Normal file
@ -0,0 +1,10 @@
|
||||
final: prev: {
|
||||
picom = prev.picom.overrideAttrs(_: {
|
||||
src = prev.fetchFromGitHub {
|
||||
repo = "picom";
|
||||
owner = "jonaburg";
|
||||
rev = "a8445684fe18946604848efb73ace9457b29bf80";
|
||||
sha256 = "sha256-R+YUGBrLst6CpUgG9VCwaZ+LiBSDWTp0TLt1Ou4xmpQ=";
|
||||
};
|
||||
});
|
||||
}
|
Loading…
Reference in New Issue
Block a user