From 09d58f843bd77c9ca63a76e1c2178098dbd2a508 Mon Sep 17 00:00:00 2001 From: Henrik Bakken Date: Thu, 31 Oct 2024 11:03:59 +0100 Subject: [PATCH] updates --- HOME/.gitconfig | 2 ++ nfs_setup.sh | 2 +- nvim/init.lua | 21 +++++++++++++++------ 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/HOME/.gitconfig b/HOME/.gitconfig index 9578cea..ad84647 100644 --- a/HOME/.gitconfig +++ b/HOME/.gitconfig @@ -63,3 +63,5 @@ old = red bold new = green bold whitespace = red reverse +[init] + defaultBranch = main diff --git a/nfs_setup.sh b/nfs_setup.sh index a07175e..f6b2a8f 100644 --- a/nfs_setup.sh +++ b/nfs_setup.sh @@ -1,6 +1,6 @@ #!/bin/bash LOC=$1 -echo "/srv/nfs/state *.hjarl.com(rw,async,no_subtree_check,no_root_squash) 10.0.0.0/16(rw,async,no_subtree_check,no_root_squash)" | sudo bash -c "cat >> /etc/exports" +echo "/srv/nfs/state 10.0.0.0/16(rw,async,no_subtree_check,no_root_squash)" | sudo bash -c "cat >> /etc/exports" sudo hostnamectl set-hostname ${LOC} sudo apt install nfs-kernel-server sudo systemctl enable --now nfs-kernel-server diff --git a/nvim/init.lua b/nvim/init.lua index 4c296e6..3324032 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -269,9 +269,7 @@ require("lazy").setup({ "buffers", symbols = { alternate_file = "" }, buffers_color = { - -- Same values as the general color option can be used here. - active = { bg = "goldenrod" }, -- Color for active buffer. - -- inactive = { bg = "#009688" }, -- Color for inactive buffer. + active = { bg = "goldenrod" }, }, }, }, @@ -279,7 +277,15 @@ require("lazy").setup({ lualine_c = {}, lualine_x = {}, lualine_y = {}, - lualine_z = { "tabs" }, + lualine_z = { + { + "tabs", + mode = 2, + tabs_color = { + active = { bg = "goldenrod" }, + }, + }, + }, }, }) end, @@ -763,8 +769,11 @@ require("lazy").setup({ }, }, }, - yaml = { - schemas = { kubernetes = "globPattern" }, + yamlls = { + yaml = { + schemas = { kubernetes = "/home/hjalmarlucius/src/hjarl/system/manifests/*.yaml" }, + -- schemaStore = { enable = false, url = "" }, + }, }, }