general overhaul
This commit is contained in:
parent
39fb8c64dc
commit
d0a9427fd0
26 changed files with 657 additions and 2871 deletions
27
modules/home/apps/thunderbird/default.nix
Normal file
27
modules/home/apps/thunderbird/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
namespace,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.${namespace};
|
||||
let
|
||||
cfg = config.${namespace}.apps.thunderbird;
|
||||
in
|
||||
{
|
||||
options.${namespace}.apps.thunderbird = with types; {
|
||||
enable = mkBoolOpt false "Whether or not to enable Firefox.";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.thunderbird = {
|
||||
enable = true;
|
||||
|
||||
profiles."philipp" = {
|
||||
isDefault = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue