From 2501f0b8a493b7d6cc5699e182e0c3d5597e5775 Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Sat, 15 Mar 2025 12:33:09 -0300 Subject: [PATCH 1/2] fix(neovim)!: remove lazy.nvim dev options and change nvim-ufo url This was bad, it relies on a path only one of my machines has access to. Updated `nvim-ufo` to use my fork until my merge is accepted (or not). --- modules/neovim/lua/lazy_setup.lua | 7 ------- modules/neovim/lua/plugins/nvim-ufo.lua | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/modules/neovim/lua/lazy_setup.lua b/modules/neovim/lua/lazy_setup.lua index 4294456..2abb3b7 100644 --- a/modules/neovim/lua/lazy_setup.lua +++ b/modules/neovim/lua/lazy_setup.lua @@ -28,11 +28,4 @@ require("lazy").setup({ }, }, }, - dev = { - path = "/mnt/internal/repos", - patterns = { - "nvim-ufo", - "nix-store.nvim", - }, - }, } --[[@as LazyConfig]]) diff --git a/modules/neovim/lua/plugins/nvim-ufo.lua b/modules/neovim/lua/plugins/nvim-ufo.lua index a72804a..72fdaf8 100644 --- a/modules/neovim/lua/plugins/nvim-ufo.lua +++ b/modules/neovim/lua/plugins/nvim-ufo.lua @@ -1,6 +1,6 @@ ---@type LazySpec return { - "kevinhwang91/nvim-ufo", + "wizardlink/nvim-ufo", opts = { provider_selector = function(_, filetype, _) ---@type table From 3f4728de4040083f832496e9f766d4e7ff5c6ad0 Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Sat, 15 Mar 2025 12:33:55 -0300 Subject: [PATCH 2/2] feat(shared/nixos): add avahi service to enable ipp everywhere --- shared/nixos/system.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/shared/nixos/system.nix b/shared/nixos/system.nix index 6102d20..8f22fe5 100644 --- a/shared/nixos/system.nix +++ b/shared/nixos/system.nix @@ -56,6 +56,14 @@ # Enable CUPS to print documents. services.printing.enable = true; + # And the service that enables IPP Everywhere + services.avahi = { + enable = true; + nssmdns4 = true; + nssmdns6 = true; + openFirewall = true; + }; + # Enable the OpenSSH daemon. services.openssh = { enable = true;