Replacing lualine with airline in nvim

This commit is contained in:
albert 2025-01-08 16:40:33 +01:00
parent 8da8030e24
commit 15e9433251
Signed by: albert
GPG key ID: 3895DD267CA11BA9
5 changed files with 14 additions and 6 deletions

View file

@ -289,9 +289,14 @@
]; ];
}; };
airline = {
enable = true;
};
# Airline / Powerline alternative # Airline / Powerline alternative
lualine = { lualine = {
enable = true; enable = false;
settings = { settings = {
componentSeparators = { componentSeparators = {
right = "«"; right = "«";
@ -312,6 +317,10 @@
action = "find_files"; action = "find_files";
options.desc = "Search files by name"; options.desc = "Search files by name";
}; };
"<leader>d" = {
action = "todo-comments";
options.desc = "TODO Comments";
};
"<leader>s" = { "<leader>s" = {
action = "live_grep"; action = "live_grep";
options.desc = "Search by live grep"; options.desc = "Search by live grep";

View file

@ -1,7 +1,7 @@
{ ... }: { { ... }: {
programs.plasma = { programs.plasma = {
configFile = { configFile = {
# TODO May need to fix this for the new laptop # TODO: May need to fix this for the new laptop
"kcminputrc"."Libinput/2362/628/PIXA3854:00 093A:0274 Touchpad" = { "kcminputrc"."Libinput/2362/628/PIXA3854:00 093A:0274 Touchpad" = {
"NaturalScroll" = true; "NaturalScroll" = true;
"TapDragLock" = true; "TapDragLock" = true;

View file

@ -2,7 +2,7 @@
services.cron = { services.cron = {
enable = true; enable = true;
systemCronJobs = [ systemCronJobs = [
# TODO Change the server when moving between hosts # NOTE: Change the server when moving between hosts
''0 0 * * * root mkdir -p /Storage/Data/Docker/sysctl.io/letsencrypt/; rsync -avr --delete root@warsaw-ovh-01:/Storage/Data/Docker/sysctl.io/letsencrypt/ /Storage/Data/Docker/sysctl.io/letsencrypt/'' ''0 0 * * * root mkdir -p /Storage/Data/Docker/sysctl.io/letsencrypt/; rsync -avr --delete root@warsaw-ovh-01:/Storage/Data/Docker/sysctl.io/letsencrypt/ /Storage/Data/Docker/sysctl.io/letsencrypt/''
# ''0 0 * * * root mkdir -p /Storage/Data/Docker/sysctl.io/letsencrypt/; rsync -avr --delete root@framework-server:/Storage/Data/Docker/sysctl.io/letsencrypt/ /Storage/Data/Docker/sysctl.io/letsencrypt/'' # ''0 0 * * * root mkdir -p /Storage/Data/Docker/sysctl.io/letsencrypt/; rsync -avr --delete root@framework-server:/Storage/Data/Docker/sysctl.io/letsencrypt/ /Storage/Data/Docker/sysctl.io/letsencrypt/''
]; ];

View file

@ -22,8 +22,7 @@
# Because of the split DNS, hosts forget which IP # Because of the split DNS, hosts forget which IP
# (external or internal) is promtail/loki. # (external or internal) is promtail/loki.
# Setting them manually here helps. # Setting them manually here helps.
# NOTE: Update these when I move the server to warsaw-ovh-01
# NOTE: Update these when I move the server to warsaw-ovh-01
networking.extraHosts = '' networking.extraHosts = ''
100.64.0.5 influx.sysctl.io 100.64.0.5 influx.sysctl.io
100.64.0.5 loki.sysctl.io 100.64.0.5 loki.sysctl.io

View file

@ -14,7 +14,7 @@
]; ];
services.ollama.acceleration = "cuda"; services.ollama.acceleration = "cuda";
#### TEMPORARY TODO #### # TODO: Fix this
environment.variables = { environment.variables = {
MOZ_ENABLE_WAYLAND = 1; MOZ_ENABLE_WAYLAND = 1;
NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";