diff --git a/nixosModules/ghostty.nix b/nixosModules/ghostty.nix index 7b1165b..4e5e5ec 100644 --- a/nixosModules/ghostty.nix +++ b/nixosModules/ghostty.nix @@ -12,7 +12,9 @@ let if builtins.isString v then ''${k} = "${toString v}"'' else - ''${k} = ${if builtins.isBool v then if v then "true" else "false" else toString v}''; + ''${k} = ${ + if builtins.isBool v then if v then "true" else "false" else toString v + }''; }; configFile = format.generate "ghostty-config" cfg.settings; in @@ -60,9 +62,6 @@ in "14=#85dc85" "15=#e2637f" ]; - mouse-hide-while-typing = true; - app-notifications = "no-clipboard-copy"; - copy-on-select = false; clipboard-read = "allow"; clipboard-write = "allow"; @@ -73,8 +72,6 @@ in ]; auto-update = "off"; - confirm-close-surface = false; - shell-integration = "detect"; } ); diff --git a/nixosModules/zellij/default.nix b/nixosModules/zellij/default.nix index 8983709..8c10624 100644 --- a/nixosModules/zellij/default.nix +++ b/nixosModules/zellij/default.nix @@ -24,20 +24,12 @@ }; in '' - - run_zellij () { - if ! systemctl is-active --quiet --user "zellij$2.scope"; then - systemd-run --scope --unit="zellij$2" --user zellij attach -b "$1" - fi - zellij attach "$1" - } - if [[ -z "$ZELLIJ" ]]; then if [[ -n "$SSH_TTY" ]]; then - run_zellij "$SSH@$USER" "" + zellij attach -c "SSH@$USER" else MONITOR="$(${monitorScript} || true)" - run_zellij "''${MONITOR:+"$MONITOR@"}$USER" "-''${MONITOR:+"$MONITOR"}" + zellij attach -c "''${MONITOR:+"$MONITOR@"}$USER" fi fi '';