neovim lspconfig

This commit is contained in:
Tristan 2023-12-23 15:43:26 +00:00
parent fb5c04a84a
commit 34aaaf63d2
29 changed files with 1705 additions and 1399 deletions

View file

@ -1,9 +1,12 @@
{ user }: { lib, pkgs, config, ... }:
with lib;
let
{user}: {
lib,
pkgs,
config,
...
}:
with lib; let
cfg = config.programs.terminal;
in
{
in {
options.programs = {
terminal = {
enable = mkEnableOption "editor";
@ -12,15 +15,17 @@ in
};
};
};
config = mkIf cfg.enable {
home-manager.users.${user}.imports = [{
programs.foot = mkIf ( cfg.package == pkgs.foot ) {
enable = true;
server.enable = true;
};
home.packages = [ cfg.package ];
}];
config = mkIf cfg.enable {
home-manager.users.${user}.imports = [
{
programs.foot = mkIf (cfg.package == pkgs.foot) {
enable = true;
server.enable = true;
};
home.packages = [cfg.package];
}
];
};
}