summaryrefslogtreecommitdiffstats
path: root/modules/slock
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-12-04 16:05:12 +0000
committertv <tv@krebsco.de>2026-12-04 16:05:12 +0000
commit9f0121c47a7531deb41d53711290349cd3e56aa6 (patch)
tree774b3afe0a03da7c34d593d8fb1549d05fdbc064 /modules/slock
parent7050ab1f081dcc1cd49204c9b7d681913c6ac2e0 (diff)
slock: hash from the secret slock.hashed-password
Diffstat (limited to 'modules/slock')
-rw-r--r--modules/slock/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/slock/default.nix b/modules/slock/default.nix
index 4ac1a1eb..a964439e 100644
--- a/modules/slock/default.nix
+++ b/modules/slock/default.nix
@@ -80,6 +80,7 @@ in {
enstate.types."text/x-crypt-hash".validator = validate;
enstate.channels.secrets.slots."slock.hashed-password" = {
type = "text/x-crypt-hash";
+ source = lib.mkDefault { secrets.key = "slock.hashed-password"; };
required = false;
secret = true;
};