mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-02 13:06:11 +01:00
aff0158ef7
Signed-off-by: magic_rb <magic_rb@redalder.org>
22 lines
478 B
Nix
22 lines
478 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
home.file.".config/picom.conf".source = ./picom.conf;
|
|
systemd.user.services.picom = {
|
|
Unit = {
|
|
Description = "Picom compositor";
|
|
After = ["graphical-session-pre.target"];
|
|
PartOf = ["graphical-session.target"];
|
|
};
|
|
|
|
Service = {
|
|
Type = "simple";
|
|
ExecStart = ''/bin/sh -l -c "${lib.getExe pkgs.picom} --config ~/.config/picom.conf"'';
|
|
};
|
|
|
|
Install = {WantedBy = ["graphical-session.target"];};
|
|
};
|
|
}
|