mirror of https://github.com/wlcx/home.git
Autoformat
This commit is contained in:
parent
1e5c9aec5c
commit
6025f0130a
17
home.nix
17
home.nix
|
@ -3,9 +3,7 @@
|
||||||
let mypkgs = (import ./modules/pkgs.nix { inherit pkgs; });
|
let mypkgs = (import ./modules/pkgs.nix { inherit pkgs; });
|
||||||
in {
|
in {
|
||||||
home.packages = mypkgs.all;
|
home.packages = mypkgs.all;
|
||||||
home.sessionVariables = {
|
home.sessionVariables = { "EDITOR" = "nvim"; };
|
||||||
"EDITOR" = "nvim";
|
|
||||||
};
|
|
||||||
programs = {
|
programs = {
|
||||||
home-manager.enable = true;
|
home-manager.enable = true;
|
||||||
|
|
||||||
|
@ -31,12 +29,13 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
add_newline = false;
|
add_newline = false;
|
||||||
format = "$username$hostname$shlvl$directory$git_branch$git_commit$git_state$git_metrics$git_status$hg_branch$docker_context$golang$kotlin$nodejs$python$rust$terraform$nix_shell$memory_usage$aws$gcloud$openstack$azure$env_var$crystal$custom$sudo$cmd_duration$line_break$jobs$status$shell$character";
|
format =
|
||||||
username.format = ''[$user]($style) '';
|
"$username$hostname$shlvl$directory$git_branch$git_commit$git_state$git_metrics$git_status$hg_branch$docker_context$golang$kotlin$nodejs$python$rust$terraform$nix_shell$memory_usage$aws$gcloud$openstack$azure$env_var$crystal$custom$sudo$cmd_duration$line_break$jobs$status$shell$character";
|
||||||
hostname.format = ''[$hostname]($style) '';
|
username.format = "[$user]($style) ";
|
||||||
git_branch.format = ''[$symbol$branch]($style) '';
|
hostname.format = "[$hostname]($style) ";
|
||||||
python.format = '' [py ''${pyenv_prefix}(''${version} )(\($virtualenv\) )]($style)'';
|
git_branch.format = "[$symbol$branch]($style) ";
|
||||||
nodejs.format = '' [js ($version )]($style)'';
|
python.format = "[py \${pyenv_prefix}(\${version} )(\\($virtualenv\\) )]($style)";
|
||||||
|
nodejs.format = "[js ($version )]($style)";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue