diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2023-02-22 22:39:56 +0100 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2023-02-28 17:47:49 +0100 |
| commit | 70d60e5ee6d1092f765807b8483c9c16d2afa678 (patch) | |
| tree | edeb7a91de348d6fc5dd0e43b9ca7bef794b322c /modules/home-manager/lockscreen.nix | |
| parent | bbb2f5e7cefb970b3e4994ee51bb2c3a18a073c2 (diff) | |
add home-manager modules
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. + ''; + }; +} |
