Add small quality of life improvements to the nixos config
This commit is contained in:
parent
7506a1df0c
commit
d1d206c788
2 changed files with 12 additions and 2 deletions
|
@ -33,6 +33,14 @@ if executable('typescript-language-server')
|
||||||
\ })
|
\ })
|
||||||
endif
|
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')
|
if executable('go-langserver')
|
||||||
au User lsp_setup call lsp#register_server({
|
au User lsp_setup call lsp#register_server({
|
||||||
\ 'name': 'go-langserver',
|
\ 'name': 'go-langserver',
|
||||||
|
|
|
@ -20,7 +20,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
wget vim git zsh gnupg curl tmux
|
wget vim git zsh gnupg curl tmux microcodeIntel
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "skinnyv";
|
networking.hostName = "skinnyv";
|
||||||
|
@ -29,7 +29,7 @@ in
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" "networkmanager" ];
|
extraGroups = [ "wheel" "networkmanager" ];
|
||||||
packages = with pkgs; [
|
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;
|
uid = 1000;
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
|
@ -37,6 +37,8 @@ in
|
||||||
|
|
||||||
services.gnome3.chrome-gnome-shell.enable = true;
|
services.gnome3.chrome-gnome-shell.enable = true;
|
||||||
|
|
||||||
|
services.fwupd.enable = true;
|
||||||
|
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
user = "cyryl";
|
user = "cyryl";
|
||||||
|
|
Loading…
Reference in a new issue