mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-12 09:27:46 -05:00
18 lines
380 B
Nix
18 lines
380 B
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
options = {
|
|
thunderbird = {
|
|
enable = lib.mkEnableOption {
|
|
description = "Enable Thunderbird";
|
|
default = false;
|
|
};
|
|
};
|
|
};
|
|
config = lib.mkIf (config.gui.enable && config.thunderbird.enable) {
|
|
home-manager.users.${config.user} = {
|
|
programs.thunderbird = {
|
|
enable = true;
|
|
};
|
|
};
|
|
};
|
|
}
|