helix: move to modules/home
Signed-off-by: Bloxx12 <charlie@charlieroot.dev> Change-Id: I6a6a6964949ee86c73c9dee2fc4a89c01a7a0579
This commit is contained in:
parent
917074fb32
commit
71505a4629
7 changed files with 494 additions and 572 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue