zfsunlock nitpick
This commit is contained in:
parent
9fecb7ab4e
commit
3e66f95668
@ -4,7 +4,7 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
unlock = {
|
mkUnlock = {
|
||||||
sshEndpoint,
|
sshEndpoint,
|
||||||
pingEndpoint,
|
pingEndpoint,
|
||||||
remotePubkey,
|
remotePubkey,
|
||||||
@ -56,7 +56,7 @@ in {
|
|||||||
name: cfg:
|
name: cfg:
|
||||||
lib.nameValuePair "zfsunlock-${name}" {
|
lib.nameValuePair "zfsunlock-${name}" {
|
||||||
description = "zfsunlock service for ${name}";
|
description = "zfsunlock service for ${name}";
|
||||||
script = unlock (builtins.removeAttrs cfg ["startAt"]);
|
script = mkUnlock (builtins.removeAttrs cfg ["startAt"]);
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
User = "root";
|
User = "root";
|
||||||
ProtectSystem = "strict";
|
ProtectSystem = "strict";
|
||||||
|
Loading…
Reference in New Issue
Block a user