diff options
Diffstat (limited to 'modules/home-manager/lockscreen.nix')
| -rw-r--r-- | modules/home-manager/lockscreen.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/home-manager/lockscreen.nix b/modules/home-manager/lockscreen.nix new file mode 100644 index 0000000..e5c36ed --- /dev/null +++ b/modules/home-manager/lockscreen.nix @@ -0,0 +1,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. + ''; + }; +} |
