minor fixes
This commit is contained in:
parent
0f20506a26
commit
0f37d26a8e
|
@ -3,4 +3,7 @@ _: {
|
||||||
|
|
||||||
# Supress systemd services that don't work (correctly) on LXC
|
# Supress systemd services that don't work (correctly) on LXC
|
||||||
systemd.suppressedSystemUnits = [ "dev-mqueue.mount" "sys-kernel-debug.mount" "sys-fs-fuse-connections.mount" ];
|
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" ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
lspkind.enable = true;
|
lspkind.enable = true;
|
||||||
nvim-cmp = {
|
nvim-cmp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
auto_enable_sources = true;
|
autoEnableSources = true;
|
||||||
sources = [
|
sources = [
|
||||||
{ name = "nvim_lsp"; }
|
{ name = "nvim_lsp"; }
|
||||||
{ name = "cmp-latex-symbols"; }
|
{ name = "cmp-latex-symbols"; }
|
||||||
|
@ -66,11 +66,7 @@
|
||||||
{ name = "path"; }
|
{ name = "path"; }
|
||||||
{ name = "buffer"; }
|
{ name = "buffer"; }
|
||||||
];
|
];
|
||||||
snippet.expand = ''
|
snippet.expand = "luasnip";
|
||||||
function(args)
|
|
||||||
require('luasnip').lsp_expand(args.body) -- For `luasnip` users.
|
|
||||||
end
|
|
||||||
'';
|
|
||||||
mappingPresets = [ "insert" "cmdline" ];
|
mappingPresets = [ "insert" "cmdline" ];
|
||||||
mapping = {
|
mapping = {
|
||||||
"<CR>" = "cmp.mapping.confirm({ select = true })";
|
"<CR>" = "cmp.mapping.confirm({ select = true })";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
_: {
|
_: {
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
networking.firewall.checkReversePath = false;
|
networking.firewall.checkReversePath = false;
|
||||||
# networking.firewall.enable = false;
|
networking.firewall.enable = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue