Add physlock

This commit is contained in:
ItsDrike 2024-04-15 23:22:23 +02:00
parent 662657dadb
commit 1c52e91b56
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
2 changed files with 9 additions and 0 deletions

View file

@ -1,5 +1,6 @@
{
imports = [
./misc.nix
./physlock.nix
];
}

View file

@ -0,0 +1,8 @@
{
# Screen locker which works across all virtual terminals
# Use `systemctl start physlock` to securely lock the screen
services.physlock = {
enable = true;
lockMessage = "System is locked...";
};
}