Added gopls

This commit is contained in:
2024-09-07 13:37:43 +02:00
parent eaa524ca77
commit 2fcbad93b9
2 changed files with 6 additions and 1 deletions

View File

@@ -49,6 +49,10 @@
LC_TIME = "it_IT.UTF-8"; LC_TIME = "it_IT.UTF-8";
}; };
environment.sessionVariables = rec {
GOPATH = "$HOME/.go";
};
# Enable sound with pipewire. # Enable sound with pipewire.
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
@@ -110,6 +114,7 @@
xdg-desktop-portal-kde xdg-desktop-portal-kde
# LSPs # LSPs
gopls # .go
nil # .nix nil # .nix
]; ];

View File

@@ -4,5 +4,5 @@
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.loader.systemd-boot.configurationLimit = 10; boot.loader.systemd-boot.configurationLimit = 10;
boot.initrd.luks.devices."luks-332a07bd-65fb-4d91-91ba-fe3f594063b1".device = "/dev/disk/by-uuid/332a07bd-65fb-4d91-91ba-fe3f594063b1"; boot.initrd.luks.devices."luks-332a07bd-65fb-4d91-91ba-fe3f594063b1".device = "/dev/disk/by-uuid/332a07bd-65fb-4d91-91ba-fe3f594063b1";
boot.kernelPackages = pkgs.linuxKernel.kernels.linux_zen; boot.kernelPackages = pkgs.linuxPackages_zen;
} }