feat(shell): migrate to fish

This commit is contained in:
2025-12-05 20:29:35 +08:00
parent 837f865b4f
commit ab6dadd113
6 changed files with 169 additions and 96 deletions

View File

@@ -0,0 +1,21 @@
{ config, lib, ... }:
lib.my.makeSwitch {
inherit config;
optionName = "starship prompt";
optionPath = [
"cli"
"shell"
"starship"
];
config' = {
my.hm = {
programs.starship = {
enable = true;
settings = lib.recursiveUpdate (with builtins; fromTOML (readFile ./starship-preset.toml)) {
add_newline = false;
nix_shell.disabled = true;
};
};
};
};
}