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, config,
inputs',
lib, lib,
pkgs, pkgs,
... ...
}: let }: let
cfg = config.modules.system.programs.editors.helix; cfg = config.modules.system.programs.editors.helix;
inherit (config.modules.other.system) username; inherit (config.modules.other.system) username;
inherit (lib) mkIf getExe makeBinPath; inherit (lib) mkIf getExe ;
in { in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
home-manager.users.${username} = { home-manager.users.${username} = {