From 4732cbf3f88f451760345e9cdb54babbb543e22e Mon Sep 17 00:00:00 2001 From: ajs124 Date: Mon, 28 Aug 2023 15:02:59 +0200 Subject: nixos/restic: use openssh as configured in programs.ssh --- nixos/modules/services/backup/restic.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/backup/restic.nix b/nixos/modules/services/backup/restic.nix index 1620770e5b5..60afb15ee87 100644 --- a/nixos/modules/services/backup/restic.nix +++ b/nixos/modules/services/backup/restic.nix @@ -331,7 +331,7 @@ in nameValuePair (rcloneAttrToConf name) (toRcloneVal value) ) backup.rcloneConfig); - path = [ pkgs.openssh ]; + path = [ config.programs.ssh.package ]; restartIfChanged = false; serviceConfig = { Type = "oneshot"; -- cgit 1.4.1