idk i should be doing this cleanierr
This commit is contained in:
parent
a5a462fc31
commit
3afc3d11db
4 changed files with 22 additions and 2 deletions
18
modules/desktop/mail.nix
Normal file
18
modules/desktop/mail.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue