2025-01-04 08:44:19 +03:00
|
|
|
{ lib, config, ... }:
|
|
|
|
let
|
|
|
|
purpose = config.module.purpose;
|
|
|
|
in
|
2024-11-16 04:43:59 +03:00
|
|
|
{
|
2024-12-18 09:40:11 +03:00
|
|
|
options.module.sway = {
|
2025-01-04 08:44:19 +03:00
|
|
|
enable = lib.mkEnableOption "the Sway WM." // {
|
|
|
|
default = with purpose; desktop || laptop;
|
|
|
|
};
|
2024-12-18 09:40:11 +03:00
|
|
|
extraConfig = lib.mkOption {
|
|
|
|
default = [ ];
|
|
|
|
type = with lib.types; listOf str;
|
|
|
|
};
|
|
|
|
};
|
2024-11-16 04:43:59 +03:00
|
|
|
}
|