flake/modules/home-manager/programs/ghostty.nix
osbm f8b6dd5e7c turn string option into the many sub options
This enables me to enable multiple desktop environments at the same
time.
2025-11-23 11:49:34 +03:00

9 lines
290 B
Nix

{ lib, nixosConfig, ... }:
{
config = lib.mkMerge [
(lib.mkIf (nixosConfig != null && !nixosConfig.osbmModules.desktopEnvironment.none) {
# Set enableGhostty to true by default when there's a desktop environment
programs.ghostty.enable = lib.mkDefault true;
})
];
}