Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

services.screen-locker.enable

Whether to enable screen locker for X session.

Type: boolean

Default:

false

Example:

true

Declared by:

services.screen-locker.inactiveInterval

Inactive time interval in minutes after which session will be locked. The minimum is 1 minute, and the maximum is 1 hour. If xautolock.enable is true, it will use this setting. See https://linux.die.net/man/1/xautolock. Otherwise, this will be used with xset to configure the X server’s screensaver timeout.

Type: signed integer

Default:

10

Declared by:

services.screen-locker.lockCmd

Locker command to run.

Type: string

Example:

"\${pkgs.i3lock}/bin/i3lock -n -c 000000"

Declared by:

services.screen-locker.lockCmdEnv

Environment variables to source a with the locker command (lockCmd).

Type: list of string

Default:

[ ]

Example:

[
  "XSECURELOCK_PAM_SERVICE=xsecurelock"
]

Declared by:

services.screen-locker.xautolock.enable

Use xautolock for time-based locking.

Type: boolean

Default:

true

Declared by:

services.screen-locker.xautolock.package

The xautolock package to use.

Type: package

Default:

pkgs.xautolock

Declared by:

services.screen-locker.xautolock.detectSleep

Whether to reset xautolock timers when awaking from sleep. No effect if xautolock.enable is false.

Type: boolean

Default:

true

Declared by:

services.screen-locker.xautolock.extraOptions

Extra command-line arguments to pass to xautolock. No effect if xautolock.enable is false.

Type: list of string

Default:

[ ]

Declared by:

services.screen-locker.xss-lock.package

The xss-lock package to use.

Type: package

Default:

pkgs.xss-lock

Declared by:

services.screen-locker.xss-lock.extraOptions

Extra command-line arguments to pass to xss-lock.

Type: list of string

Default:

[ ]

Declared by:

services.screen-locker.xss-lock.screensaverCycle

The X server’s screensaver cycle value expressed as seconds. This will be used with xset to configure the cycle along with timeout.

Type: signed integer

Default:

600

Declared by: