mv thunderbird to modules
This commit is contained in:
1 parent
a42df2c07e
commit
1278ea0985
5 files changed
+20
-1
No files matched your search
@@ -3,5 +3,6 @@
|
||||
imports = [
|
||||
./element.nix
|
||||
./webcord.nix
|
||||
./thunderbird.nix
|
||||
];
|
||||
}
|
||||
@@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user