broke out common logic
This commit is contained in:
@@ -60,23 +60,17 @@
|
|||||||
description = "Whether to enable docker stuff";
|
description = "Whether to enable docker stuff";
|
||||||
};
|
};
|
||||||
|
|
||||||
options.graphical = {
|
options.graphical =
|
||||||
discord = lib.mkOption {
|
let
|
||||||
type = lib.types.bool;
|
boolOption = lib.mkOption {
|
||||||
default = false;
|
type = lib.types.bool;
|
||||||
|
default = false;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
discord = boolOption;
|
||||||
|
ghostty = boolOption;
|
||||||
|
steam = boolOption;
|
||||||
|
vscode = boolOption;
|
||||||
};
|
};
|
||||||
ghostty = lib.mkOption {
|
|
||||||
type = lib.types.bool;
|
|
||||||
default = false;
|
|
||||||
};
|
|
||||||
steam = lib.mkOption {
|
|
||||||
type = lib.types.bool;
|
|
||||||
default = false;
|
|
||||||
description = "Whether this system has Steam installed";
|
|
||||||
};
|
|
||||||
vscode = lib.mkOption {
|
|
||||||
type = lib.types.bool;
|
|
||||||
default = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user