mv thunderbird to modules
This commit is contained in:
parent
a42df2c07e
commit
1278ea0985
@ -18,7 +18,6 @@
|
||||
home-manager
|
||||
fastfetch
|
||||
font-awesome
|
||||
thunderbird
|
||||
lf
|
||||
arduino-ide
|
||||
calibre
|
||||
|
||||
@ -3,5 +3,6 @@
|
||||
imports = [
|
||||
./element.nix
|
||||
./webcord.nix
|
||||
./thunderbird.nix
|
||||
];
|
||||
}
|
||||
|
||||
17
modules/nix/comm/thunderbird.nix
Normal file
17
modules/nix/comm/thunderbird.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
@ -26,6 +26,7 @@ in
|
||||
mullvad.enable = true;
|
||||
gui-utilities.enable = true;
|
||||
mouse.enable = true;
|
||||
thunderbird.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@ -26,6 +26,7 @@ in
|
||||
mullvad.enable = true;
|
||||
gui-utilities.enable = true;
|
||||
mouse.enable = true;
|
||||
thunderbird.enable = true;
|
||||
};
|
||||
services.logind.lidSwitch = "ignore";
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user