From a5286a47a4126647e0de5ced3ce911c7a66b3cdb Mon Sep 17 00:00:00 2001 From: jz8132543 Date: Thu, 26 Sep 2024 18:20:30 +0800 Subject: [PATCH] fix: nvim --- home-manager/modules/tippy/nvim.nix | 9 +++++ .../isk/_steam/dst/Caves/worldgenoverride.lua | 8 ++--- .../_steam/dst/Master/worldgenoverride.lua | 4 +-- nixos/hosts/isk/_steam/dst/modoverrides.lua | 36 +++++++++---------- nixos/modules/base/nixpkgs.nix | 2 +- 5 files changed, 34 insertions(+), 25 deletions(-) diff --git a/home-manager/modules/tippy/nvim.nix b/home-manager/modules/tippy/nvim.nix index d54d36bb..361363c3 100644 --- a/home-manager/modules/tippy/nvim.nix +++ b/home-manager/modules/tippy/nvim.nix @@ -15,6 +15,15 @@ withPython3 = false; defaultEditor = true; coc.enable = false; + extraLuaPackages = + p: with p; [ + luarocks + magick + ]; + extraPackages = with pkgs; [ + clang + imagemagick + ]; }; home.sessionVariables = { diff --git a/nixos/hosts/isk/_steam/dst/Caves/worldgenoverride.lua b/nixos/hosts/isk/_steam/dst/Caves/worldgenoverride.lua index 0020699d..3c3d72e3 100644 --- a/nixos/hosts/isk/_steam/dst/Caves/worldgenoverride.lua +++ b/nixos/hosts/isk/_steam/dst/Caves/worldgenoverride.lua @@ -1,6 +1,6 @@ return { - override_enabled = true, - worldgen_preset = "DST_CAVE", - settings_preset = "DST_CAVE", - overrides = {}, + override_enabled = true, + worldgen_preset = "DST_CAVE", + settings_preset = "DST_CAVE", + overrides = {}, } diff --git a/nixos/hosts/isk/_steam/dst/Master/worldgenoverride.lua b/nixos/hosts/isk/_steam/dst/Master/worldgenoverride.lua index e4ef3b00..c9dcaa82 100644 --- a/nixos/hosts/isk/_steam/dst/Master/worldgenoverride.lua +++ b/nixos/hosts/isk/_steam/dst/Master/worldgenoverride.lua @@ -1,4 +1,4 @@ return { - override_enabled = true, - overrides = {}, + override_enabled = true, + overrides = {}, } diff --git a/nixos/hosts/isk/_steam/dst/modoverrides.lua b/nixos/hosts/isk/_steam/dst/modoverrides.lua index 718e1185..6ea98228 100644 --- a/nixos/hosts/isk/_steam/dst/modoverrides.lua +++ b/nixos/hosts/isk/_steam/dst/modoverrides.lua @@ -1,20 +1,20 @@ return { - --# Health Info - ["workshop-375859599"] = { enabled = true }, - --# Show Me - ["workshop-2287303119"] = { enabled = true }, - --# No Thermal Stone Durability - ["workshop-466732225"] = { enabled = true }, - --# Extra Equip Slots - ["workshop-375850593"] = { enabled = true }, - --# Display Attack Range - ["workshop-2078243581"] = { enabled = true }, - --# Increased Stack size - ["workshop-374550642"] = { enabled = true }, - --# Combined Status - ["workshop-376333686"] = { enabled = true }, - --# Global Positions - ["workshop-378160973"] = { enabled = true }, - --# Demon sword Muramasa - ["workshop-1842087172"] = { enabled = true }, + --# Health Info + ["workshop-375859599"] = { enabled = true }, + --# Show Me + ["workshop-2287303119"] = { enabled = true }, + --# No Thermal Stone Durability + ["workshop-466732225"] = { enabled = true }, + --# Extra Equip Slots + ["workshop-375850593"] = { enabled = true }, + --# Display Attack Range + ["workshop-2078243581"] = { enabled = true }, + --# Increased Stack size + ["workshop-374550642"] = { enabled = true }, + --# Combined Status + ["workshop-376333686"] = { enabled = true }, + --# Global Positions + ["workshop-378160973"] = { enabled = true }, + --# Demon sword Muramasa + ["workshop-1842087172"] = { enabled = true }, } diff --git a/nixos/modules/base/nixpkgs.nix b/nixos/modules/base/nixpkgs.nix index ed322b8e..a09671cf 100644 --- a/nixos/modules/base/nixpkgs.nix +++ b/nixos/modules/base/nixpkgs.nix @@ -8,7 +8,7 @@ let packages = [ inputs.sops-nix.overlays.default inputs.pastebin.overlays.default - # inputs.neovim-nightly-overlay.overlay + inputs.neovim-nightly-overlay.overlays.default # inputs.nixd.overlays.default # inputs.nvfetcher.overlays.default (