From 3e66f95668f9063688b35537eb2ba8c4fc302168 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 9 Aug 2023 14:24:22 +0300 Subject: [PATCH] zfsunlock nitpick --- modules/services/zfsunlock/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/services/zfsunlock/default.nix b/modules/services/zfsunlock/default.nix index 9d93f62..506cd84 100644 --- a/modules/services/zfsunlock/default.nix +++ b/modules/services/zfsunlock/default.nix @@ -4,7 +4,7 @@ pkgs, ... }: let - unlock = { + mkUnlock = { sshEndpoint, pingEndpoint, remotePubkey, @@ -56,7 +56,7 @@ in { name: cfg: lib.nameValuePair "zfsunlock-${name}" { description = "zfsunlock service for ${name}"; - script = unlock (builtins.removeAttrs cfg ["startAt"]); + script = mkUnlock (builtins.removeAttrs cfg ["startAt"]); serviceConfig = { User = "root"; ProtectSystem = "strict";