mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-10 02:49:41 +00:00
Add physlock
This commit is contained in:
parent
662657dadb
commit
1c52e91b56
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./misc.nix
|
./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