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 {
options.myOptions.programs.foot = {
enable = mkEnableOption "foot";
server = mkOption {
description = "enable foot server mode";
default = true;
type = types.bool;
};
server = mkEnableOption "foot server mode";
};
config = mkIf cfg.enable {