mv thunderbird to modules

This commit is contained in:
smayzy
2025-07-11 18:51:52 +02:00
parent a42df2c07e
commit 1278ea0985
5 changed files with 20 additions and 1 deletions
+1
View File
@@ -3,5 +3,6 @@
imports = [
./element.nix
./webcord.nix
./thunderbird.nix
];
}
+17
View File
@@ -0,0 +1,17 @@
{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.thunderbird.enable = mkOption {
type = types.bool;
default = false;
description = "thunderbird";
};
config = mkIf config.smayzy.thunderbird.enable {
environment.systemPackages = with pkgs; [
thunderbird
];
};
}