mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-24 17:53:51 -08:00
feat: migrate oh-my-posh to home-manager
This commit is contained in:
parent
5f106daf7a
commit
c95b662f92
1 changed files with 6 additions and 2 deletions
8
home.nix
8
home.nix
|
@ -41,7 +41,6 @@
|
|||
yq-go # yaml processor https://github.com/mikefarah/yq
|
||||
eza # A modern replacement for ‘ls’
|
||||
fzf # A command-line fuzzy finder
|
||||
oh-my-posh
|
||||
bat
|
||||
pavucontrol
|
||||
|
||||
|
@ -493,6 +492,12 @@
|
|||
enableZshIntegration = true;
|
||||
};
|
||||
|
||||
programs.oh-my-posh = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
settings = builtins.fromJSON (builtins.unsafeDiscardStringContext (builtins.readFile ./prompt.omp.json));
|
||||
};
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
|
@ -503,7 +508,6 @@
|
|||
ls = "eza -l --icons=auto";
|
||||
update = "sudo nixos-rebuild switch";
|
||||
};
|
||||
initExtra = "eval \"$(oh-my-posh init zsh --config \"/etc/nixos/prompt.omp.json\")\"";
|
||||
defaultKeymap = "viins";
|
||||
|
||||
zimfw = {
|
||||
|
|
Loading…
Reference in a new issue