cleanup, modularise

This commit is contained in:
unexplrd
2025-02-06 21:56:18 +02:00
parent 2b6ff9f8e8
commit c7576dc1ee
98 changed files with 2 additions and 10091 deletions

View File

@ -0,0 +1,21 @@
{
config,
lib,
...
}:
with lib; let
cfg = config.terminal.ghostty;
in {
options = {
terminal.ghostty.enable = mkEnableOption "enable ghostty terminal";
};
config = mkIf cfg.enable {
programs.ghostty = {
enable = true;
settings = {
gtk-single-instance = true;
window-decoration = "client";
};
};
};
}