feat: fde-lock also locks duskwood, stopping its containers first
This commit is contained in:
1 parent
9890583d8a
commit
487bb678ef
3 files changed
+165
-54
No files matched your search
+2
-2
@@ -1,6 +1,6 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
# Home Assistant endpoint that puts Nethergarde (truenas VM) and ashenvale_crypt to rest.
|
||||
# Home Assistant endpoint that puts Nethergarde (truenas VM), ashenvale_crypt and duskwood_crypt to rest.
|
||||
# HTTP API (unprivileged) -> trigger file in /run/fde-lock-api -> path unit -> root oneshot.
|
||||
# Token: /etc/nixos/secrets/fde-lock-token (not versioned).
|
||||
|
||||
@@ -20,7 +20,7 @@ let
|
||||
};
|
||||
|
||||
lockService = mode: {
|
||||
description = "Put Nethergarde and ashenvale_crypt to rest (${mode})";
|
||||
description = "Put Nethergarde, ashenvale_crypt and duskwood_crypt to rest (${mode})";
|
||||
# Never (re)started by a rebuild, only by its path unit.
|
||||
restartIfChanged = false;
|
||||
serviceConfig = {
|
||||
|
||||
Reference in new issue
Block a user