diff --git a/flake.nix b/flake.nix index 05bce1b..055146b 100644 --- a/flake.nix +++ b/flake.nix @@ -346,6 +346,10 @@ mkdir -p "$XDG_RUNTIME_DIR" ln -sf /run/user/$(id -u)/wayland-0 "$XDG_RUNTIME_DIR/wayland-0" fi + if [ ! -S "$XDG_RUNTIME_DIR/wayland-1" ]; then + mkdir -p "$XDG_RUNTIME_DIR" + ln -sf /run/user/$(id -u)/wayland-1 "$XDG_RUNTIME_DIR/wayland-1" + fi fi '' # Clear proxy environment variables diff --git a/lua/plugins/editor_lua_line.lua b/lua/plugins/editor_lua_line.lua index ed93b6d..fe59d0e 100644 --- a/lua/plugins/editor_lua_line.lua +++ b/lua/plugins/editor_lua_line.lua @@ -54,13 +54,15 @@ local function smart_tab_name() "index%..*", "mod%..*", "Dockerfile", + "Dockerfile.*", + ".envrc", ".env", ".env%..*", - "router%..*", - "controller%..*", - "service%..*", - "utils%..*", - "util%..*", + "router%..*", + "controller%..*", + "service%..*", + "utils%..*", + "util%..*", "README%..*", "LICENSE", "Makefile", @@ -197,6 +199,9 @@ local function smart_tab_name() "cronhub%..*", "cronitor%..*", "healthchecks.io%..*", + "flake.*", + "configuration.nix", + "hardware-configuration.nix", } -- Check if the filename matches any pattern in the whitelist @@ -210,7 +215,6 @@ local function smart_tab_name() return filename end - return { "nvim-lualine/lualine.nvim", -- dependencies = { { "folke/noice.nvim", optional = true } },