summaryrefslogtreecommitdiff
path: root/modules/home-manager/lockscreen.nix
blob: da3bfd16be84871bda11068eabdf4976173df42a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  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.
    '';
  };
}