remove unused shell templates and fix nix-shell prompt
This commit is contained in:
@@ -87,8 +87,9 @@
|
|||||||
programs.starship = {
|
programs.starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
|
enableBashIntegration = true;
|
||||||
settings = {
|
settings = {
|
||||||
format = "$hostname$directory$git_branch$git_status$direnv$line_break$character";
|
format = "$hostname$directory$git_branch$git_status$direnv$nix_shell$line_break$character";
|
||||||
right_format = "$time";
|
right_format = "$time";
|
||||||
|
|
||||||
hostname = {
|
hostname = {
|
||||||
@@ -139,6 +140,14 @@
|
|||||||
unloaded_msg = "not loaded";
|
unloaded_msg = "not loaded";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nix_shell = {
|
||||||
|
format = "[$symbol$state]($style) ";
|
||||||
|
symbol = "❄ ";
|
||||||
|
style = "bold #cd0a00";
|
||||||
|
impure_msg = "nix";
|
||||||
|
pure_msg = "nix-pure";
|
||||||
|
};
|
||||||
|
|
||||||
character = {
|
character = {
|
||||||
success_symbol = "[❯](bold green)";
|
success_symbol = "[❯](bold green)";
|
||||||
error_symbol = "[❯](bold red)";
|
error_symbol = "[❯](bold red)";
|
||||||
@@ -177,7 +186,7 @@
|
|||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
_ZO_FZF_OPTS = "--preview 'eza --tree --level=2 --color=always {2..}' --preview-window=right:40%";
|
_ZO_FZF_OPTS = "--preview 'eza --tree --level=2 --color=always {2..}' --preview-window=right:40%";
|
||||||
NIX_BUILD_SHELL = "zsh";
|
NIX_BUILD_SHELL = "bash";
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
{ pkgs ? import <nixpkgs> {} }:
|
|
||||||
pkgs.mkShell {
|
|
||||||
packages = with pkgs; [
|
|
||||||
dotnet-sdk
|
|
||||||
omnisharp-roslyn
|
|
||||||
# add project-specific packages below
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
{ pkgs ? import <nixpkgs> {} }:
|
|
||||||
pkgs.mkShell {
|
|
||||||
packages = with pkgs; [
|
|
||||||
go
|
|
||||||
gopls
|
|
||||||
gofumpt
|
|
||||||
revive
|
|
||||||
# add project-specific packages below
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
{ pkgs ? import <nixpkgs> {} }:
|
|
||||||
pkgs.mkShell {
|
|
||||||
packages = with pkgs; [
|
|
||||||
pyright
|
|
||||||
black
|
|
||||||
python3Packages.flake8
|
|
||||||
# add project-specific packages below
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
{ pkgs ? import <nixpkgs> {} }:
|
|
||||||
pkgs.mkShell {
|
|
||||||
packages = with pkgs; [
|
|
||||||
nodejs
|
|
||||||
vtsls
|
|
||||||
prettierd
|
|
||||||
eslint_d
|
|
||||||
fixjson
|
|
||||||
# add project-specific packages below
|
|
||||||
];
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user