From 7cbd2094f74bca9a4014bb3397918a70aaec4737 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Thu, 8 Oct 2020 23:17:24 +0200 Subject: [PATCH 1/2] snapper: 0.8.12 -> 0.8.14 --- pkgs/tools/misc/snapper/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/snapper/default.nix b/pkgs/tools/misc/snapper/default.nix index ab4aad485567..576e1d780744 100644 --- a/pkgs/tools/misc/snapper/default.nix +++ b/pkgs/tools/misc/snapper/default.nix @@ -5,13 +5,13 @@ stdenv.mkDerivation rec { pname = "snapper"; - version = "0.8.12"; + version = "0.8.14"; src = fetchFromGitHub { owner = "openSUSE"; repo = "snapper"; rev = "v${version}"; - sha256 = "0vkzncgyf1l2wcr5qd615qbd0hmclfrblg38mx52m707z3wyv88v"; + sha256 = "1q687bjwy668klxnhsrc2rlhisa59j8bhmh1jw220rq7z0hm2khr"; }; nativeBuildInputs = [ From 90aa6c93e2fb014c1093111bd309d87461853367 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Thu, 8 Oct 2020 23:17:44 +0200 Subject: [PATCH 2/2] nixos/snapper: add snapperd dbus service Since snapper 0.8.13 a systemd service is required for DBus activation. --- nixos/modules/services/misc/snapper.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nixos/modules/services/misc/snapper.nix b/nixos/modules/services/misc/snapper.nix index 6f3aaa973a04..3560d08520b7 100644 --- a/nixos/modules/services/misc/snapper.nix +++ b/nixos/modules/services/misc/snapper.nix @@ -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;