summaryrefslogtreecommitdiff
path: root/modules/home-manager/lockscreen.nix
blob: e5c36ed722a8e63ff64a9bc820aa48a7e579b686 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ config, lib, pkgs, ... }:

{
  options.personal.home.lockscreen = lib.mkOption {
    type = lib.types.str;
    default = "${
        pkgs.personal.lockscreen.override {
          backgroundImage = config.personal.home.wallpaper;
        }
      }/bin/lockscreen.sh";
    description = ''
      Command to run for locking the screen.
    '';
  };
}