Improved macOS Nushell tweaks
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
'';
|
'';
|
||||||
settings = {
|
settings = {
|
||||||
buffer_editor = lib.getExe config.programs.nixvim.package;
|
buffer_editor = lib.getExe config.programs.nixvim.package;
|
||||||
|
"history.isolation" = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
home = {
|
home = {
|
||||||
|
file = lib.mkIf pkgs.hostPlatform.isDarwin {
|
||||||
|
#"Library/Application Support/com.mitchellh.ghostty/config".source = "${config.home.homeDirectory}/.config/ghostty/config";
|
||||||
|
"Library/Application Support/com.mitchellh.ghostty/config".source = config.xdg.configFile."ghostty/config".source;
|
||||||
|
};
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
AWS_SHARED_CREDENTIALS_FILE = "/run/agenix/cache-credentials";
|
AWS_SHARED_CREDENTIALS_FILE = "/run/agenix/cache-credentials";
|
||||||
CARAPACE_BRIDGES = "zsh,bash";
|
CARAPACE_BRIDGES = "zsh,bash";
|
||||||
@@ -56,7 +60,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
package = if pkgs.stdenv.hostPlatform.isDarwin then pkgs.ghostty-bin else pkgs.ghostty;
|
package = if pkgs.stdenv.hostPlatform.isDarwin then pkgs.ghostty-bin else pkgs.ghostty;
|
||||||
settings = {
|
settings = {
|
||||||
command = if pkgs.stdenv.hostPlatform.isDarwin then "~/.nix-profile/bin/xonsh" else "nu";
|
command = lib.getExe pkgs.nushell;
|
||||||
font-family = "Hacker";
|
font-family = "Hacker";
|
||||||
theme = "Dracula";
|
theme = "Dracula";
|
||||||
scrollback-limit = "1000000";
|
scrollback-limit = "1000000";
|
||||||
|
|||||||
Reference in New Issue
Block a user