diff --git a/home/profiles/tiling/noctalia.nix b/home/profiles/tiling/noctalia.nix index e1578aa1..f5e4f009 100644 --- a/home/profiles/tiling/noctalia.nix +++ b/home/profiles/tiling/noctalia.nix @@ -41,6 +41,16 @@ in { } ]; center = [ + { + id = "MediaMini"; + showAlbumArt = true; + showVisualizer = false; + scrollingMode = "always"; + autoHide = true; + # check if this works, + # if not, rewrite their system for it o.o + widgetWidth = 300; + } { id = "Clock"; formatHorizontal = "yyyy-MM-dd HH:mm t"; diff --git a/nixvim/plugins/lisps.nix b/nixvim/plugins/lisps.nix new file mode 100644 index 00000000..fd850fbb --- /dev/null +++ b/nixvim/plugins/lisps.nix @@ -0,0 +1,43 @@ +{ std, lib, pkgs, ... }: let + inherit (lib.attrsets) genAttrs; + inherit (std) set; +in { + extraPlugins = with pkgs.vimPlugins; [ + nvim-paredit + ]; + extraConfigLua = '' + require("nvim-paredit").setup() + ''; + lsp.servers = let + baseServer = { + enable = true; + activate = true; + }; + disablePackage = { + package = null; + }; + serversToGen = [ + "fennel-ls" + "clojure_lsp" + ]; + disablePackageServers = [ + "clojure_lsp" + ]; + in set.merge [ + (genAttrs serversToGen (_: baseServer)) + (genAttrs disablePackageServers (_: disablePackage)) + ]; + plugins = let + pluginsToGen = [ + "conjure" + "autoclose" + ]; + basePlugin = { + enable = true; + autoLoad = true; + }; + in + set.merge [ + (genAttrs pluginsToGen (_: basePlugin)) + ]; +}