ocamllsp
This commit is contained in:
parent
1de7b6e5b9
commit
5b15769ad5
|
@ -27,6 +27,36 @@ in
|
|||
};
|
||||
|
||||
# [NETWORK]
|
||||
# networking.firewall.allowedTCPPorts = [ 80 ];
|
||||
# networking.firewall.allowedUDPPorts = [ ];
|
||||
networking.firewall.allowedTCPPorts = [ 80 ];
|
||||
networking.firewall.allowedUDPPorts = [ ];
|
||||
|
||||
# VM test user
|
||||
users.users.test.isSystemUser = true ;
|
||||
users.users.test.initialPassword = "test";
|
||||
users.users.test.group = "test";
|
||||
users.groups.test = {};
|
||||
|
||||
console = {
|
||||
useXkbConfig = true;
|
||||
};
|
||||
|
||||
services.xserver = {
|
||||
xkb = {
|
||||
layout = "fox,sus";
|
||||
options = "ctrl:nocaps";
|
||||
extraLayouts.sus = {
|
||||
description = "Swedish US";
|
||||
languages = [ "se" ];
|
||||
symbolsFile = ../shared/sus.xkb;
|
||||
};
|
||||
extraLayouts.fox = {
|
||||
description = "Layout suitable to be used by a fox";
|
||||
languages = [ "se" ];
|
||||
symbolsFile = ../shared/fox.xkb;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
|
||||
}
|
||||
|
|
13
flake.nix
13
flake.nix
|
@ -62,6 +62,19 @@
|
|||
];
|
||||
};
|
||||
|
||||
nixosConfigurations.cafe = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
nix-config-module
|
||||
./cafe/host.nix
|
||||
];
|
||||
|
||||
virtualisation.forwardPorts = [
|
||||
{ from = "host"; host.port = 80; guest.port = 8080; }
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
keyboardLayouts.fox = ./shared/fox.xkb;
|
||||
|
||||
fonts.sax2nf = import ./shared/sax2nf.nix { pkgs = nixpkgs.legacyPackages.x86_64-linux; };
|
||||
|
|
|
@ -185,6 +185,7 @@ in
|
|||
lspcfg.clangd.setup({
|
||||
cmd = { '${pkgs.clang-tools}/bin/clangd' },
|
||||
})
|
||||
lspcfg.ocamllsp.setup({})
|
||||
require('orgmode').setup_ts_grammar()
|
||||
require('nvim-treesitter.configs').setup({
|
||||
highlight = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user