services.physlock.enable

NixOS option

Whether to enable the physlock screen locking mechanism. Enable this and then run systemctl start physlock to securely lock the screen. This will switch to a new virtual terminal, turn off console switching and disable SysRq mechanism (when services.physlock.disableSysRq is set) until the root or user password is given.

type: boolean
Default
false
declared in: nixos/modules/services/security/physlock.nixView source on NixOS/nixpkgs →