Compare commits
No commits in common. "4ec119d7c6f2283fd5a837922dbcce6c3e9c3f4b" and "3d6b171a432b4d5e832328a016c8e598876c4df0" have entirely different histories.
4ec119d7c6
...
3d6b171a43
|
@ -0,0 +1 @@
|
||||||
|
/home/alexandre/git/nixos-config/hosts/dell-5590/home-manager/
|
|
@ -10,7 +10,7 @@
|
||||||
./dunst.nix
|
./dunst.nix
|
||||||
./bat.nix
|
./bat.nix
|
||||||
# ./redshift.nix
|
# ./redshift.nix
|
||||||
../../../modules/neovim.nix
|
# ../../../modules/neovim.nix
|
||||||
../../../modules/rust.nix
|
../../../modules/rust.nix
|
||||||
../../../modules/tmux.nix
|
../../../modules/tmux.nix
|
||||||
../../../modules/git.nix
|
../../../modules/git.nix
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
firefox
|
firefox
|
||||||
thunderbird
|
thunderbird
|
||||||
|
vim
|
||||||
jq
|
jq
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
libreoffice
|
libreoffice
|
||||||
|
@ -43,6 +44,7 @@
|
||||||
zola
|
zola
|
||||||
exa
|
exa
|
||||||
bat
|
bat
|
||||||
|
vimPlugins.vim-markdown-composer
|
||||||
python3
|
python3
|
||||||
mtr
|
mtr
|
||||||
powertop
|
powertop
|
||||||
|
@ -66,6 +68,7 @@
|
||||||
graphviz
|
graphviz
|
||||||
evince
|
evince
|
||||||
kdeconnect
|
kdeconnect
|
||||||
|
neovim
|
||||||
];
|
];
|
||||||
nixpkgs.config.permittedInsecurePackages = [
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
"ferdi-5.8.1"
|
"ferdi-5.8.1"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#config ={
|
#config ={
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
LESS = "--quit-if-one-screen --RAW-CONTROL-CHARS";
|
LESS = "--quit-if-one-screen --RAW-CONTROL-CHARS";
|
||||||
EDITOR = "nvim";
|
EDITOR = "vim";
|
||||||
TERMINAL = "xfce4-terminal";
|
TERMINAL = "xfce4-terminal";
|
||||||
BROWSER = "firefox";
|
BROWSER = "firefox";
|
||||||
PRIVATE_BROWSER = "firefox -private";
|
PRIVATE_BROWSER = "firefox -private";
|
||||||
|
|
|
@ -24,15 +24,13 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
zsh.enable = true;
|
||||||
htop = {
|
htop = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.show_cpu_temperature = 1;
|
settings.show_cpu_temperature = 1;
|
||||||
};
|
};
|
||||||
fish = {
|
fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
interactiveShellInit = ''
|
|
||||||
set -gx EDITOR nvim
|
|
||||||
'';
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
ll = "ls -l";
|
ll = "ls -l";
|
||||||
ls = "lsd";
|
ls = "lsd";
|
||||||
|
@ -178,7 +176,7 @@ nix.settings.auto-optimise-store = true;
|
||||||
system.stateVersion = "21.05"; # Did you read the comment?
|
system.stateVersion = "21.05"; # Did you read the comment?
|
||||||
|
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
EDITOR = "nvim";
|
EDITOR = "vim";
|
||||||
BROWSER = "firefox";
|
BROWSER = "firefox";
|
||||||
LESS = "--quit-if-one-screen --RAW-CONTROL-CHARS";
|
LESS = "--quit-if-one-screen --RAW-CONTROL-CHARS";
|
||||||
TERMINAL = "xfce4-terminal";
|
TERMINAL = "xfce4-terminal";
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
||||||
wget lshw openssh bc unzip zip file which gnumake tmux
|
wget lshw openssh bc unzip zip file which vim gnumake tmux
|
||||||
gitAndTools.gitFull
|
gitAndTools.gitFull
|
||||||
dmenu
|
dmenu
|
||||||
pkgs.dconf
|
pkgs.dconf
|
||||||
|
|
|
@ -1,81 +0,0 @@
|
||||||
# ~/.config/starship.toml
|
|
||||||
|
|
||||||
[battery]
|
|
||||||
full_symbol = "🔋"
|
|
||||||
charging_symbol = "🔌"
|
|
||||||
discharging_symbol = "⚡"
|
|
||||||
|
|
||||||
[[battery.display]]
|
|
||||||
threshold = 30
|
|
||||||
style = "bold red"
|
|
||||||
|
|
||||||
[character]
|
|
||||||
error_symbol = "[✖](bold red) "
|
|
||||||
|
|
||||||
[cmd_duration]
|
|
||||||
min_time = 10_000 # Show command duration over 10,000 milliseconds (=10 sec)
|
|
||||||
format = " took [$duration]($style)"
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
truncation_length = 5
|
|
||||||
format = "[$path]($style)[$lock_symbol]($lock_style) "
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
format = " [$symbol$branch]($style) "
|
|
||||||
symbol = "🍣 "
|
|
||||||
style = "bold yellow"
|
|
||||||
|
|
||||||
[git_commit]
|
|
||||||
commit_hash_length = 8
|
|
||||||
style = "bold white"
|
|
||||||
|
|
||||||
[git_state]
|
|
||||||
format = '[\($state( $progress_current of $progress_total)\)]($style) '
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
conflicted = "⚔️ "
|
|
||||||
ahead = "🏎️ 💨 ×${count}"
|
|
||||||
behind = "🐢 ×${count}"
|
|
||||||
diverged = "🔱 🏎️ 💨 ×${ahead_count} 🐢 ×${behind_count}"
|
|
||||||
untracked = "🛤️ ×${count}"
|
|
||||||
stashed = "📦 "
|
|
||||||
modified = "📝 ×${count}"
|
|
||||||
staged = "🗃️ ×${count}"
|
|
||||||
renamed = "📛 ×${count}"
|
|
||||||
deleted = "🗑️ ×${count}"
|
|
||||||
style = "bright-white"
|
|
||||||
format = "$all_status$ahead_behind"
|
|
||||||
|
|
||||||
[hostname]
|
|
||||||
ssh_only = false
|
|
||||||
format = "<[$hostname]($style)>"
|
|
||||||
trim_at = "-"
|
|
||||||
style = "bold dimmed white"
|
|
||||||
disabled = false
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
format = "$symbol[${ram}( | ${swap})]($style) "
|
|
||||||
threshold = 70
|
|
||||||
style = "bold dimmed white"
|
|
||||||
disabled = false
|
|
||||||
|
|
||||||
[package]
|
|
||||||
disabled = true
|
|
||||||
|
|
||||||
[python]
|
|
||||||
format = "[$symbol$version]($style) "
|
|
||||||
style = "bold green"
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
format = "[$symbol$version]($style) "
|
|
||||||
style = "bold green"
|
|
||||||
|
|
||||||
[time]
|
|
||||||
time_format = "%T"
|
|
||||||
format = "🕙 $time($style) "
|
|
||||||
style = "bright-white"
|
|
||||||
disabled = false
|
|
||||||
|
|
||||||
[username]
|
|
||||||
style_user = "bold dimmed blue"
|
|
||||||
show_always = false
|
|
|
@ -4,12 +4,12 @@ programs.neovim = {
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
vimdiffAlias = true;
|
vimdiffAlias = true;
|
||||||
# plugins = with pkgs.vimPlugins;[
|
plugins = with pkgs.vimPlugins;[
|
||||||
# nvim-lspconfig
|
nvim-lspconfig
|
||||||
# nvim-treesitter.withAllGrammars
|
nvim-treesitter.withAllGrammars
|
||||||
# plenary-nvim
|
plenary-nvim
|
||||||
# gruvbox-material
|
gruvbox-material
|
||||||
# mini-nvim
|
mini-nvim
|
||||||
# ];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue