nixos/snapper: add snapperd dbus service

Since snapper 0.8.13 a systemd service is required for DBus activation.
This commit is contained in:
Markus Kowalewski 2020-10-08 23:17:44 +02:00
parent 7cbd2094f7
commit 90aa6c93e2
No known key found for this signature in database
GPG Key ID: D865C8A91D7025EB

View File

@ -121,6 +121,16 @@ in
services.dbus.packages = [ pkgs.snapper ];
systemd.services.snapperd = {
description = "DBus interface for snapper";
inherit documentation;
serviceConfig = {
Type = "dbus";
BusName = "org.opensuse.Snapper";
ExecStart = "${pkgs.snapper}/bin/snapperd";
};
};
systemd.services.snapper-timeline = {
description = "Timeline of Snapper Snapshots";
inherit documentation;