add thunderbird to home module
This commit is contained in:
parent
f80f07ea8a
commit
a69f8cd125
3 changed files with 24 additions and 0 deletions
|
|
@ -32,6 +32,7 @@
|
||||||
mpv.enable = true;
|
mpv.enable = true;
|
||||||
kvm.enable = true;
|
kvm.enable = true;
|
||||||
atuin.enable = true;
|
atuin.enable = true;
|
||||||
|
thunderbird.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
david = {
|
david = {
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@
|
||||||
./atuin.nix
|
./atuin.nix
|
||||||
./swaync.nix
|
./swaync.nix
|
||||||
./swaylock.nix
|
./swaylock.nix
|
||||||
|
./thunderbird.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
|
|
|
||||||
22
home/modules/thunderbird.nix
Normal file
22
home/modules/thunderbird.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
{ config, lib, ... }:
|
||||||
|
let
|
||||||
|
cfg = config.youthlic.programs.thunderbird;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options = {
|
||||||
|
youthlic.programs.thunderbird = {
|
||||||
|
enable = lib.mkEnableOption "thunderbird";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
programs.thunderbird = {
|
||||||
|
enable = true;
|
||||||
|
profiles = {
|
||||||
|
default = {
|
||||||
|
withExternalGnupg = true;
|
||||||
|
isDefault = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue