add wezterm module
This commit is contained in:
parent
44a80339f9
commit
0e9ef6ef48
|
@ -13,6 +13,7 @@
|
|||
./gnome
|
||||
# stuffs
|
||||
./kitty
|
||||
./wezterm
|
||||
./browsers
|
||||
./apps
|
||||
./game
|
||||
|
|
20
modules/desktop/wezterm/default.nix
Normal file
20
modules/desktop/wezterm/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
options,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.modules.desktop.wezterm;
|
||||
in {
|
||||
options.modules.desktop.wezterm = {
|
||||
enable = mkEnableOption false;
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
users.users.sako.packages = with pkgs; [
|
||||
wezterm
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue