change the foot server option to mkEnableOption

This commit is contained in:
jacekpoz 2024-04-05 23:02:22 +02:00
parent dd078d9c07
commit a12810417c
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -10,11 +10,7 @@
in { in {
options.myOptions.programs.foot = { options.myOptions.programs.foot = {
enable = mkEnableOption "foot"; enable = mkEnableOption "foot";
server = mkOption { server = mkEnableOption "foot server mode";
description = "enable foot server mode";
default = true;
type = types.bool;
};
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {