From 6d5689d68a2dc6886db0f78530fbea3a0652c445 Mon Sep 17 00:00:00 2001 From: TheGeneralist <180094941+thegeneralist01@users.noreply.github.com> Date: Mon, 16 Mar 2026 17:23:01 +0100 Subject: [PATCH] fix isServer --- modules/common/custom-options.nix | 2 +- modules/common/ghostty.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/common/custom-options.nix b/modules/common/custom-options.nix index 9535eda..c55d401 100644 --- a/modules/common/custom-options.nix +++ b/modules/common/custom-options.nix @@ -16,7 +16,7 @@ in { isServer = mkOption { type = types.bool; - default = config.nixpkgs.hostPlatform.isAarch64; + default = config.nixpkgs.hostPlatform.isAarch64 && config.nixpkgs.hostPlatform.system == "aarch64-linux"; description = "Whether the system is a server. Determined by the processor architecture."; }; diff --git a/modules/common/ghostty.nix b/modules/common/ghostty.nix index afa847a..f6785bf 100644 --- a/modules/common/ghostty.nix +++ b/modules/common/ghostty.nix @@ -25,6 +25,7 @@ gtk-titlebar = false; mouse-hide-while-typing = true; + custom-shader = "~/.config/ghostty-shaders/shader.glsl"; }; }; }];