helix/languages.nix: cleanup

This commit is contained in:
Charlie Root 2024-09-02 20:46:01 +02:00
commit 3b5390bb6e

View file

@ -1,13 +1,12 @@
{
config,
inputs',
lib,
pkgs,
...
}: let
cfg = config.modules.system.programs.editors.helix;
inherit (config.modules.other.system) username;
inherit (lib) mkIf getExe makeBinPath;
inherit (lib) mkIf getExe ;
in {
config = mkIf cfg.enable {
home-manager.users.${username} = {