added starship
This commit is contained in:
parent
12cbfd1f98
commit
66230f34c4
4 changed files with 21 additions and 21 deletions
|
|
@ -180,8 +180,7 @@
|
||||||
librepcb
|
librepcb
|
||||||
jq
|
jq
|
||||||
obsidian
|
obsidian
|
||||||
fuse
|
starship
|
||||||
fuse3
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Fonts
|
# Fonts
|
||||||
|
|
|
||||||
|
|
@ -22,23 +22,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
font = {
|
font = {
|
||||||
normal = {
|
size = 14.0;
|
||||||
family = "Droid Sans Mono Nerd Font";
|
|
||||||
style = "Regular";
|
|
||||||
};
|
|
||||||
bold = {
|
|
||||||
family = "Droid Sans Mono Nerd Font";
|
|
||||||
style = "Bold";
|
|
||||||
};
|
|
||||||
italic = {
|
|
||||||
family = "Droid Sans Mono Nerd Font";
|
|
||||||
style = "Italic";
|
|
||||||
};
|
|
||||||
bold_italic = {
|
|
||||||
family = "Droid Sans Mono Nerd Font";
|
|
||||||
style = "Bold Italic";
|
|
||||||
};
|
|
||||||
size = 12.0;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@
|
||||||
./direnv.nix
|
./direnv.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
./ncspot.nix
|
./ncspot.nix
|
||||||
./starship.nix
|
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
./waybar.nix
|
./waybar.nix
|
||||||
./zellij.nix
|
./zellij.nix
|
||||||
|
|
@ -14,12 +13,13 @@
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
./ssh.nix
|
./ssh.nix
|
||||||
./superfile.nix
|
./superfile.nix
|
||||||
|
./starship.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
speccon18.hm.alacritty.enable = true;
|
speccon18.hm.alacritty.enable = true;
|
||||||
speccon18.hm.direnv.enable = true;
|
speccon18.hm.direnv.enable = true;
|
||||||
speccon18.hm.git.enable = true;
|
speccon18.hm.git.enable = true;
|
||||||
speccon18.hm.ncspot.enable = true;
|
speccon18.hm.ncspot.enable = true;
|
||||||
speccon18.hm.starship.enable = true;
|
|
||||||
speccon18.hm.syncthing.enable = false;
|
speccon18.hm.syncthing.enable = false;
|
||||||
speccon18.hm.waybar.enable = false;
|
speccon18.hm.waybar.enable = false;
|
||||||
speccon18.hm.zellij.enable = true;
|
speccon18.hm.zellij.enable = true;
|
||||||
|
|
@ -27,6 +27,7 @@
|
||||||
speccon18.hm.zsh.enable = true;
|
speccon18.hm.zsh.enable = true;
|
||||||
speccon18.hm.rio.enable = false;
|
speccon18.hm.rio.enable = false;
|
||||||
speccon18.hm.ssh.enable = true;
|
speccon18.hm.ssh.enable = true;
|
||||||
|
speccon18.hm.starship.enable = true;
|
||||||
speccon18.hm.superfile.enable = false;
|
speccon18.hm.superfile.enable = false;
|
||||||
# Home Manager needs a bit of information about you and the paths it should
|
# Home Manager needs a bit of information about you and the paths it should
|
||||||
# manage.
|
# manage.
|
||||||
|
|
|
||||||
16
modules/home-manager/starship.nix
Normal file
16
modules/home-manager/starship.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
{
|
||||||
|
options.speccon18.hm.starship.enable = lib.mkEnableOption "Enable Starship";
|
||||||
|
programs.starship = {
|
||||||
|
enable = true;
|
||||||
|
# Configuration written to ~/.config/starship.toml
|
||||||
|
settings = {
|
||||||
|
add_newline = false;
|
||||||
|
|
||||||
|
character = {
|
||||||
|
success_symbol = "[➜](bold green)";
|
||||||
|
error_symbol = "[➜](bold red)";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue