mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
flakes
This commit is contained in:
commit
beaf5202ca
37 changed files with 1802 additions and 0 deletions
34
home-manager/alacritty.nix
Normal file
34
home-manager/alacritty.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
font.size = 9;
|
||||
colors = {
|
||||
primary = {
|
||||
background = "0x000000";
|
||||
foreground = "0xa9b1d6";
|
||||
};
|
||||
normal = {
|
||||
black = "0x32344a";
|
||||
red = "0xf7768e";
|
||||
green = "0x9ece6a";
|
||||
yellow = "0xe0af68";
|
||||
blue = "0x7aa2f7";
|
||||
magenta = "0xad8ee6";
|
||||
cyan = "0x449dab";
|
||||
white = "0x787c99";
|
||||
};
|
||||
bright = {
|
||||
black = "0x444b6a";
|
||||
red = "0xff7a93";
|
||||
green = "0xb9f27c";
|
||||
yellow = "0xff9e64";
|
||||
blue = "0x7da6ff";
|
||||
magenta = "0xbb9af7";
|
||||
cyan = "0x0db9d7";
|
||||
white = "0xacb0d0";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
29
home-manager/bspwm.nix
Executable file
29
home-manager/bspwm.nix
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
{config, pkgs, lib, ...}:
|
||||
{
|
||||
xsession.windowManager.bspwm = {
|
||||
enable = true;
|
||||
startupPrograms = [
|
||||
"polybar left"
|
||||
"polybar middle"
|
||||
"polybar right"
|
||||
"xfce4-power-manager"
|
||||
"xsetroot -cursor_name left_ptr"
|
||||
"xsetroot -solid \"#000000\""
|
||||
"flashfocus"
|
||||
];
|
||||
settings = {
|
||||
border_width = 0;
|
||||
window_gap = 20;
|
||||
border_radius = 15;
|
||||
normal_border_color = "\#c0caf5";
|
||||
active_border_color = "\#c0caf5";
|
||||
focused_border_color = "\#c0caf5";
|
||||
spilt_ratio = 0.52;
|
||||
borderless_monocle = true;
|
||||
gapless_monocle = true;
|
||||
};
|
||||
monitors = {
|
||||
eDP-1 = [ "I" "II" "III" "IV" "V" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
82
home-manager/dunst.nix
Executable file
82
home-manager/dunst.nix
Executable file
|
|
@ -0,0 +1,82 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
services.dunst = {
|
||||
enable = true;
|
||||
iconTheme = {
|
||||
name = "Papirus";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
size = "128X128";
|
||||
};
|
||||
settings = {
|
||||
global = {
|
||||
monitor = 0;
|
||||
follow = "none";
|
||||
width = 400;
|
||||
height = 500;
|
||||
orgin = "bottom-right";
|
||||
offset = "20x80";
|
||||
scale = 0;
|
||||
notification_limit = 0;
|
||||
progress_bar = true;
|
||||
progress_bar_height = 10;
|
||||
progress_bar_frame_width = 1;
|
||||
progress_bar_max_width = 300;
|
||||
indicate_hidden = "yes";
|
||||
transparency = 0;
|
||||
separator_height =2;
|
||||
padding = 8;
|
||||
horizontal_padding = 8;
|
||||
text_icon_padding = 0;
|
||||
frame_width = 3;
|
||||
frame_color = "#7aa2f7";
|
||||
gap_size = 0;
|
||||
separator_color = "frame";
|
||||
sort = "yes";
|
||||
font = "Sofia Pro 16";
|
||||
line_height = 0;
|
||||
markup = "full";
|
||||
format = ''<b>%s</b>\n%b'';
|
||||
alignment = "left";
|
||||
vertical_alignment = "center";
|
||||
show_age_threshold = 60;
|
||||
ellipsize = "middle";
|
||||
ignore_newline = "no";
|
||||
stack_duplicates = true;
|
||||
hide_duplicate_count = false;
|
||||
show_indicators = "yes";
|
||||
icon_position = "left";
|
||||
min_icon_size = 128;
|
||||
max_icon_size = 300;
|
||||
always_run_scripts = true;
|
||||
sticky_history = "yes";
|
||||
history_length = 20;
|
||||
always_run_script = true;
|
||||
title = "Dunst";
|
||||
class = "Dunst";
|
||||
corner_radius = 15;
|
||||
ignore_dbusclose = false;
|
||||
mouse_left_click = "close_current";
|
||||
mouse_middle_click = "context";
|
||||
mouse_right_click = "do_action";
|
||||
};
|
||||
urgency_low = {
|
||||
background = "#000000";
|
||||
foreground = "#7aa2f7";
|
||||
frame_color = "#7aa2f7";
|
||||
timeout = 10;
|
||||
};
|
||||
urgency_normal = {
|
||||
background = "#000000";
|
||||
foreground = "#7aa2f7";
|
||||
frame_color = "#7aa2f7";
|
||||
timeout = 10;
|
||||
};
|
||||
urgency_critical = {
|
||||
background = "#000000";
|
||||
foreground = "#ad032e";
|
||||
frame_color = "#ad032e";
|
||||
timeout = 10;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
19
home-manager/firefox.nix
Executable file
19
home-manager/firefox.nix
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
{pkgs, ...}:{
|
||||
programs = {
|
||||
firefox = {
|
||||
enable = true;
|
||||
profiles = {
|
||||
gerg = {
|
||||
name = "gerg";
|
||||
extraConfig = ( builtins.readFile
|
||||
(pkgs.fetchFromGitHub {
|
||||
owner = "ISnortPennies";
|
||||
repo = "user.js";
|
||||
rev = "master";
|
||||
sha256 = "BMEUZDelkcHDF8Yt9aa+3pGkGkodL7VEQ1hQBU6Fuug=";
|
||||
} + "/user.js") );
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
61
home-manager/picom.nix
Normal file
61
home-manager/picom.nix
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
{
|
||||
services.picom = {
|
||||
enable = true;
|
||||
activeOpacity = "1.0";
|
||||
backend = "glx";
|
||||
blur = false;
|
||||
blurExclude = [
|
||||
"window_type = 'dock'"
|
||||
"window_type = 'menu'"
|
||||
"class_g = 'firefox'"
|
||||
];
|
||||
experimentalBackends = false;
|
||||
fade = true;
|
||||
fadeDelta = 4;
|
||||
fadeSteps = [ "0.03" "0.03" ];
|
||||
inactiveOpacity = "1.0";
|
||||
menuOpacity = "1.0";
|
||||
shadow = true;
|
||||
noDockShadow = true;
|
||||
shadowExclude = [ "window_type = 'menu'" "class_g = 'firefox'" ];
|
||||
shadowOffsets = [ 25 25 ];
|
||||
shadowOpacity = "0.5";
|
||||
vSync = false;
|
||||
extraOptions = ''
|
||||
animations: true;
|
||||
animation-stiffness = 200
|
||||
animation-window-mass = 0.4
|
||||
animation-dampening = 20
|
||||
animation-clamping = false
|
||||
animation-for-open-window = "zoom";
|
||||
animation-for-unmap-window = "zoom";
|
||||
animation-for-workspace-switch-in = "slide-down";
|
||||
animation-for-workspace-switch-out = "zoom";
|
||||
animation-for-transient-window = "slide-up";
|
||||
|
||||
shadow-radius = 25;
|
||||
frame-opacity = 1.0;
|
||||
inactive-opacity-override = false;
|
||||
corner-radius = 15;
|
||||
rounded-corners-exclude = [
|
||||
"window_type = 'desktop'",
|
||||
"window_type = 'tooltip'",
|
||||
];
|
||||
mark-wmwin-focused = true;
|
||||
mark-ovredir-focused = true;
|
||||
detect-rounded-corners = true;
|
||||
detect-client-opacity = true;
|
||||
detect-transient = true;
|
||||
use-damage = true;
|
||||
log-level = "warn";
|
||||
wintypes:
|
||||
{
|
||||
tooltip = { fade = true; shadow = false; opacity = 1.0; focus = true; full-shadow = false; };
|
||||
dock = { shadow = true; }
|
||||
dnd = { shadow = true; }
|
||||
popup_menu = { opacity = 1.0; }
|
||||
dropdown_menu = { opacity = 1.0; }
|
||||
};
|
||||
'';
|
||||
};
|
||||
}
|
||||
314
home-manager/polybar.nix
Executable file
314
home-manager/polybar.nix
Executable file
|
|
@ -0,0 +1,314 @@
|
|||
|
||||
{pkgs , ... }:
|
||||
{
|
||||
services.polybar = {
|
||||
enable = true;
|
||||
package = pkgs.polybarFull;
|
||||
script = "polybar left & \n polybar middle & \n polybar right &";
|
||||
settings = {
|
||||
"settings" = {
|
||||
screenchange.reload = true;
|
||||
pseudo.transparency =false;
|
||||
};
|
||||
"colors" = {
|
||||
background = "#000000";
|
||||
foreground = "#495eb8";
|
||||
blue = "#7aa2f7";
|
||||
alert = "#ad032e";
|
||||
deepblue = "#03339c";
|
||||
};
|
||||
"bar/left" = {
|
||||
width = "180px";
|
||||
offset.x = 20;
|
||||
modules.center = "xworkspaces";
|
||||
height = "20pt";
|
||||
radius = 6;
|
||||
fixed.center = false;
|
||||
dpi = 96;
|
||||
offset.y = 20;
|
||||
font = [ "Overpass Nerd Font:style=Regular:size=14;4" "Material Design Icons:style=Regular:size=16;4" ];
|
||||
background = "\${colors.background}";
|
||||
foreground = "\${colors.foreground}";
|
||||
line.size = "3pt";
|
||||
border = {
|
||||
size = "7pt";
|
||||
color = "\${colors.background}";
|
||||
radius = 15;
|
||||
};
|
||||
padding = {
|
||||
left = 0;
|
||||
right = 0;
|
||||
};
|
||||
cursor = {
|
||||
click = "pointer";
|
||||
scroll = "ns-resize";
|
||||
};
|
||||
enable.ipc = true;
|
||||
wm.restack = "bspwm";
|
||||
};
|
||||
"bar/middle" = {
|
||||
width = "130px";
|
||||
offset.x = 895;
|
||||
modules.center = "date";
|
||||
height = "20pt";
|
||||
radius = 6;
|
||||
fixed.center = false;
|
||||
dpi = 96;
|
||||
offset.y = 20;
|
||||
font = [ "Overpass Nerd Font:style=Regular:size=14;4" "Material Design Icons:style=Regular:size=16;4" ];
|
||||
background = "\${colors.background}";
|
||||
foreground = "\${colors.foreground}";
|
||||
line.size = "3pt";
|
||||
border = {
|
||||
size = "7pt";
|
||||
color = "\${colors.background}";
|
||||
radius = 15;
|
||||
};
|
||||
padding = {
|
||||
left = 0;
|
||||
right = 0;
|
||||
};
|
||||
cursor = {
|
||||
click = "pointer";
|
||||
scroll = "ns-resize";
|
||||
};
|
||||
enable.ipc = true;
|
||||
wm.restack = "bspwm";
|
||||
};
|
||||
"bar/right" = {
|
||||
width = "180px";
|
||||
offset.x = 1720;
|
||||
modules.center = "tray pulseaudio network battery powermenu";
|
||||
height = "20pt";
|
||||
radius = 6;
|
||||
fixed.center = false;
|
||||
dpi = 96;
|
||||
offset.y = 20;
|
||||
font = [ "Overpass Nerd Font:style=Regular:size=14;4" "Material Design Icons:style=Regular:size=16;4" ];
|
||||
background = "\${colors.background}";
|
||||
foreground = "\${colors.foreground}";
|
||||
line.size = "3pt";
|
||||
border = {
|
||||
size = "7pt";
|
||||
color = "\${colors.background}";
|
||||
radius = 15;
|
||||
};
|
||||
padding = {
|
||||
left = 0;
|
||||
right = 0;
|
||||
};
|
||||
cursor = {
|
||||
click = "pointer";
|
||||
scroll = "ns-resize";
|
||||
};
|
||||
enable.ipc = true;
|
||||
wm.restack = "bspwm";
|
||||
};
|
||||
"bar/tray" = {
|
||||
width = "180px";
|
||||
offset.x = 1540;
|
||||
module.margin.left = 0;
|
||||
module.margin.right = 0;
|
||||
modules.right = "sep";
|
||||
tray = {
|
||||
position = "right";
|
||||
detached = false;
|
||||
offset.x = 0;
|
||||
offset.y = 0;
|
||||
padding = 1;
|
||||
maxsize = 180;
|
||||
scale = "1.0";
|
||||
background = "\${colors.background}";
|
||||
transparent = false;
|
||||
};
|
||||
height = "20pt";
|
||||
radius = 6;
|
||||
fixed.center = false;
|
||||
dpi = 96;
|
||||
offset.y = 20;
|
||||
font = [ "Overpass Nerd Font:style=Regular:size=14;4" "Material Design Icons:style=Regular:size=16;4" ];
|
||||
background = "\${colors.background}";
|
||||
foreground = "\${colors.foreground}";
|
||||
line.size = "3pt";
|
||||
border = {
|
||||
size = "7pt";
|
||||
color = "\${colors.background}";
|
||||
radius = 15;
|
||||
};
|
||||
padding = {
|
||||
left = 0;
|
||||
right = 0;
|
||||
};
|
||||
cursor = {
|
||||
click = "pointer";
|
||||
scroll = "ns-resize";
|
||||
};
|
||||
enable.ipc = true;
|
||||
wm.restack = "bspwm";
|
||||
};
|
||||
"module/sep" = {
|
||||
type = "custom/text";
|
||||
content = {
|
||||
text = " ";
|
||||
background = "\${colors.background}";
|
||||
foreground = "\${colors.foreground}";
|
||||
};
|
||||
};
|
||||
"module/xworkspaces" = {
|
||||
type = "internal/xworkspaces";
|
||||
label = {
|
||||
active = {
|
||||
text = "";
|
||||
foreground = "\${colors.blue}";
|
||||
background = "\${colors.background}";
|
||||
padding = 2;
|
||||
};
|
||||
occupied = {
|
||||
text = "";
|
||||
foreground = "\${colors.deepblue}";
|
||||
background = "\${colors.background}";
|
||||
padding = 2;
|
||||
};
|
||||
urgent = {
|
||||
text = "";
|
||||
foreground = "\${colors.alert}";
|
||||
background = "\${colors.background}";
|
||||
padding = 2;
|
||||
};
|
||||
empty = {
|
||||
text = "";
|
||||
foreground = "\${colors.background}";
|
||||
background = "\${colors.background}";
|
||||
padding = 2;
|
||||
};
|
||||
};
|
||||
};
|
||||
"module/date" = {
|
||||
type = "internal/date";
|
||||
interval = 1;
|
||||
date = {
|
||||
text = "\"%I:%M %p\"";
|
||||
alt = "\"%a, %B %d\"";
|
||||
};
|
||||
label = {
|
||||
text = "\"%date%%{A}\"";
|
||||
foreground = "\${colors.foreground}";
|
||||
background = "\${colors.background}";
|
||||
};
|
||||
};
|
||||
"module/tray" = {
|
||||
type = "custom/text";
|
||||
content = " ";
|
||||
click.left = "\$HOME/.config/polybar/scripts/tray";
|
||||
label = {
|
||||
padding = 3;
|
||||
background = "\${colors.background}";
|
||||
};
|
||||
};
|
||||
"module/network" = {
|
||||
type = "internal/network";
|
||||
interface.type = "wireless";
|
||||
interval = "3.0";
|
||||
udspeed.minwidth = 5;
|
||||
accumulate.stats = true;
|
||||
unknown.as.up = true;
|
||||
format = {
|
||||
connected = "\"%{A1:networkmanager_dmenu:}<ramp-signal>%{A}\"";
|
||||
disconnected = "\"%{A1:networkmanager_dmenu:}<label-disconnected>%{A}\"";
|
||||
};
|
||||
label.disconnected = {
|
||||
text = "";
|
||||
foreground = "\${colors.alert}";
|
||||
background = "\${colors.background}";
|
||||
padding = 1;
|
||||
};
|
||||
ramp.signal = {
|
||||
text = ["" "" "" "" ""];
|
||||
foreground = "\${colors.foreground}";
|
||||
background = "\${colors.background}";
|
||||
padding = 1;
|
||||
};
|
||||
};
|
||||
"module/powermenu" = {
|
||||
type = "custom/text";
|
||||
content = {
|
||||
text = "";
|
||||
foreground = "\${colors.alert}";
|
||||
background = "\${colors.background}";
|
||||
padding = 3;
|
||||
};
|
||||
click.left = "\$HOME/.config/rofi/powermenu/powermenu.sh";
|
||||
};
|
||||
"module/battery" = {
|
||||
type = "internal/battery";
|
||||
full.at = 100;
|
||||
low.at = 20;
|
||||
battery = "BAT0";
|
||||
adapter = "ACAD";
|
||||
poll.interval = 5;
|
||||
format = {
|
||||
charging = "\"%{A1:xfce4-power-menu -c:}<animation-charging>%{A}\"";
|
||||
discharging = "\"%{A1:xfce4-power-menu -c:}<ramp-capacity>%{A}\"";
|
||||
low = "\"%{A1:xfce4-power-menu -c:}<animation-low>%{A}\"";
|
||||
full = "\"%{A1:xfce4-power-menu -c:}<ramp-capacity>%{A}\"";
|
||||
};
|
||||
label = {
|
||||
charging = {
|
||||
text = "\"%percentage%%\"";
|
||||
padding = 1;
|
||||
};
|
||||
discharging = {
|
||||
text = "\"%percentage%%\"";
|
||||
padding = 1;
|
||||
};
|
||||
low = {
|
||||
text = "\"%percentage%%\"";
|
||||
padding = 1;
|
||||
};
|
||||
};
|
||||
animation = {
|
||||
charging = {
|
||||
text = [ " " " " " " " " " " ];
|
||||
foreground = "\${colors.deepblue}";
|
||||
background = "\${colors.background}";
|
||||
framerate = 750;
|
||||
};
|
||||
discharging.framerate = 500;
|
||||
low = {
|
||||
text = [ " " " " ];
|
||||
framerate = 200;
|
||||
foreground = "\${colors.alert}";
|
||||
background = "\${colors.background}";
|
||||
};
|
||||
};
|
||||
ramp.capacity = {
|
||||
text = [ " " " " " " " " " " ];
|
||||
background = "\${colors.background}";
|
||||
};
|
||||
};
|
||||
"module/pulseaudio" = {
|
||||
type = "internal/pulseaudio";
|
||||
use.ui.max = false;
|
||||
interval = 5;
|
||||
format = {
|
||||
volume = "\"%{A1:pavucontrol:}<ramp-volume>%{A}\"";
|
||||
muted = "\"%{A1:pavucontrol:}<label-muted>%{A}\"";
|
||||
};
|
||||
label = {
|
||||
muted = {
|
||||
text = "ﱝ";
|
||||
foreground = "\${colors.alert}";
|
||||
background = "\${colors.background}";
|
||||
padding = 1;
|
||||
};
|
||||
};
|
||||
ramp.volume = {
|
||||
text = [ "奄" "奔" "墳" ];
|
||||
background = "\${colors.background}";
|
||||
padding = 1;
|
||||
click.right = "amixer sset Master toggle";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
6
home-manager/rofi.nix
Executable file
6
home-manager/rofi.nix
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
configPath = "./.rofi";
|
||||
};
|
||||
}
|
||||
45
home-manager/sxhkd.nix
Executable file
45
home-manager/sxhkd.nix
Executable file
|
|
@ -0,0 +1,45 @@
|
|||
{
|
||||
services.sxhkd = {
|
||||
enable = true;
|
||||
keybindings = {
|
||||
"super + Return" = "alacritty";
|
||||
"super + @space" = "rofi -show drun";
|
||||
"super + Escape" = "pkill -USR1 -x sxhkd";
|
||||
"super + alt + {q,r}" = "bspc {quit,wm -r}";
|
||||
"alt + {F4, shift + F4}" = "bspc node -{c,k}";
|
||||
"super + m" = "bspc desktop -l next";
|
||||
"super + y" = "bspc node newest.marked.local -n newest.!automatic.local";
|
||||
"super + g" = "bspc node -s biggest.window";
|
||||
"super + {t,shift + t,s,f}" = "bspc node -t {tiled,pseudo_tiled,floating,fullscreen}";
|
||||
"super + ctrl + {m,x,y,z}" = "bspc node -g {marked,locked,sticky,private}";
|
||||
"super + {_,shift + }{h,j,k,l}" = "bspc node -{f,s} {west,south,north,east}";
|
||||
"super + {p,b,comma,period}" = "bspc node -f @{parent,brother,first,second}";
|
||||
"super + {_,shift + }c" = "bspc node -f {next,prev}.local.!hidden.window";
|
||||
"super + bracket{left,right}" = "bspc desktop -f {prev,next}.local";
|
||||
"super + {grave,Tab}" = "bspc {node,desktop} -f last";
|
||||
"super + {o,i}" = "bspc wm -h off; bspc node {older,newer} -f; bspc wm -h on";
|
||||
"super + {_,shift + }{1-9,0}" = "bspc {desktop -f,node -d} '^{1-9,10}'";
|
||||
"super + ctrl + {h,j,k,l}" = "bspc node -p {west,south,north,east}";
|
||||
"super + ctrl + {1-9}" = "bspc node -o 0.{1-9}";
|
||||
"super + ctrl + space" ="bspc node -p cancel";
|
||||
"super + ctrl + shift + space" = "bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel";
|
||||
"super + alt + {h,j,k,l}" = "bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}";
|
||||
"super + alt + shift + {h,j,k,l}" ="bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}";
|
||||
"super + {Left,Down,Up,Right}" = "bspc node -v {-20 0,0 20,0 -20,20 0}";
|
||||
"XF86AudioPlay" = "playerctl play";
|
||||
"XF86AudioPause" = "playerctl pause";
|
||||
"XF86AudioNext" = "playerctl next";
|
||||
"XF86AudioPrev" = "playerctl previous";
|
||||
"alt + Tab" = "bash ~/.config/rofi/window-switcher/window-switcher.sh";
|
||||
"ctrl + shift + Print" = "$HOME/.scripts/screenshot --full";
|
||||
"ctrl + Print" = "$HOME/.scripts/screenshot --area";
|
||||
"XF86AudioRaiseVolume" = "amixer sset Master 5%+";
|
||||
"XF86AudioLowerVolume" = "amixer sset Master 5%-";
|
||||
"XF86AudioMute" = "amixer sset Master toggle ";
|
||||
"XF86MonBrightnessUp" = "brightnessctl s 20+";
|
||||
"XF86MonBrightnessDown" = "brightnessctl s 20-";
|
||||
"Print" = "maim $HOME/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg";
|
||||
"super + Print" = "maim -s $HOME/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg";
|
||||
};
|
||||
};
|
||||
}
|
||||
18
home-manager/theme.nix
Normal file
18
home-manager/theme.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ pkgs, home-manager, ... }:
|
||||
{
|
||||
gtk = {
|
||||
enable = true;
|
||||
theme = {
|
||||
package = pkgs.flat-remix-gtk;
|
||||
name = "Flat-Remix-GTK-Blue-Darkest";
|
||||
};
|
||||
iconTheme = {
|
||||
package = pkgs.flat-remix-icon-theme;
|
||||
name = "Flat-Remix-Blue-Dark";
|
||||
};
|
||||
font = {
|
||||
name = "Overpass";
|
||||
size = 10;
|
||||
};
|
||||
};
|
||||
}
|
||||
32
home-manager/zsh.nix
Executable file
32
home-manager/zsh.nix
Executable file
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
programs = {
|
||||
zsh = {
|
||||
enable = true;
|
||||
enableAutosuggestions = true;
|
||||
enableSyntaxHighlighting = true;
|
||||
completionInit = "neofetch";
|
||||
};
|
||||
starship = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
settings = {
|
||||
add_newline = false;
|
||||
format="$sudo \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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue