hm-modules: the great refactoring part 1

This commit is contained in:
Veneficium 2024-12-05 22:22:01 +01:00
parent 1b2f5d6094
commit b7ccaf8285
11 changed files with 29 additions and 39 deletions

View file

@ -1,14 +0,0 @@
{ config, lib, ... }:
{
options.settings.programs.wezterm = {
enable = lib.mkEnableOption "enable wezterm terminal emulator";
};
config = lib.mkIf config.settings.programs.wezterm.enable {
programs.wezterm = {
enable = true;
#enableZshIntegration = true;
extraConfig = builtins.replaceStrings [ "-- nix-replace" ] [ "" ] (builtins.readFile ./wezterm.lua);
};
};
}