zfsunlock nitpick

This commit is contained in:
Motiejus Jakštys 2023-08-09 14:24:22 +03:00
parent 9fecb7ab4e
commit 3e66f95668

View File

@ -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";