summary refs log tree commit diff
path: root/nixos/modules/services/backup
diff options
context:
space:
mode:
authorajs124 <ajs124@users.noreply.github.com>2021-12-08 15:07:28 +0000
committerGitHub <noreply@github.com>2021-12-08 15:07:28 +0000
commiteee45bb295b9e4550e778982136f5b8aa1ab37fc (patch)
tree717d84c48d49615acc43a3a0b2e33442572f339a /nixos/modules/services/backup
parent8010ff0d543d21fe639efd17f5ecb6e3e3ee9534 (diff)
parent851495a752f9f631cf47637df1d6e7a301920ba4 (diff)
downloadnixpkgs-eee45bb295b9e4550e778982136f5b8aa1ab37fc.tar
nixpkgs-eee45bb295b9e4550e778982136f5b8aa1ab37fc.tar.gz
nixpkgs-eee45bb295b9e4550e778982136f5b8aa1ab37fc.tar.bz2
nixpkgs-eee45bb295b9e4550e778982136f5b8aa1ab37fc.tar.lz
nixpkgs-eee45bb295b9e4550e778982136f5b8aa1ab37fc.tar.xz
nixpkgs-eee45bb295b9e4550e778982136f5b8aa1ab37fc.tar.zst
nixpkgs-eee45bb295b9e4550e778982136f5b8aa1ab37fc.zip
Merge pull request #146815 from ElvishJerricco/systemd-utils-expressions
Move systemd-lib.nix and systemd-unit-options.nix into utils
Diffstat (limited to 'nixos/modules/services/backup')
-rw-r--r--nixos/modules/services/backup/restic.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/backup/restic.nix b/nixos/modules/services/backup/restic.nix
index 67fef55614b..8ff8e31864b 100644
--- a/nixos/modules/services/backup/restic.nix
+++ b/nixos/modules/services/backup/restic.nix
@@ -1,10 +1,10 @@
-{ config, lib, pkgs, ... }:
+{ config, lib, pkgs, utils, ... }:
 
 with lib;
 
 let
   # Type for a valid systemd unit option. Needed for correctly passing "timerConfig" to "systemd.timers"
-  unitOption = (import ../../system/boot/systemd-unit-options.nix { inherit config lib; }).unitOption;
+  inherit (utils.systemdUtils.unitOptions) unitOption;
 in
 {
   options.services.restic.backups = mkOption {