chore(module): remove installPackage parameter

This commit is contained in:
Yorick Barbanneau 2024-09-03 00:40:48 +02:00
parent e2e5c9c75e
commit 691e01e22c
7 changed files with 30 additions and 60 deletions

View file

@ -7,10 +7,6 @@ in
config = mkIf config.modules.desktop.sway.enable {
programs.swaylock = {
enable = true;
package =
if cfg.installPackage
then pkgs.swaylock
else pkgs.emptyDirectory;
settings = {
image = "${cfg.wallpapers.lockscreen}";
scaling = "center";