mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
Compare commits
No commits in common. "840765fe8a182ebd22de70c397eac3c46ba586e6" and "85f67b9605213a10b747c19d504d6f801af197b0" have entirely different histories.
840765fe8a
...
85f67b9605
2 changed files with 53 additions and 0 deletions
|
|
@ -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";
|
||||
|
|
|
|||
43
nixvim/plugins/lisps.nix
Normal file
43
nixvim/plugins/lisps.nix
Normal file
|
|
@ -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))
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue