1
0
Fork 0
puter/common/helix.nix

22 lines
306 B
Nix
Raw Normal View History

2024-12-01 05:03:34 +01:00
{
2025-05-11 22:49:04 +02:00
inputs,
2024-12-01 05:03:34 +01:00
lib,
pkgs,
...
2025-05-11 22:49:04 +02:00
}:
let
package = inputs.hxwrap.packages.${pkgs.system}.default;
in
{
environment.systemPackages = [ package ];
2024-12-01 05:03:34 +01:00
2025-05-11 22:49:04 +02:00
environment.sessionVariables =
let
exe = builtins.baseNameOf (lib.getExe package);
in
{
EDITOR = exe;
VISUAL = exe;
};
2024-12-01 05:03:34 +01:00
}