minor fixes

This commit is contained in:
Vivian 2023-03-21 11:27:01 +01:00
parent 0f20506a26
commit 0f37d26a8e
3 changed files with 7 additions and 8 deletions

View file

@ -3,4 +3,7 @@ _: {
# Supress systemd services that don't work (correctly) on LXC
systemd.suppressedSystemUnits = [ "dev-mqueue.mount" "sys-kernel-debug.mount" "sys-fs-fuse-connections.mount" ];
# https://github.com/NixOS/nixpkgs/issues/157449#issuecomment-1459299764
boot.specialFileSystems."/run".options = [ "rshared" ];
}

View file

@ -53,7 +53,7 @@
lspkind.enable = true;
nvim-cmp = {
enable = true;
auto_enable_sources = true;
autoEnableSources = true;
sources = [
{ name = "nvim_lsp"; }
{ name = "cmp-latex-symbols"; }
@ -66,11 +66,7 @@
{ name = "path"; }
{ name = "buffer"; }
];
snippet.expand = ''
function(args)
require('luasnip').lsp_expand(args.body) -- For `luasnip` users.
end
'';
snippet.expand = "luasnip";
mappingPresets = [ "insert" "cmdline" ];
mapping = {
"<CR>" = "cmp.mapping.confirm({ select = true })";

View file

@ -1,5 +1,5 @@
_: {
networking.networkmanager.enable = true;
networking.firewall.checkReversePath = false;
# networking.firewall.enable = false;
}
networking.firewall.enable = false;
}