mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
feat: enable picom
This commit is contained in:
parent
53cc006138
commit
61af9f62a5
5 changed files with 281 additions and 334 deletions
|
@ -54,18 +54,19 @@ in {
|
|||
Install.WantedBy = ["graphical-session.target"];
|
||||
Unit = {
|
||||
Description = "Deadd Notification Center";
|
||||
After = ["graphical-session-pre.target"];
|
||||
PartOf = ["graphical-session.target"];
|
||||
After = ["graphical-session.target"];
|
||||
X-Restart-Triggers = [
|
||||
config.xdg.configFile."deadd/deadd.yml".source
|
||||
config.xdg.configFile."deadd/deadd.css".source
|
||||
];
|
||||
Restart = "always";
|
||||
RestartSec = "1sec";
|
||||
};
|
||||
Service = {
|
||||
Type = "dbus";
|
||||
BusName = "org.freedesktop.Notifications";
|
||||
ExecStart = "${cfg.package}/bin/deadd-notification-center";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue