initial home-manager setup with neovim and starship
This commit is contained in:
parent
9a45f4f10a
commit
71c45e8397
6 changed files with 235 additions and 0 deletions
44
home.nix
Normal file
44
home.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./neovim
|
||||
];
|
||||
home.username = "steven";
|
||||
home.homeDirectory = "/home/steven";
|
||||
home.stateVersion = "25.11"; # Please read the comment before changing.
|
||||
home.sessionVariables = {
|
||||
QT_QPA_PLATFORMTHEME = "gtk3";
|
||||
PATH = "$PATH:/home/steven/.local/share/JetBrains/Toolbox/scripts/";
|
||||
};
|
||||
programs = {
|
||||
home-manager.enable = true;
|
||||
fish.enable = true;
|
||||
zoxide.enable = true;
|
||||
starship = {
|
||||
enable = true;
|
||||
enableFishIntegration = config.programs.fish.enable;
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue