Skip to content

Instantly share code, notes, and snippets.

@aristidb
Created September 9, 2017 20:00
Show Gist options
  • Save aristidb/bf55d214096c6d799bfe7917dbddcfd2 to your computer and use it in GitHub Desktop.
Save aristidb/bf55d214096c6d799bfe7917dbddcfd2 to your computer and use it in GitHub Desktop.
{ pkgs, config, ... }:
{
environment.systemPackages = [ pkgs.xss-lock ];
programs.slock.enable = true;
services.xserver.displayManager.sessionCommands = ''
xset s 600
xss-lock -- slock &
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment