forked from poz/niksos
change the foot server option to mkEnableOption
This commit is contained in:
parent
dd078d9c07
commit
a12810417c
1 changed files with 1 additions and 5 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue