fix: add option to not install package for sway / swaylock

avoid problems with nix on Debian
This commit is contained in:
Yorick Barbanneau 2024-06-19 01:03:52 +02:00
parent ce7338040e
commit dea3740249
4 changed files with 42 additions and 6 deletions

View file

@ -7,6 +7,12 @@ in
options.modules.desktop.sway = {
enable = mkEnableOption "enable Sway Windows Manager";
installPackage = mkOption {
type = types.bool;
default = true;
description = "install Package, if false relies on distribution packages";
};
kanshi = mkOption {
type = types.bool;
default = false;