xlock: Add option

This commit is contained in:
Geoffrey Frogeye 2024-03-09 18:22:30 +01:00
parent c7c2c89f15
commit 14f7199d65
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
6 changed files with 16 additions and 8 deletions

View file

@ -43,6 +43,11 @@
prose = lib.mkEnableOption "Writing stuff";
python = lib.mkEnableOption "Python dev stuff";
};
hooks.lock = lib.mkOption {
type = lib.types.lines;
default = "";
description = "Bash commands to execute on locking the session.";
};
};
config = {