mirror of
https://github.com/nix-community/home-manager
synced 2025-01-11 11:39:49 +01:00
parent
b08e6221e0
commit
9a0f388f66
1 changed files with 4 additions and 0 deletions
|
@ -302,6 +302,10 @@ in {
|
||||||
ExecStart = "${cfg.package}/bin/compton --config ${configFile}";
|
ExecStart = "${cfg.package}/bin/compton --config ${configFile}";
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
RestartSec = 3;
|
RestartSec = 3;
|
||||||
|
}
|
||||||
|
// optionalAttrs (cfg.backend == "glx") {
|
||||||
|
# Temporarily fixes corrupt colours with Mesa 18.
|
||||||
|
Environment = [ "allow_rgb10_configs=false" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue