nix-darwin: make several changes to home and system configuration specific to darwin platform

This commit is contained in:
2026-07-21 14:30:17 -04:00
parent 2ac6ab0dd5
commit 87fc9e3c01
4 changed files with 63 additions and 9 deletions
+25 -1
View File
@@ -17,6 +17,30 @@ in
'';
};
# Configure ZSH if using darwin (macOS).
zsh =
if pkgs.stdenv.hostPlatform.isDarwin then
{
enable = true;
initExtra = ''
clear;fastfetch
'';
}
else
{ };
starship = {
enable = true;
settings = {
character = {
success_symbol = "[λ](bold green)";
error_symbol = "[λ](bold red)";
};
};
};
fastfetch = {
enable = true;
@@ -43,7 +67,7 @@ in
];
logo = {
source = "nixos2";
source = if pkgs.stdenv.hostPlatform.isDarwin then "macos" else "nixos2";
};
};
};