modifié : configs/i3config
modifié : home.nix modifié : packages.nix modifié : starship.nix modifié : ../nixos/configuration.nix
This commit is contained in:
parent
9219c624e6
commit
9bb93507cc
|
@ -18,7 +18,7 @@ client.focused_inactive $gray2 $gray2 #FFFFFF #000000
|
|||
client.unfocused $gray2 $gray2 #FFFFFF #000000
|
||||
|
||||
# Police de caracteres pour les titres des fenetres. ISO 10646 = Unicode
|
||||
font pango:Hack 10
|
||||
font pango:iosevka 10
|
||||
|
||||
# wallpaper
|
||||
exec --no-startup-id feh --bg-scale /home/alexandre/images/SF.jpg
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
./variables.nix
|
||||
./starship.nix
|
||||
./i3status.nix
|
||||
./dunst.nix
|
||||
./himalaya.nix
|
||||
../../../modules/tmux.nix
|
||||
../../../modules/emacs.nix
|
||||
../../../modules/neovim.nix
|
||||
../../../modules/kdeconnect.nix
|
||||
];
|
||||
home.stateVersion = "23.05";
|
||||
home.username = "alexandre";
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
home-manager
|
||||
spaceFM
|
||||
jq
|
||||
nextcloud-client
|
||||
libreoffice
|
||||
|
@ -35,5 +36,8 @@
|
|||
guake
|
||||
graphviz
|
||||
kdeconnect
|
||||
openssl
|
||||
openvpn
|
||||
feh
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,11 +1,72 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
enable = true;
|
||||
# Configuration écrite dans ~/.config/starship.toml
|
||||
settings = {
|
||||
add_newline = false;
|
||||
format = "$shlvl$shell$username$hostname$nix_shell$git_branch$git_commit$git_state$git_status$directory$jobs$cmd_duration$character";
|
||||
shlvl = {
|
||||
disabled = false;
|
||||
symbol = "ﰬ";
|
||||
style = "bright-red bold";
|
||||
};
|
||||
shell = {
|
||||
disabled = false;
|
||||
format = "$indicator";
|
||||
fish_indicator = "";
|
||||
bash_indicator = "[BASH](bright-white) ";
|
||||
zsh_indicator = "[ZSH](bright-white) ";
|
||||
};
|
||||
username = {
|
||||
style_user = "bright-white bold";
|
||||
style_root = "bright-red bold";
|
||||
};
|
||||
hostname = {
|
||||
style = "bright-green bold";
|
||||
ssh_only = true;
|
||||
};
|
||||
nix_shell = {
|
||||
symbol = "";
|
||||
format = "[$symbol$name]($style) ";
|
||||
style = "bright-purple bold";
|
||||
};
|
||||
git_branch = {
|
||||
only_attached = true;
|
||||
format = "[$symbol$branch]($style) ";
|
||||
symbol = "שׂ";
|
||||
style = "bright-yellow bold";
|
||||
};
|
||||
git_commit = {
|
||||
only_detached = true;
|
||||
format = "[ﰖ$hash]($style) ";
|
||||
style = "bright-yellow bold";
|
||||
};
|
||||
git_state = {
|
||||
style = "bright-purple bold";
|
||||
};
|
||||
git_status = {
|
||||
style = "bright-green bold";
|
||||
};
|
||||
directory = {
|
||||
read_only = " ";
|
||||
truncation_length = 0;
|
||||
};
|
||||
cmd_duration = {
|
||||
format = "[$duration]($style) ";
|
||||
style = "bright-blue";
|
||||
};
|
||||
jobs = {
|
||||
style = "bright-green bold";
|
||||
};
|
||||
character = {
|
||||
success_symbol = "[\\$](bright-green bold)";
|
||||
error_symbol = "[\\$](bright-red bold)";
|
||||
};
|
||||
};
|
||||
xdg.configFile = {
|
||||
"starship.toml" .source = ./configs/starship.toml;
|
||||
};
|
||||
#xdg.configFile = {
|
||||
#"starship.toml" .source = ./configs/starship.toml;
|
||||
#};
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
./network.nix
|
||||
modules/common.nix
|
||||
modules/smtp.nix
|
||||
modules/powermanagement.nix
|
||||
# modules/powermanagement.nix
|
||||
|
||||
];
|
||||
|
||||
|
@ -84,6 +84,7 @@
|
|||
setXAuthLocation = true;
|
||||
forwardX11 = true;
|
||||
};
|
||||
dconf.enable=true;
|
||||
};
|
||||
# Enable sound.
|
||||
sound.enable = true;
|
||||
|
@ -103,6 +104,8 @@
|
|||
|
||||
environment.systemPackages = with pkgs; [
|
||||
google-fonts
|
||||
gnome.adwaita-icon-theme
|
||||
networkmanagerapplet
|
||||
];
|
||||
|
||||
environment.variables.EDITOR = "nvim";
|
||||
|
|
Loading…
Reference in New Issue