mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
condensed and cleaned up home-manager configuration moved nix settings to nix.nix (nice name i know) moved all shell configuration to shell.nix moved default package exclusion to packages.nix switched to nitch from neofetch moved font from overlay removed almost pointless librewolf home-manager configuration changed wallpaper
52 lines
1.1 KiB
Nix
52 lines
1.1 KiB
Nix
{pkgs, ...}: {
|
|
environment = {
|
|
binsh = "${pkgs.dash}/bin/dash"; #use dash for speed
|
|
variables = {
|
|
EDITOR = "vi";
|
|
VISUAL = "vi";
|
|
PAGER = "page";
|
|
SYSTEMD_PAGERSECURE = "true";
|
|
TERMINAL = "st";
|
|
};
|
|
shellAliases = {
|
|
ls = "exa --long --icons";
|
|
};
|
|
interactiveShellInit = "nitch";
|
|
};
|
|
programs = {
|
|
zsh = {
|
|
enable = true;
|
|
autosuggestions = {
|
|
enable = true;
|
|
};
|
|
syntaxHighlighting = {
|
|
enable = true;
|
|
};
|
|
};
|
|
starship = {
|
|
enable = true;
|
|
settings = {
|
|
add_newline = false;
|
|
format = "$sudo$cmd_duration \n $directory$git_branch$character";
|
|
character = {
|
|
success_symbol = "[ ](#9ece6a bold)";
|
|
error_symbol = "[ ](#db4b4b bold)";
|
|
};
|
|
directory = {
|
|
read_only = " ";
|
|
};
|
|
git_branch = {
|
|
style = "bold red";
|
|
};
|
|
sudo = {
|
|
format = "[ ](#7aa2f7)";
|
|
disabled = false;
|
|
};
|
|
cmd_duration = {
|
|
min_time = 5000;
|
|
style = "bold #9ece6a";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|