starship config
This commit is contained in:
parent
80f9f62740
commit
cfbcb0b3a8
2 changed files with 35 additions and 12 deletions
|
|
@ -4,11 +4,9 @@
|
||||||
home.username = "steven";
|
home.username = "steven";
|
||||||
home.homeDirectory = "/home/steven";
|
home.homeDirectory = "/home/steven";
|
||||||
home.stateVersion = "25.11"; # Please read the comment before changing.
|
home.stateVersion = "25.11"; # Please read the comment before changing.
|
||||||
home.packages = [
|
home.packages = with pkgs; [
|
||||||
];
|
];
|
||||||
home.file = {
|
home.file = {
|
||||||
"hmhello.txt".text = ''
|
|
||||||
hello'';
|
|
||||||
};
|
};
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
QT_QPA_PLATFORMTHEME = "gtk3";
|
QT_QPA_PLATFORMTHEME = "gtk3";
|
||||||
|
|
@ -17,21 +15,46 @@
|
||||||
programs = {
|
programs = {
|
||||||
home-manager.enable = true;
|
home-manager.enable = true;
|
||||||
fish.enable = true;
|
fish.enable = true;
|
||||||
|
starship = {
|
||||||
|
enable = true;
|
||||||
|
enableFishIntegration = true;
|
||||||
|
settings = {
|
||||||
|
format = "$username@$hostname: $character";
|
||||||
|
right_format = "$directory$git_status$git_branch";
|
||||||
|
hostname = {
|
||||||
|
ssh_only = false;
|
||||||
|
style = "bold blue dimmed";
|
||||||
|
format = "[$hostname]($style)";
|
||||||
|
};
|
||||||
|
username = {
|
||||||
|
show_always = true;
|
||||||
|
format = "[$user]($style)";
|
||||||
|
};
|
||||||
|
directory = {
|
||||||
|
fish_style_pwd_dir_length = 4;
|
||||||
|
};
|
||||||
|
sudo = {
|
||||||
|
style = "bold green";
|
||||||
|
symbol = "SUDO";
|
||||||
|
disabled = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
neovim = {
|
neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
oil-nvim
|
oil-nvim
|
||||||
nvim-colorizer-lua
|
nvim-colorizer-lua
|
||||||
nvim-treesitter
|
nvim-treesitter
|
||||||
mini-nvim
|
mini-nvim
|
||||||
plenary-nvim
|
plenary-nvim
|
||||||
telescope-nvim
|
telescope-nvim
|
||||||
gitsigns-nvim
|
gitsigns-nvim
|
||||||
vim-airline
|
vim-airline
|
||||||
nvim-web-devicons
|
nvim-web-devicons
|
||||||
vim-startify
|
vim-startify
|
||||||
];
|
];
|
||||||
extraLuaConfig = builtins.readFile ./neovim/init.lua;
|
extraLuaConfig = builtins.readFile ./neovim/init.lua;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue