diff --git a/.vimrc.plugins-settings b/.vimrc.plugins-settings index 81718ad0..860720f9 100644 --- a/.vimrc.plugins-settings +++ b/.vimrc.plugins-settings @@ -33,6 +33,14 @@ if executable('typescript-language-server') \ }) endif +if executable('gopls') + au User lsp_setup call lsp#register_server({ + \ 'name': 'gopls', + \ 'cmd': {server_info->['gopls', '-mode', 'stdio']}, + \ 'whitelist': ['go'], + \ }) +endif + if executable('go-langserver') au User lsp_setup call lsp#register_server({ \ 'name': 'go-langserver', diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 1b0cbb9a..0bc33843 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -20,7 +20,7 @@ in }; environment.systemPackages = with pkgs; [ - wget vim git zsh gnupg curl tmux + wget vim git zsh gnupg curl tmux microcodeIntel ]; networking.hostName = "skinnyv"; @@ -29,7 +29,7 @@ in isNormalUser = true; extraGroups = [ "wheel" "networkmanager" ]; packages = with pkgs; [ - firefox chromium terminator zsh keepass fontconfig go nodejs rustup gcc gdb binutils xclip pkgconfig veracrypt gitAndTools.diff-so-fancy gnome3.gnome-shell-extensions chrome-gnome-shell gnomeExtensions.clipboard-indicator gnomeExtensions.caffeine gnomeExtensions.no-title-bar unstable.gnomeExtensions.gsconnect + firefox chromium terminator zsh keepass fontconfig go nodejs unstable.rustup gcc gdb binutils xclip pkgconfig veracrypt gitAndTools.diff-so-fancy gnome3.gnome-shell-extensions chrome-gnome-shell gnomeExtensions.clipboard-indicator gnomeExtensions.caffeine gnomeExtensions.no-title-bar unstable.gnomeExtensions.gsconnect unstable.appimage-run openjdk10 ]; uid = 1000; shell = pkgs.zsh; @@ -37,6 +37,8 @@ in services.gnome3.chrome-gnome-shell.enable = true; + services.fwupd.enable = true; + services.syncthing = { enable = true; user = "cyryl";