mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 17:46:14 +01:00
519d7b3841
Signed-off-by: Magic_RB <magic_rb@redalder.org>
19 lines
480 B
Nix
19 lines
480 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" ]; };
|
|
};
|
|
}
|