247 lines
6.7 KiB
Nix
247 lines
6.7 KiB
Nix
{ lib, ... }: {
|
|
imports = [ ./scripts/default.nix ];
|
|
stylix.targets = {
|
|
avizo.enable = true;
|
|
firefox.enable = true;
|
|
foot.enable = true;
|
|
fzf.enable = true;
|
|
rofi.enable = true;
|
|
swaylock.enable = true;
|
|
xresources.enable = true;
|
|
};
|
|
xdg.configFile = {
|
|
"bat/themes/Catppuccin-mocha.tmTheme".source = ./Catppuccin-mocha.tmTheme;
|
|
"jupyter/jupyter_server_config.py".source =
|
|
./jupyter-config/jupyter_server_config.py;
|
|
"jupyter/jupyter_nbconvert_config.py".source =
|
|
./jupyter-config/jupyter_nbconvert_config.py;
|
|
"jupyter/lab/user-settings".source = ./jupyter-config/lab/user-settings;
|
|
};
|
|
programs = rec {
|
|
bash.enable = true;
|
|
fish.enable = true;
|
|
bat = {
|
|
enable = true;
|
|
config.theme = "Catppuccin-mocha";
|
|
};
|
|
bottom = {
|
|
enable = true;
|
|
settings.colors = {
|
|
table_header_color = "#f5e0dc";
|
|
all_cpu_color = "#f5e0dc";
|
|
avg_cpu_color = "#eba0ac";
|
|
cpu_core_colors =
|
|
[ "#f38ba8" "#fab387" "#f9e2af" "#a6e3a1" "#74c7ec" "#cba6f7" ];
|
|
ram_color = "#a6e3a1";
|
|
swap_color = "#fab387";
|
|
rx_color = "#a6e3a1";
|
|
tx_color = "#f38ba8";
|
|
widget_title_color = "#f2cdcd";
|
|
border_color = "#585b70";
|
|
highlighted_border_color = "#f5c2e7";
|
|
text_color = "#cdd6f4";
|
|
graph_color = "#a6adc8";
|
|
cursor_color = "#f5c2e7";
|
|
selected_text_color = "#11111b";
|
|
selected_bg_color = "#cba6f7";
|
|
high_battery_color = "#a6e3a1";
|
|
medium_battery_color = "#f9e2af";
|
|
low_battery_color = "#f38ba8";
|
|
gpu_core_colors =
|
|
[ "#74c7ec" "#cba6f7" "#f38ba8" "#fab387" "#f9e2af" "#a6e3a1" ];
|
|
arc_color = "#89dceb";
|
|
};
|
|
};
|
|
eza = {
|
|
enable = true;
|
|
git = true;
|
|
icons = true;
|
|
enableAliases = true;
|
|
extraOptions = [ "--octal-permissions" ];
|
|
};
|
|
readline = {
|
|
enable = true;
|
|
includeSystemConfig = true;
|
|
extraConfig = ''
|
|
set completion-ignore-case On
|
|
'';
|
|
};
|
|
direnv = {
|
|
enable = true;
|
|
nix-direnv.enable = true;
|
|
};
|
|
fzf = {
|
|
enable = true;
|
|
enableFishIntegration = true;
|
|
};
|
|
git = {
|
|
enable = true;
|
|
userName = "Evie Litherland-Smith";
|
|
userEmail = lib.mkDefault "evie@xenia.me.uk";
|
|
delta = {
|
|
enable = true;
|
|
options = {
|
|
line-numbers = true;
|
|
hyprlinks = true;
|
|
navigate = true;
|
|
side-by-side = true;
|
|
syntax-theme = bat.config.theme;
|
|
};
|
|
};
|
|
extraConfig = {
|
|
github.user = "elitherl";
|
|
pull.rebase = false;
|
|
init.defaultBranch = "main";
|
|
merge.conflictstyle = "diff3";
|
|
diff.colorMoved = "default";
|
|
};
|
|
};
|
|
ssh = {
|
|
enable = true;
|
|
forwardAgent = true;
|
|
addKeysToAgent = "yes";
|
|
compression = true;
|
|
serverAliveInterval = 15;
|
|
serverAliveCountMax = 3;
|
|
controlMaster = "auto";
|
|
controlPersist = "10s";
|
|
extraConfig = ''
|
|
SetEnv TERM=xterm-256color
|
|
'';
|
|
matchBlocks = {
|
|
"git*".user = "git";
|
|
"legion" = {
|
|
user = "xenia";
|
|
hostname = "192.168.1.230";
|
|
};
|
|
"ionos" = {
|
|
user = "root";
|
|
hostname = "77.68.67.133";
|
|
};
|
|
"freia" = {
|
|
user = "elitherl";
|
|
hostname = "freia020.hpc.l";
|
|
};
|
|
"heimdall" = {
|
|
user = "elitherl";
|
|
hostname = "heimdall003.jet.uk";
|
|
};
|
|
};
|
|
};
|
|
starship = {
|
|
enable = true;
|
|
enableFishIntegration = true;
|
|
enableTransience = true;
|
|
settings = {
|
|
c = { symbol = " "; };
|
|
command_timeout = 1000;
|
|
container = { symbol = " "; };
|
|
add_newline = false;
|
|
character = {
|
|
success_symbol = "[!](bold green)";
|
|
error_symbol = "[?](bold red)";
|
|
};
|
|
directory = {
|
|
truncation_length = 2;
|
|
fish_style_pwd_dir_length = 1;
|
|
read_only = " ";
|
|
truncate_to_repo = false;
|
|
};
|
|
line_break.disabled = false;
|
|
git_branch = {
|
|
symbol = " ";
|
|
only_attached = true;
|
|
ignore_branches = [ "master" "main" ];
|
|
};
|
|
git_commit = {
|
|
format = "[ $hash | $tag]($style) ";
|
|
tag_symbol = " ";
|
|
tag_disabled = false;
|
|
};
|
|
git_metrics.disabled = false;
|
|
git_status = {
|
|
stashed = " ";
|
|
ahead = " ";
|
|
behind = " ";
|
|
up_to_date = "";
|
|
diverged = " ";
|
|
conflicted = " ";
|
|
deleted = " ";
|
|
renamed = " ";
|
|
modified = " ";
|
|
staged = " ";
|
|
untracked = " ";
|
|
typechanged = " ";
|
|
};
|
|
golang = { symbol = " "; };
|
|
guix_shell = { symbol = " "; };
|
|
haskell = { symbol = " "; };
|
|
hostname = {
|
|
ssh_only = true;
|
|
ssh_symbol = " ";
|
|
};
|
|
java = { symbol = " "; };
|
|
localip = { disabled = false; };
|
|
lua = { symbol = " "; };
|
|
memory_usage = {
|
|
disabled = false;
|
|
symbol = " ";
|
|
};
|
|
nix_shell.symbol = " ";
|
|
os = {
|
|
disabled = false;
|
|
format = "on [$symbol]($style) ";
|
|
style = "bold blue";
|
|
symbols = {
|
|
Alpine = " ";
|
|
Android = " ";
|
|
Arch = " ";
|
|
CentOS = " ";
|
|
Debian = " ";
|
|
EndeavourOS = " ";
|
|
Fedora = " ";
|
|
FreeBSD = " ";
|
|
Gentoo = " ";
|
|
Illumos = " ";
|
|
Linux = " ";
|
|
Macos = " ";
|
|
Manjaro = " ";
|
|
Mint = " ";
|
|
NixOS = " ";
|
|
OpenBSD = " ";
|
|
openSUSE = " ";
|
|
Pop = " ";
|
|
Raspbian = " ";
|
|
Redhat = " ";
|
|
RedHatEnterprise = " ";
|
|
Solus = " ";
|
|
SUSE = " ";
|
|
Ubuntu = " ";
|
|
Unknown = " ";
|
|
Windows = " ";
|
|
};
|
|
};
|
|
package = { symbol = " "; };
|
|
python = {
|
|
symbol = " ";
|
|
python_binary = "python3";
|
|
};
|
|
rust = { symbol = " "; };
|
|
shell = {
|
|
disabled = false;
|
|
format = "using [$indicator ]($style)";
|
|
bash_indicator = " ";
|
|
fish_indicator = " ";
|
|
powershell_indicator = " ";
|
|
unknown_indicator = " ";
|
|
};
|
|
status = { };
|
|
sudo = {
|
|
disabled = false;
|
|
symbol = " ";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|