CHANGE starship config from home-manager to configuration.nix

main
Alexandre LUCAZEAU 2023-07-26 20:19:54 +02:00
parent ea886aec7c
commit 589fa7fcbe
4 changed files with 2 additions and 6 deletions

View File

@ -4,7 +4,6 @@
./gnupg.nix ./gnupg.nix
./git.nix ./git.nix
./variables.nix ./variables.nix
./starship.nix
./i3status.nix ./i3status.nix
./dunst.nix ./dunst.nix
./himalaya.nix ./himalaya.nix

View File

@ -40,6 +40,7 @@
openvpn openvpn
feh feh
ferdi ferdi
thunderbird
]; ];
nixpkgs.config.permittedInsecurePackages = [ nixpkgs.config.permittedInsecurePackages = [
"ferdi-5.8.1" "ferdi-5.8.1"

View File

@ -13,6 +13,7 @@
./network.nix ./network.nix
modules/common.nix modules/common.nix
modules/smtp.nix modules/smtp.nix
modules/starship.nix
# modules/powermanagement.nix # modules/powermanagement.nix
]; ];

View File

@ -1,7 +1,6 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
programs.starship = { programs.starship = {
enableFishIntegration = true;
enable = true; enable = true;
# Configuration écrite dans ~/.config/starship.toml # Configuration écrite dans ~/.config/starship.toml
settings = { settings = {
@ -17,7 +16,6 @@
format = "$indicator"; format = "$indicator";
fish_indicator = ""; fish_indicator = "";
bash_indicator = "[BASH](bright-white) "; bash_indicator = "[BASH](bright-white) ";
zsh_indicator = "[ZSH](bright-white) ";
}; };
username = { username = {
style_user = "bright-white bold"; style_user = "bright-white bold";
@ -66,7 +64,4 @@
}; };
}; };
}; };
#xdg.configFile = {
#"starship.toml" .source = ./configs/starship.toml;
#};
} }