mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-25 14:28:44 +01:00
19 lines
396 B
Nix
19 lines
396 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
let cfg = config.jade.desktop.mail;
|
||
|
in with lib; {
|
||
|
options.jade.desktop.mail = {
|
||
|
enable = mkEnableOption "Enable thunderbird mail stuff";
|
||
|
};
|
||
|
config = mkIf cfg.enable {
|
||
|
home-manager.users.jade = { pkgs, ... }: {
|
||
|
programs.thunderbird = {
|
||
|
enable = true;
|
||
|
profiles.jade = {
|
||
|
isDefault = true;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|