helix: move to modules/home

Signed-off-by: Bloxx12 <charlie@charlieroot.dev>
Change-Id: I6a6a6964949ee86c73c9dee2fc4a89c01a7a0579
This commit is contained in:
Bloxx12 2025-07-21 00:03:20 +02:00
commit 71505a4629
Signed by: faukah
SSH key fingerprint: SHA256:jpYIt4Vkz1NBTQcks/N9OPTfTFxE6KF2W/rV7hrfrIw
7 changed files with 494 additions and 572 deletions

View file

@ -4,14 +4,11 @@
# which should have a small attack surface.
{
lib,
self,
pkgs,
sources,
...
}:
let
inherit (lib.meta) hiPrioSet;
helix = pkgs.callPackage (self + "/packages/helix") { inherit sources; };
in
{
environment.systemPackages =
@ -46,9 +43,8 @@ in
;
}
++ builtins.attrValues (hiPrioSet {
inherit helix;
inherit (pkgs) uutils-coreutils-noprefix;
});
})
++ [ (lib.hiPrio pkgs.uutils-coreutils-noprefix) ];
# helix as the only editor, a reasonable choice.
environment.variables.EDITOR = "hx";
}