Cleaner kakoune configuration

This commit is contained in:
Filippo Berto 2023-01-06 10:02:12 +01:00
parent a39ad62ae5
commit 3e95ab122d
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
9 changed files with 61 additions and 23 deletions

View file

@ -1,8 +1,12 @@
{ pkgs, ... }: {
{ pkgs, lib, config, ... }: {
programs.go = {
enable = true;
goPath = ".go";
};
home.packages = with pkgs; [ gopls ];
home.packages = with pkgs; lib.optionals config.programs.helix.enable [
gopls
] ++ (lib.optionals config.programs.kakoune.enable [
gopls
]);
}