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

View File

@ -18,7 +18,6 @@
home-manager home-manager
fastfetch fastfetch
font-awesome font-awesome
thunderbird
lf lf
arduino-ide arduino-ide
calibre calibre

View File

@ -3,5 +3,6 @@
imports = [ imports = [
./element.nix ./element.nix
./webcord.nix ./webcord.nix
./thunderbird.nix
]; ];
} }

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
];
};
}

View File

@ -26,6 +26,7 @@ in
mullvad.enable = true; mullvad.enable = true;
gui-utilities.enable = true; gui-utilities.enable = true;
mouse.enable = true; mouse.enable = true;
thunderbird.enable = true;
}; };
}; };
} }

View File

@ -26,6 +26,7 @@ in
mullvad.enable = true; mullvad.enable = true;
gui-utilities.enable = true; gui-utilities.enable = true;
mouse.enable = true; mouse.enable = true;
thunderbird.enable = true;
}; };
services.logind.lidSwitch = "ignore"; services.logind.lidSwitch = "ignore";
}; };