feat: tea
This commit is contained in:
parent
b8f1295953
commit
b3fe1164fd
4 changed files with 18 additions and 20 deletions
|
@ -47,6 +47,7 @@ in {
|
|||
nemo = enabled;
|
||||
neo = enabled;
|
||||
neovim = enabled;
|
||||
tea = enabled;
|
||||
};
|
||||
|
||||
services = {
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
./ssh.nix
|
||||
./starship
|
||||
./systemctl.nix
|
||||
./tea.nix
|
||||
./waybar.nix
|
||||
|
||||
# TODO: uncomment when swaylock is figured out
|
||||
|
|
16
modules/home/programs/tea.nix
Normal file
16
modules/home/programs/tea.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
cfg = config.marleyos.programs.tea;
|
||||
in {
|
||||
options.marleyos.programs.tea.enable = lib.mkEnableOption "tea";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
tea
|
||||
];
|
||||
};
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
|
||||
cfg = config.marleyos.programs.tea;
|
||||
in
|
||||
{
|
||||
options.marleyos.programs.tea.enable = mkEnableOption "tea";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
tea
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue