Commit 236c3d05e027

Vincent Demeester <vincent@sbr.pm>
2026-06-10 14:30:30
fix(kitty): skip nix kitty package on non-NixOS
Use system kitty on Fedora CSB to avoid GPU driver segfaults. Home-manager still manages the kitty config.
1 parent 612b57d
Changed files (1)
home
common
desktop
home/common/desktop/kitty.nix
@@ -2,6 +2,8 @@
 {
   programs.kitty = {
     enable = true;
+    # On non-NixOS (Fedora CSB), use system kitty to avoid GPU driver issues
+    package = if builtins.pathExists "/etc/NIXOS" then pkgs.kitty else pkgs.emptyDirectory;
     shellIntegration.enableZshIntegration = false; # handled in dots/config/zsh/tools/kitty.zsh
     settings = {
       close_on_child_death = "yes";