mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-25 17:24:35 +00:00
Add physlock
This commit is contained in:
parent
662657dadb
commit
1c52e91b56
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./misc.nix
|
||||
./physlock.nix
|
||||
];
|
||||
}
|
||||
|
|
8
system/roles/workstation/programs/physlock.nix
Normal file
8
system/roles/workstation/programs/physlock.nix
Normal 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...";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue