1
Fork 0

Compare commits

..

No commits in common. "242df62d39796e753053dc7040d6762428f8216e" and "b2501ef9135eecb27a9e942c78040ed78d0c9c8e" have entirely different histories.

5 changed files with 17 additions and 15 deletions

View file

@ -93,3 +93,5 @@ local expanded = scrap.expand_many(abolishAbbreviations)
A.manyLocalAbbr(abbreviations) A.manyLocalAbbr(abbreviations)
A.manyLocalAbbr(expanded) A.manyLocalAbbr(expanded)
vim.opt_local.list = false -- The lsp usese tabs for formatting

View file

@ -45,7 +45,6 @@
"plenary": { "branch": "master", "commit": "4f71c0c4a196ceb656c824a70792f3df3ce6bb6d" }, "plenary": { "branch": "master", "commit": "4f71c0c4a196ceb656c824a70792f3df3ce6bb6d" },
"purescript": { "branch": "main", "commit": "82348352e6568fcc0385bd7c99a8ead3a479feea" }, "purescript": { "branch": "main", "commit": "82348352e6568fcc0385bd7c99a8ead3a479feea" },
"rust-tools": { "branch": "master", "commit": "676187908a1ce35ffcd727c654ed68d851299d3e" }, "rust-tools": { "branch": "master", "commit": "676187908a1ce35ffcd727c654ed68d851299d3e" },
"rzip": { "branch": "master", "commit": "f65400fed27b27c7cff7ef8d428c4e5ff749bf28" },
"scrap": { "branch": "main", "commit": "cc8453ed613932c744c3d1ec42f379b78bd8b92c" }, "scrap": { "branch": "main", "commit": "cc8453ed613932c744c3d1ec42f379b78bd8b92c" },
"ssr": { "branch": "main", "commit": "bb323ba621ac647b4ac5638b47666e3ef3c279e1" }, "ssr": { "branch": "main", "commit": "bb323ba621ac647b4ac5638b47666e3ef3c279e1" },
"telescope": { "branch": "master", "commit": "d90956833d7c27e73c621a61f20b29fdb7122709" }, "telescope": { "branch": "master", "commit": "d90956833d7c27e73c621a61f20b29fdb7122709" },

View file

@ -40,7 +40,7 @@ let
vim.opt = { vim.opt = {
# Basic options # Basic options
joinspaces = false; # No double spaces with join (mapped to qj in my config) joinspaces = false; # No double spaces with join (mapped to qj in my config)
list = false; # I don't want to show things like tabs list = true; # Show some invisible characters
cmdheight = 0; # Hide command line when it's not getting used cmdheight = 0; # Hide command line when it's not getting used
spell = true; # Spell checker spell = true; # Spell checker
@ -976,10 +976,7 @@ let
opts.format_on_save.lsp_fallback = true; opts.format_on_save.lsp_fallback = true;
opts.formatters_by_ft = let prettier = [ [ "prettierd" "prettier" ] ]; in opts.formatters_by_ft = let prettier = [ [ "prettierd" "prettier" ] ]; in
{ {
"*" = [ "*" = [ "codespell" "trim_whitespace" ];
# "codespell" # this one causes issues sometimes
"trim_whitespace"
];
lua = [ "stylua" ]; lua = [ "stylua" ];
python = [ "ruff_format" ]; python = [ "ruff_format" ];
@ -1398,14 +1395,6 @@ let
}; };
}; };
# }}} # }}}
# {{{ typescript support
# Required for yarn PNP to work
rzip = {
package = "lbrayner/vim-rzip";
cond = blacklist "vscode";
event = "VeryLazy";
};
# }}}
# }}} # }}}
# {{{ external # {{{ external
# These plugins integrate neovim with external services # These plugins integrate neovim with external services

View file

@ -1,4 +1,14 @@
{ {
virtualisation.oci-containers.backend = "docker"; virtualisation.oci-containers.backend = "docker";
# TODO: cache some data?
environment.persistence = {
"/persist/state".directories = [
"/var/lib/containers/storage"
];
"/persist/local/cache".directories = [
"/var/lib/containers/cache"
];
};
} }

View file

@ -19,6 +19,8 @@
port = 8414; port = 8414;
hmacKeyFile = config.sops.templates."invidious_hmac_key.json".path; hmacKeyFile = config.sops.templates."invidious_hmac_key.json".path;
nginx.enable = true;
settings = { settings = {
captcha_enabled = false; captcha_enabled = false;
admins = [ "prescientmoon" ]; admins = [ "prescientmoon" ];