From f16859893d073c1745fc5db1f2280b880f40b48d Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Mon, 16 Dec 2024 14:19:06 -0500 Subject: [PATCH] add terminal options for darwin --- modules/darwin/system.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/darwin/system.nix b/modules/darwin/system.nix index 92ffbde..3501c9c 100644 --- a/modules/darwin/system.nix +++ b/modules/darwin/system.nix @@ -6,6 +6,19 @@ }: { + options = { + terminal = lib.mkOption { + type = lib.types.nullOr lib.types.str; + description = "Path to executable for terminal emulator program."; + default = null; + }; + terminalLaunchCommand = lib.mkOption { + type = lib.types.nullOr lib.types.str; + description = "Command for using the terminal to launch a new window with a program."; + default = null; + }; + }; + config = lib.mkIf pkgs.stdenv.isDarwin { services.nix-daemon.enable = true;