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