20 lines
436 B
Nix
20 lines
436 B
Nix
{
|
|
config,
|
|
inputs,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
options.my.apps.internet = {
|
|
enable = lib.mkEnableOption "internet browsers and communication apps";
|
|
users = lib.mkOption {
|
|
type = inputs.self.lib.usersOptionType lib;
|
|
default = config.my.toggleUsers.apps;
|
|
description = "Users to install internet packages for";
|
|
};
|
|
};
|
|
config = lib.mkIf config.my.apps.internet.enable {
|
|
programs.geary.enable = true;
|
|
};
|
|
}
|