diff --git a/modules/home/gui/apps/emulators/ghostty/config/settings.nix b/modules/home/gui/apps/emulators/ghostty/config/settings.nix index c342831..4ca9e05 100755 --- a/modules/home/gui/apps/emulators/ghostty/config/settings.nix +++ b/modules/home/gui/apps/emulators/ghostty/config/settings.nix @@ -1,16 +1,17 @@ { flake, + osConfig, pkgs, ... }: let - inherit (flake.config.aesthetics.themes) - fonts - ; + inherit (flake.config.aesthetics.themes) fonts; + inherit (flake.config.machines.devices) deimos; + hostname = osConfig.networking.hostName; in { confirm-close-surface = false; - window-decoration = false; + window-decoration = if hostname == deimos.name then true else false; font-size = fonts.sizes.terminal.size0; font-family = fonts.names.name0; window-padding-x = 10; diff --git a/modules/home/gui/apps/emulators/ghostty/default.nix b/modules/home/gui/apps/emulators/ghostty/default.nix index 42d27b5..e1f8e20 100755 --- a/modules/home/gui/apps/emulators/ghostty/default.nix +++ b/modules/home/gui/apps/emulators/ghostty/default.nix @@ -2,11 +2,19 @@ config, flake, pkgs, + osConfig, ... }: let configPath = ./config; - settingsPath = import (configPath + /settings.nix) { inherit flake pkgs; }; + settingsPath = import (configPath + /settings.nix) { + inherit + flake + config + osConfig + pkgs + ; + }; themesPath = import (configPath + /themes.nix) { inherit config flake; }; in {