diff --git a/hosts/katana.nix b/hosts/katana.nix index b9890b5..99062a7 100644 --- a/hosts/katana.nix +++ b/hosts/katana.nix @@ -180,8 +180,7 @@ librepcb jq obsidian - fuse - fuse3 + starship ]; # Fonts diff --git a/modules/home-manager/alacritty.nix b/modules/home-manager/alacritty.nix index aa2e720..f33bfb1 100644 --- a/modules/home-manager/alacritty.nix +++ b/modules/home-manager/alacritty.nix @@ -22,23 +22,7 @@ }; font = { - normal = { - 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; + size = 14.0; }; }; }; diff --git a/modules/home-manager/home.nix b/modules/home-manager/home.nix index a3db23f..a9490ac 100644 --- a/modules/home-manager/home.nix +++ b/modules/home-manager/home.nix @@ -6,7 +6,6 @@ ./direnv.nix ./git.nix ./ncspot.nix - ./starship.nix ./syncthing.nix ./waybar.nix ./zellij.nix @@ -14,12 +13,13 @@ ./zsh.nix ./ssh.nix ./superfile.nix + ./starship.nix ]; + speccon18.hm.alacritty.enable = true; speccon18.hm.direnv.enable = true; speccon18.hm.git.enable = true; speccon18.hm.ncspot.enable = true; - speccon18.hm.starship.enable = true; speccon18.hm.syncthing.enable = false; speccon18.hm.waybar.enable = false; speccon18.hm.zellij.enable = true; @@ -27,6 +27,7 @@ speccon18.hm.zsh.enable = true; speccon18.hm.rio.enable = false; speccon18.hm.ssh.enable = true; + speccon18.hm.starship.enable = true; speccon18.hm.superfile.enable = false; # Home Manager needs a bit of information about you and the paths it should # manage. diff --git a/modules/home-manager/starship.nix b/modules/home-manager/starship.nix new file mode 100644 index 0000000..9bfe2c5 --- /dev/null +++ b/modules/home-manager/starship.nix @@ -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)"; + }; + }; + }; +}