whole flake: remove wrapper-manager

a
This commit is contained in:
Charlie Root 2024-11-01 14:13:48 +01:00
commit 931b8c9c7e
Signed by: faukah
SSH key fingerprint: SHA256:jpYIt4Vkz1NBTQcks/N9OPTfTFxE6KF2W/rV7hrfrIw
8 changed files with 28 additions and 138 deletions

View file

@ -1,20 +1,42 @@
{
config,
inputs',
lib,
self',
pkgs,
...
}: let
cfg = config.modules.system.programs.editors.helix;
inherit (config.modules.other.system) username;
inherit (lib) mkIf getExe;
inherit (inputs'.helix.packages) helix;
wrapped-helix = pkgs.symlinkJoin {
name = "helix-wrapped";
paths = with pkgs; [
helix
# C/C++
clang-tools
# Markdown
marksman
# Nix
nil
lldb_19
# Bash
bash-language-server
# Shell
shellcheck
];
};
in {
imports = [./languages.nix];
config = mkIf cfg.enable {
home-manager.users.${username} = {
programs.helix = {
enable = true;
package = self'.packages.helix;
package = wrapped-helix;
settings = {
theme = "catppuccin_mocha";